]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add bug 16918 to NEWS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c0a4ed77
W
12014-06-24 Wilco <wdijkstr@arm.com>
2
3 * NEWS: Add 16918 to fixed bug list.
4
b8c00573
W
52014-06-24 Wilco <wdijkstr@arm.com>
6
7 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8
b5570d92
W
92014-06-24 Wilco <wdijkstr@arm.com>
10
11 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18 Use _FPU_MASK_RM.
19
947bdca2
W
202014-06-24 Wilco <wdijkstr@arm.com>
21
22 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23
00f669ed
W
242014-06-24 Wilco <wdijkstr@arm.com>
25
26 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28 * sysdeps/arm/fesetround.c (fesetround): Remove space.
29 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30
db59bad3
W
312014-06-24 Wilco <wdijkstr@arm.com>
32
33 [BZ #16918]
34 * sysdeps/arm/feupdateenv.c (feupdateenv):
35 Rewrite to reduce FPSCR accesses and fix return value.
36
001f7b77
W
372014-06-24 Wilco <wdijkstr@arm.com>
38
39 * sysdeps/arm/fclrexcpt.c (feclearexcept):
40 Optimize to avoid unnecessary FPSCR writes.
41 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
44 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45
4841e6a6
W
462014-06-24 Wilco <wdijkstr@arm.com>
47
48 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
50 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
51 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
52 Call libc_fetestexcept_vfp.
53 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
54 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
55 __SOFTFP__ ifdef so that they can be built for softfp.
56
0813022c
SP
572014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58
08e5862f
SP
59 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
60 argument type signed char.
61
0813022c
SP
62 * Makerules (check-abi): Dump diff of symlist if the test
63 fails.
64
3fc7236a
RM
652014-06-23 Roland McGrath <roland@hack.frob.com>
66
aba8ef95
RM
67 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
68 using abort.
69
3fc7236a
RM
70 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
71 Remove unused variable ST.
72
4da6db51
JM
732014-06-23 Joseph Myers <joseph@codesourcery.com>
74
4648909d
JM
75 [BZ #16354]
76 [BZ #17061]
77 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
78 small arguments before calling __expm1.
79 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
80 small arguments before calling __expm1f.
81 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
82 small arguments before calling __expm1l.
83 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
84 Likewise.
85 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
86 * math/auto-libm-test-in: Add more cosh tests. Do not allow
87 spurious underflow for some cosh tests.
88 * math/auto-libm-test-out: Regenerated.
89 * sysdeps/i386/fpu/libm-test-ulps: Update.
90
46a3d3c7
JM
91 [BZ #17050]
92 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
93 (__ieee754_y1): Set errno if return value overflows.
94 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
95 (__ieee754_y1f): Set errno if return value overflows.
96 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
97 (__ieee754_y1l): Set errno if return value overflows.
98 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
99 (__ieee754_y1l): Set errno if return value overflows.
100 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
101 * math/auto-libm-test-out: Regenerated.
102
863893ec
JM
103 * math/gen-auto-libm-tests.c: Document use of
104 ignore-zero-inf-sign.
105 (input_flag_type): Add value flag_ignore_zero_inf_sign.
106 (input_flags): Add ignore-zero-inf-sign.
107 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
108 * math/gen-libm-test.pl (generate_testfile): Handle
109 ignore-zero-inf-sign.
110 * math/auto-libm-test-in: Mark some cpow tests with
111 ignore-zero-inf-sign and some with xfail-rounding.
112 * math/auto-libm-test-out: Regenerated.
113 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
114 * sysdeps/i386/fpu/libm-test-ulps: Update.
115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
116
4da6db51
JM
117 [BZ #16315]
118 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
119 overflowing or underflowing operations take place with sign of
120 result.
121 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
122 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
123 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
124 (__ieee754_pow): Recompute overflowing and underflowing results in
125 original rounding mode.
126 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
127 (__powl_helper): Allow negative argument X and scale negated value
128 as needed. Avoid passing value outside [-1, 1] to f2xm1.
129 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
130 overflowing or underflowing operations take place with sign of
131 result.
132 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
133 Include <math.h>.
134 * math/auto-libm-test-in: Add more tests of pow.
135 * math/auto-libm-test-out: Regenerated.
136 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
137 (pow_tonearest_test_data): Remove.
138 (pow_test_tonearest): Likewise.
139 (pow_towardzero_test_data): Likewise.
140 (pow_test_towardzero): Likewise.
141 (pow_downward_test_data): Likewise.
142 (pow_test_downward): Likewise.
143 (pow_upward_test_data): Likewise.
144 (pow_test_upward): Likewise.
145 (main): Don't call removed functions.
146 * sysdeps/i386/fpu/libm-test-ulps: Update.
147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
148
5686b236
RM
1492014-06-23 Roland McGrath <roland@hack.frob.com>
150
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
152 Moved ...
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
155 Moved ...
156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
158 Moved ...
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
161 Moved ...
162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
164 File removed.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
166 File removed.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
168 File removed.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
170 File removed.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
172 File removed.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
174 File removed.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
176 File removed.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
178 File removed.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
180 File removed.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
182 File removed.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
184 File removed.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
186 File removed.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
188 Moved ...
189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
191 Moved ...
192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
193 ... here.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
195 Moved ...
196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
198 Moved ...
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
201 Moved ...
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
204 Moved ...
205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
207 Moved ...
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
210 Moved ...
211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
213 Moved ...
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
217 ... here.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
219 Moved ...
220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
222 Moved ...
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
224 ... here.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
226 Moved ...
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
228 ... here.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
230 Moved ...
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
232 ... here.
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
234 Moved ...
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
237 Moved ...
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
242 Moved ...
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
244 ... here.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
246 Moved ...
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
248 ... here.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
250 Moved ...
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
253 Moved ...
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
256 Moved ...
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
259 Moved ...
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
262 Moved ...
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
264 ... here.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
266 Moved ...
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
269 Moved ...
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
272 Moved ...
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
275 Moved ...
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
280 Moved ...
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
283 Moved ...
284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
286 Moved ...
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
288 ... here.
289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
290 Moved ...
291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
292 ... here.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
294 Moved ...
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
296 ... here.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
298 Moved ...
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
301 Moved ...
302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
304 Moved ...
305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
307 Moved ...
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
309 ... here.
310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
311 Moved ...
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
313 ... here.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
315 Moved ...
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
317 ... here.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
319 Moved ...
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
322 Moved ...
323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
324
e6d90d67
WD
3252014-06-23 Will Newton <will.newton@linaro.org>
326 Wilco <wdijkstr@arm.com>
327
328 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
329 implementation. Include get-rounding-mode.h.
330 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
331 [!libc_feholdsetround_noex_ctx]: Define
332 libc_feholdsetround_noex_ctx.
333 [!libc_feholdsetround_noexf_ctx]: Define
334 libc_feholdsetround_noexf_ctx.
335 [!libc_feholdsetround_noexl_ctx]: Define
336 libc_feholdsetround_noexl_ctx.
337 (libc_feholdsetround_ctx): New function.
338 (libc_feresetround_ctx): New function.
339 (libc_feholdsetround_noex_ctx): New function.
340 (libc_feresetround_noex_ctx): New function.
341
d42df555
RM
3422014-06-23 Roland McGrath <roland@hack.frob.com>
343
88a46474
RM
344 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
345 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
346 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
347 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
348 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
349 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
350
15bed472
RM
351 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
352 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
353 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
354 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
355 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
356 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
357 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
358 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
359 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
360 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
361 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
362 Moved ...
363 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
364 ... here.
365 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
366 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
367 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
368 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
369 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
370 Moved ...
371 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
372 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
373 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
374 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
375 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
376 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
377 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
378 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
379 Moved ...
380 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
381 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
382 Moved ...
383 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
385 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
387 Moved ...
388 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
389 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
390 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
391 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
392 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
393 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
394 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
395 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
396 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
397 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
398 Moved ...
399 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
400 ... here.
401 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
402 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
403 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
404 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
405 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
406 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
407 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
408 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
409 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
410 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
411 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
412 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
413 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
414 Moved ...
415 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
416 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
418 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
419 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
420 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
421 Moved ...
422 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
423 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
424 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
425 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
426 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
427
d42df555
RM
428 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
429 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
430 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
432 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
434 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
435 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
436 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
438 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
439 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
440 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
442 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
443 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
444 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
445 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
446 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
447 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
448 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
449 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
450 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
451 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
452 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
454 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
456
76e5216e
JM
4572014-06-23 Joseph Myers <joseph@codesourcery.com>
458
459 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
460 (FALLOC_FL_COLLAPSE_RANGE): New macro.
461 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
462 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
463 (IPV6_PMTUDISC_INTERFACE): Likewise.
464 (IPV6_PMTUDISC_OMIT): Likewise.
465
7a81cbcc
AS
4662014-06-23 Andreas Schwab <schwab@suse.de>
467
468 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
469 Remove unused errout label.
470
db224009
AZ
4712014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
472
473 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
474 macro: hardware supports Vector Crypto instructions.
475
f393b4aa
WN
4762014-06-23 Will Newton <will.newton@linaro.org>
477
cc7d0447
WN
478 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
479 rather than __builtin_expect.
480
d6d06225
WN
481 * elf/dl-lookup.c (undefined_msg): Remove variable.
482 (_dl_lookup_symbol_x): Replace undefined_msg with string
483 literal.
484
f393b4aa
WN
485 * elf/dl-lookup.c (do_lookup_unique): New function.
486 (do_lookup_x): Move STB_GNU_UNIQUE handling code
487 to a separate function.
488
ac60763e
AS
4892014-06-23 Andreas Schwab <schwab@suse.de>
490
491 [BZ #17079]
492 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
493 before reading the next line.
494
c5c13355
WN
4952014-06-23 Will Newton <will.newton@linaro.org>
496
497 * test-skeleton.c (signal_handler): Use printf and %m
498 rather than perror. Use printf rather than fprintf to
499 stderr. Use puts rather than fputs to stderr.
500 (main): Likewise.
501
bd3675f9
LC
5022014-06-22 Ludovic Courtès <ludo@gnu.org>
503
504 * nscd/nscd.c (thread_info_t): Remove typedef.
505 (thread_info): Remove variable.
506
d03efb2f
AM
5072014-06-21 Allan McRae <allan@archlinux.org>
508
509 * NEWS: Mention CVE-2014-4043.
510
bc4a86fa
RM
5112014-06-20 Roland McGrath <roland@hack.frob.com>
512
dc9a54f8
RM
513 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
514 * nptl/smp.h: ... here.
515
bd7022c4
RM
516 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
517
26ffd5e6
RM
518 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
519 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
520 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
521 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
522
93a6d082
RM
523 * nptl/allocatestack.c: Include <stack-aliasing.h>.
524 * nptl/stack-aliasing.h: New file.
525 * sysdeps/i386/i686/stack-aliasing.h: New file.
526 * sysdeps/i386/i686/nptl/Makefile: File removed.
527 * sysdeps/x86_64/stack-aliasing.h: New file.
528 * sysdeps/x86_64/nptl/Makefile
529 (CFLAGS-pthread_create.c): Variable removed.
530
bc4a86fa
RM
531 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
532 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
533 old file.
534 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
535 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
536 old file.
537
2272ffc1
JM
5382014-06-21 Joseph Myers <joseph@codesourcery.com>
539
540 * sysdeps/unix/sysv/linux/arm/kernel-features.h
541 (__ASSUME_SIGFRAME_V2): Remove macro.
542 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
543 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
544 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
545 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
546 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
547 Declare as function. Remove conditional macro definitions.
548 (__default_rt_sa_restorer): Likewise.
549 (__default_sa_restorer_v1): Remove declaration.
550 (__default_sa_restorer_v2): Likewise.
551 (__default_rt_sa_restorer_v1): Likewise.
552 (__default_rt_sa_restorer_v2): Likewise.
553 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
554 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
555 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
556
4b88139b
RM
5572014-06-20 Roland McGrath <roland@hack.frob.com>
558
559 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
560 (libpthread-routines): Add sysdep.
561 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
562 * sysdeps/unix/sysv/linux/sparc/Versions
563 (libpthread: GLIBC_2.3.3): New version set.
564 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
565 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
566 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
567 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
568 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
569 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
570 Moved ...
571 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
572 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
573 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
574 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
575 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
576 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
577 * sysdeps/sparc/nptl/sem_init.c: ... here.
578 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
579 * sysdeps/sparc/nptl/sem_post.c: ... here.
580 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
581 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
583 * sysdeps/sparc/nptl/sem_wait.c: ... here.
584 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
585 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
586 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
587 (libpthread-routines): Add cpu_relax.
588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
589 File removed.
590 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
591 (librt: GLIBC_2.3.3): New version set.
592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
593 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
594 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
595 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
598 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
600 Moved ...
601 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
603 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
605 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
607 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
609 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
611 Moved ...
612 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
613 Update #include.
614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
615 Moved ...
616 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
617 Update #include.
618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
619 Moved ...
620 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
621 Update #include.
622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
623 Moved ...
624 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
625 Update #include.
626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
627 Moved ...
628 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
629 Update #include.
630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
631 Moved ...
632 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
633 Update #include.
634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
635 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
641 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
643 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
645 Moved ...
646 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
648 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
650 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
651
d7109027
JM
6522014-06-20 Joseph Myers <joseph@codesourcery.com>
653
9bc6103d
JM
654 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
655 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
656 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
657 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
658 * nscd/nscd.c: Likewise.
659 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
660 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
661 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
662 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
663
d7109027
JM
664 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
665 <kernel-features.h>.
666 (init_mq_netlink): Remove conditional have_sock_cloexec
667 definitions. Remove code conditional on have_sock_cloexec < 0.
668 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
669 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
670 * sysdeps/unix/sysv/linux/opensock.c: Do not include
671 <kernel-features.h>.
672 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
673 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
674
d92d8f8a
L
6752014-06-20 H.J. Lu <hongjiu.lu@intel.com>
676
677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
678 Add tests for memset_chk and memset.
679
680 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
681 with AVX2_Usable.
682
4e6d2347
MR
6832014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
684
257ce712
MR
685 [BZ #16046]
686 * elf/tst-dl-iter-static.c: New file.
687 * elf/Makefile (tests-static): Add tst-dl-iter-static.
688
4e6d2347
MR
689 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
690 error.
691
a2a76afe
JM
6922014-06-20 Joseph Myers <joseph@codesourcery.com>
693
7fd00f99
JM
694 * sysdeps/unix/sysv/linux/kernel-features.h
695 (__ASSUME_F_GETOWN_EX): Remove macro.
696 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
697 <kernel-features.h>.
698 (miss_F_GETOWN_EX): Remove variable or macro.
699 (do_fcntl): Do not check miss_F_GETOWN_EX.
700 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
701
4a103975
JM
702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
703 Remove macro.
704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
705 [!__ASSUME_AT_RANDOM]: Remove conditional code.
706 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
707
a2a76afe
JM
708 * sysdeps/unix/sysv/linux/kernel-features.h
709 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
710 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
711 [ADJ_OFFSET_SS_READ]: Make code unconditional.
712 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
713
90e5dd48
MR
7142014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
715
716 [BZ #17075]
717 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
718 Fix calculation of the symbol's value.
719 * sysdeps/arm/tst-armtlsdescloc.c: New file.
720 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
721 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
722 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
723 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
724 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
725 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
726 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
727 (modules-names): Add `tst-armtlsdescmod',
728 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
729 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
730 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
731 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
732 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
733 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
734 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
735 ($(objpfx)tst-armtlsdescloc): New dependency.
736 ($(objpfx)tst-armtlsdescextnow): Likewise.
737 ($(objpfx)tst-armtlsdescextlazy): Likewise.
738 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
739 TLS scheme support.
740 * sysdeps/arm/configure: Regenerate.
741
809fdf0d
JM
7422014-06-20 Joseph Myers <joseph@codesourcery.com>
743
744 * include/fcntl.h (__atfct_seterrno): Remove prototype.
745 (__atfct_seterrno_2): Likewise.
746 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
747 <kernel-features.h>.
748 (__ASSUME_ATFCTS): Do not undefine and redefine.
749 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
750 (__have_atfcts): Remove conditional definition.
751 (__fxstatat([__NR_fstatat64]: Make code unconditional.
752 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
753 unreachable if [__ASSUME_ATFCTS].
754 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
755 not undefine and redefine.
756 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
757 <kernel-features.h>.
758 (faccessat) [__NR_faccessat]: Make code unconditional.
759 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
760 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
761 <kernel-features.h>.
762 (fchmodat) [__NR_fchmodat]: Make code unconditional.
763 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
764 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
765 <kernel-features.h>.
766 (fchownat) [__NR_fchownat]: Make code unconditional.
767 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
768 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
769 <kernel-features.h>.
770 (futimesat) [__NR_futimesat]: Make code unconditional.
771 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
772 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
773 <kernel-features.h>.
774 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
775 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
776 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
777 <kernel-features.h>.
778 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
779 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
780 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
781 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
782 <kernel-features.h>.
783 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
784 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
785 * sysdeps/unix/sysv/linux/linkat.c: Do not include
786 <kernel-features.h>.
787 (linkat) [__NR_linkat]: Make code unconditional.
788 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
790 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
791 <kernel-features.h>.
792 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
793 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
794 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
795 <kernel-features.h>.
796 (mkdirat) [__NR_mkdirat]: Make code unconditional.
797 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
798 * sysdeps/unix/sysv/linux/openat.c: Do not include
799 <kernel-features.h>.
800 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
801 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
802 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
803 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
804 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
805 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
806 <kernel-features.h>.
807 (readlinkat) [__NR_readlinkat]: Make code unconditional.
808 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
809 result of INLINE_SYSCALL directly, not via int variable.
810 * sysdeps/unix/sysv/linux/renameat.c: Do not include
811 <kernel-features.h>.
812 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
813 (renameat) [__NR_renameat]: Make code unconditional.
814 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
815 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
816 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
817 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
818 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
819 (__ASSUME_ATFCTS): Do not undefine and redefine.
820 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
821 <kernel-features.h>.
822 (symlinkat) [__NR_symlinkat]: Make code unconditional.
823 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
824 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
825 <kernel-features.h>.
826 (unlinkat) [__NR_unlinkat]: Make code unconditional.
827 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
828 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
829 (__ASSUME_ATFCTS): Do not undefine and redefine.
830 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
831 <kernel-features.h>.
832 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
833 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
834 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
835 <kernel-features.h>.
836 (__xmknodat) [__NR_mknodat]: Make code unconditional.
837 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
838
224c6c51
L
8392014-06-20 H.J. Lu <hongjiu.lu@intel.com>
840
841 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
842
aa6ec754
AS
8432014-06-20 Andreas Schwab <schwab@linux-m68k.org>
844
845 [BZ #17069]
846 * posix/regcomp.c (parse_reg_exp): Deallocate partially
847 constructed tree before returning error.
848 * posix/bug-regexp36.c: Expand test case.
849
d8c2869d
SL
8502014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
851
3ef6b850
SL
852 [BZ #6803]
853 * math/libm-test.inc (scalbln_test_date):
854 Add errno expectations.
855 * math/w_scalblnf.c: New File.
856 Add wrapper which checks for setting errno to ERANGE.
857 Add weak_alias for corresponding scalbln function.
858 * math/w_scalbln.c: Likewise.
859 * math/w_scalblnl.c: Likewise.
860 * math/Makefile (libm-calls): Add w_scalbln.
861 * sysdeps/ieee754/flt-32/s_scalblnf.c:
862 Remove weak_alias for corresponding scalbln function.
863 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
865 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
866 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
867 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
868 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
869 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
870 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
871 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
872 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
873 Remove long_double_symbol for scalblnl function in libm, libc.
874 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
875 Add wrapper which checks for setting errno to ERANGE.
876 Add long_double_symbol for scalblnl function in libm, libc.
877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
878 Remove long_double_symbol for scalblnl in libm.
879 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
880 Add wrapper which checks for setting errno to ERANGE.
881 Add long_double_symbol for scalblnl function in libm.
882 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
883 Do not use wrapper because of own implementation.
884
c8daec5c
L
8852014-06-19 H.J. Lu <hongjiu.lu@intel.com>
886
887 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
888 3 bytes for __pad1 for x32.
889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
890
5c74e47c
LM
8912014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
892 H.J. Lu <hongjiu.lu@intel.com>
893
894 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
895 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
896 * sysdeps/x86_64/multiarch/memset.S: Likewise.
897 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
898 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
899
4d43ef1e
AS
9002014-06-19 Andreas Schwab <schwab@linux-m68k.org>
901
902 [BZ #17069]
903 * posix/regcomp.c (parse_expression): Deallocate partially
904 constructed tree before returning error.
905 * posix/Makefile.c (tests): Add bug-regex36.
906 (generated): Add bug-regex36.mtrace.
907 (tests-special): Add $(objpfx)bug-regex36-mem.out
908 (bug-regex36-ENV): New variable.
909 ($(objpfx)bug-regex36-mem.out): New rule.
910 * posix/bug-regex36.c: New file.
911
51a7380b
WN
9122014-06-19 Will Newton <will.newton@linaro.org>
913
914 * malloc/malloc.c (systrim): If extra is zero then return
915 early.
916
91b84fe5
SP
9172014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
918
919 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
920
f940b965
RE
9212014-06-19 Richard Earnshaw <rearnsha@arm.com>
922
923 * sysdeps/aarch64/strchr.S: New file.
924
4ba7a00f
JM
9252014-06-18 Joseph Myers <joseph@codesourcery.com>
926
927 [BZ #17022]
928 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
929 from arguments -2 or below.
930 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
931 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
932
b3a9f56b
AS
9332014-06-18 Andreas Schwab <schwab@suse.de>
934
935 [BZ #17062]
936 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
937 of a bracket expr not to run off the end of the string.
938 * posix/Makefile (tests): Add tst-fnmatch3.
939 * posix/tst-fnmatch3.c: New file.
940
85d89278
JM
9412014-06-18 Joseph Myers <joseph@codesourcery.com>
942
943 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
944 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
945 [$(cross-compiling) = no]: Likewise.
946 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
947 [$(cross-compiling) = no]: Likewise.
948
754c5a08
RS
9492014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
950
951 [BZ #17031]
952 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
953 double, adjusted for any remainder from the high double.
954 * math/libm-test.inc (nearbyint): Add tests.
955 (rint): Likewise.
956
556f529d
AZ
9572014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
958
959 * nptl/sysdeps/powerpc/Makefile: Moved ...
960 * sysdeps/powerpc/nptl/Makefile: ... here.
961 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
962 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
963 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
964 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
965 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
966 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
967 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
968 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
969 * nptl/sysdeps/powerpc/tls.h: Moved ...
970 * sysdeps/powerpc/nptl/tls.h: ... here.
971
91c03c53
JM
9722014-06-16 Joseph Myers <joseph@codesourcery.com>
973
974 [BZ #16681]
975 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
976 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
977 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
978 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
979 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
980 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
981 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
982 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
983 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
984
a76e63c5
AS
9852014-06-17 Andreas Schwab <schwab@linux-m68k.org>
986
987 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
988
f2f6d82f
AS
9892014-06-16 Andreas Schwab <schwab@linux-m68k.org>
990
ea8a15f6
AS
991 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
992 defined operator.
993
f2f6d82f
AS
994 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
995 $TIMEOUTFACTOR.
996
a7291117
FW
9972014-06-16 Florian Weimer <fweimer@redhat.com>
998
999 [BZ #17058]
1000 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1001 non-executed part of the test.
1002
3d7c00e3
AS
10032014-06-16 Andreas Schwab <schwab@suse.de>
1004
1005 * string/bits/string2.h (strdup, strndup): Update feature guard.
1006
6957fb31
DM
10072014-06-14 David S. Miller <davem@davemloft.net>
1008
1009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1010
11b9e55b
AS
10112014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1012
1d2a0492
AS
1013 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1014 that was previously under [RESET_PID].
1015 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1016
11b9e55b
AS
1017 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1018 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1019 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1020 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1021 (__libc_vfork): New strong alias.
1022 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1023
0f6901d0
AK
10242014-06-14 Andi Kleen <ak@linux.intel.com>
1025
1026 * sysdeps/generic/elide.h: New file.
1027
38bbbb9f
SL
10282014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1029
1030 * Makefile (installed-headers): Adjust path of pthread.h header.
1031
45193bb8
RM
10322014-06-13 Roland McGrath <roland@hack.frob.com>
1033
9a25fd1e
RM
1034 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1035 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1036 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1037 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1038
4004f7e4
RM
1039 * nptl/sysdeps/s390/Makefile: Moved ...
1040 * sysdeps/s390/nptl/Makefile: ... here.
1041 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1042 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1043 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1044 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1045 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1046 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1047 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1048 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1049 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1050 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1051 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1052 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1053 * nptl/sysdeps/s390/tls.h: Moved ...
1054 * sysdeps/s390/nptl/tls.h: ... here.
1055
45193bb8
RM
1056 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1057 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1058
f6fdf533
DM
10592014-06-13 David S. Miller <davem@davemloft.net>
1060
1061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1064 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1068 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1069 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1070 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1072 Remove RESET_PID cpp guards.
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1074 Remove RESET_PID cpp guards.
1075 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1076
f5d71e14
AS
10772014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1078
1079 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1080 __sp to uintptr_t.
1081
b7aa8caa
AK
10822014-06-13 Andi Kleen <ak@linux.intel.com>
1083
4b266200
AZ
1084 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1085 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1086 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1087 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1088 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1089 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1090 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1091 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1092 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1093 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1094 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1095 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1096 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1097 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1098 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1099 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1100 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1101 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1102 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1103 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
1104
1105 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
1106 (pthread_rwlock_rdlock): Add elision.
1107 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1108 (pthread_rwlock_wrlock): Add elision.
1109 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1110 (pthread_rwlock_trywrlock): Add elision.
1111 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1112 (pthread_rwlock_tryrdlock): Add elision.
1113 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1114 (pthread_rwlock_tryrdlock): Add elision unlock.
1115 * nptl/sysdeps/pthread/pthread.h:
1116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1117 (PTHREAD_RWLOCK_INITIALIZER,
1118 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1119 Handle new elision field.
1120 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1121 * sysdeps/arm/nptl/bits/pthreadtypes.h
1122 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1123 * sysdeps/sh/nptl/bits/pthreadtypes.h
1124 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1125 * sysdeps/tile/nptl/bits/pthreadtypes.h
1126 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1127 * sysdeps/a/nptl/bits/pthreadtypes.h
1128 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1129 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1130 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1131 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1132 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1133 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1134 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1135 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1137 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1138 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1139 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1141 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1142 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1143 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1145 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1146 (elision_init): Set try_xbegin to zero when no RTM.
1147 * sysdeps/x86/nptl/bits/pthreadtypes.h
1148 (pthread_rwlock_t): Change __pad1 to __rwelision.
1149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 1150
a832bdd3
AK
11512014-06-13 Andi Kleen <ak@linux.intel.com>
1152
1153 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1154 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1155 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1156 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1157
995a46bb
MI
11582014-06-13 Meador Inge <meadori@codesourcery.com>
1159
1160 [BZ #16996]
03ed7738 1161 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
1162 that the cached result has been set before returning it.
1163
45262aee
RM
11642014-06-12 Roland McGrath <roland@hack.frob.com>
1165
febf6cc5
RM
1166 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1167 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1168 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1169 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1170 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1171 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1172
e2682246
RM
1173 * nptl/sysdeps/sparc/Makefile: Moved ...
1174 * sysdeps/sparc/nptl/Makefile: ... here.
1175 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1176 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1177 * nptl/sysdeps/sparc/tls.h: Moved ...
1178 * sysdeps/sparc/nptl/tls.h: ... here.
1179 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1180 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1181 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1182 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1183 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1184 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1185 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1186 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1187 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1188 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1189 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1190 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1191 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1192 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1193 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1194 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1195 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1196 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1197 Update #include.
1198 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1199 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1200 Update #include.
1201 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1202 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1203 Update #include.
1204 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1205 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1206 Update #include.
1207
b0725f43
RM
1208 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1209
b14368b8
RM
1210 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1211 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1212
c5620eb3
RM
1213 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1214 (struct list_links): Type removed.
1215 (struct thread_node, struct timer_node): Replace struct list_links
1216 with struct list_head.
1217 (list_unlink_ip): Likewise.
1218 * sysdeps/pthread/timer_routines.c
1219 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1220 (list_append, list_insbefore): Likewise.
1221 (list_init): Function removed.
1222 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
1223 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1224 * sysdeps/pthread/Makefile: ... here, new file.
1225
1226 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1227 * sysdeps/nptl/Implies: ... here.
1228 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1229 * nptl/sysdeps/pthread/list.h: Moved ...
1230 * include/list.h: ... here.
1231 * nptl/sysdeps/pthread/createthread.c: Moved ...
1232 * nptl/createthread.c: ... here.
1233 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1234 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1235 * nptl/pt-longjmp.c: ... here.
1236 * nptl/sysdeps/pthread/Makefile: Moved ...
1237 * sysdeps/nptl/Makefile: ... here.
1238 * nptl/sysdeps/pthread/Subdirs: Moved ...
1239 * sysdeps/nptl/Subdirs: ... here.
1240 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1241 * sysdeps/nptl/aio_misc.h: ... here.
1242 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1243 * sysdeps/nptl/bits/libc-lock.h: ... here.
1244 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1245 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1246 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1247 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1248 * nptl/sysdeps/pthread/configure: Moved ...
1249 * sysdeps/nptl/configure: ... here.
1250 * nptl/sysdeps/pthread/configure.ac: Moved ...
1251 * sysdeps/nptl/configure.ac: ... here.
1252 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1253 * sysdeps/nptl/gai_misc.h: ... here.
1254 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1255 * sysdeps/nptl/librt-cancellation.c: ... here.
1256 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1257 * sysdeps/nptl/malloc-machine.h: ... here.
1258 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1259 * sysdeps/nptl/pthread-functions.h: ... here.
1260 * nptl/sysdeps/pthread/pthread.h: Moved ...
1261 * sysdeps/nptl/pthread.h: ... here.
1262 * nptl/sysdeps/pthread/setxid.h: Moved ...
1263 * sysdeps/nptl/setxid.h: ... here.
1264 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1265 * sysdeps/nptl/sigfillset.c: ... here.
1266 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1267 * sysdeps/nptl/tcb-offsets.h: ... here.
1268 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1269 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1270 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1271 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1272 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1273 * sysdeps/pthread/allocalim.h: ... here.
1274 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1275 * sysdeps/pthread/bits/sigthread.h: ... here.
1276 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1277 * sysdeps/pthread/flockfile.c: ... here.
1278 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1279 * sysdeps/pthread/ftrylockfile.c: ... here.
1280 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1281 * sysdeps/pthread/funlockfile.c: ... here.
1282 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1283 * sysdeps/pthread/posix-timer.h: ... here.
1284 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1285 * sysdeps/pthread/timer_create.c: ... here.
1286 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1287 * sysdeps/pthread/timer_delete.c: ... here.
1288 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1289 * sysdeps/pthread/timer_getoverr.c: ... here.
1290 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1291 * sysdeps/pthread/timer_gettime.c: ... here.
1292 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1293 * sysdeps/pthread/timer_routines.c: ... here.
1294 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1295 * sysdeps/pthread/timer_settime.c: ... here.
1296 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1297 * sysdeps/pthread/tst-timer.c: ... here.
1298 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1299 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1300
e876b090
RM
1301 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1302 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1303
f6b07b3d
RM
1304 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1305 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1306 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1307 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1308 Update #include target.
1309 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1310 * sysdeps/i386/i686/nptl/Makefile: ... here.
1311 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1312 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1313 Update #include target.
1314 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1315 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1316 * nptl/sysdeps/i386/Makefile: Moved ...
1317 * sysdeps/i386/nptl/Makefile: ... here.
1318 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1319 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1320 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1321 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1322 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1323 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1324 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1325 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1326 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1327 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1328 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1329 * nptl/sysdeps/i386/tls.h: Moved ...
1330 * sysdeps/i386/nptl/tls.h: ... here.
1331
45262aee
RM
1332 * sysdeps/sh/Makefile [$(subdir) = csu]
1333 (gen-as-const-headers): Add tcb-offsets.sym.
1334 * nptl/sysdeps/sh/Makefile: File removed.
1335 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1336 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1337 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1338 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1339 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1340 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1341 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1342 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1343 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1344 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1345 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1346 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1347 * nptl/sysdeps/sh/tls.h: Moved ...
1348 * sysdeps/sh/nptl/tls.h: ... here.
1349 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1350 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1351 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1352 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1353 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1354 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1355 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1356 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1357 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1358 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1359 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1360 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1361 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1362 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1363 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1364 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1366 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1367 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1368 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1369 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1370 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1371 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1372 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1373 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1374 Moved ...
1375 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1377 Moved ...
1378 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1379 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1380 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1381 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1382 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1383 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1384 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1386 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1388 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1389 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1390 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1391 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1392 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1393 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1394 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1396 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1397
35a5e3e3
SL
13982014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1399
1400 * posix/spawn_faction_addopen.c: Include string.h.
1401
14642b85
RM
14022014-06-11 Roland McGrath <roland@hack.frob.com>
1403
1404 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1405 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1406 * nptl/sysdeps/x86_64/Makefile: Moved ...
1407 * sysdeps/x86_64/nptl/Makefile: ... here.
1408 * nptl/sysdeps/x86_64/configure: Moved ...
1409 * sysdeps/x86_64/nptl/configure: ... here.
1410 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1411 * sysdeps/x86_64/nptl/configure.ac: ... here.
1412 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1413 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1414 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1415 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1416 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1417 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1418 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1419 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1420 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1421 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1422 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1423 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1424 * nptl/sysdeps/x86_64/tls.h: Moved ...
1425 * sysdeps/x86_64/nptl/tls.h: ... here.
1426 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1427 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1428 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1429 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1430
1431 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1432
31c44fea
AZ
14332014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1434
1435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1436
e81a4f9a
JM
14372014-06-11 Joseph Myers <joseph@codesourcery.com>
1438
1439 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1440 type.
1441 [POSIX] (off_t): Likewise.
1442 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1443 [POSIX] (S_ISBLK): Require macro.
1444 [POSIX] (S_ISCHR): Likewise.
1445 [POSIX] (S_ISDIR): Likewise.
1446 [POSIX] (S_ISFIFO): Likewise.
1447 [POSIX] (S_ISREG): Likewise.
1448 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1449 optional-macro.
1450 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1451 type.
1452 [POSIX] (time_t): Likewise.
1453 [POSIX] (timer_t): Likewise.
1454
89e435f3
FW
14552014-06-11 Florian Weimer <fweimer@redhat.com>
1456
1457 [BZ #17048]
1458 * posix/spawn_int.h (struct __spawn_action): Make the path string
1459 non-const to support deallocation.
1460 * posix/spawn_faction_addopen.c
1461 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1462 * posix/spawn_faction_destroy.c
1463 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1464 path in all spawn_do_open actions.
1465 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1466 posix_spawn_file_actions_addopen.
1467
c3a2ebe1
CM
14682014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1469
1470 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1471 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1472 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1473 conditional code always true.
1474 (__libc_vfork): New alias.
1475
9503784a
RM
14762014-06-11 Roland McGrath <roland@hack.frob.com>
1477
c9cab3d2
RM
1478 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1479 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1480
d3996c79
RM
1481 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1482
ba5ec611
RM
1483 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1484 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1485
f12b4814
RM
1486 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1487 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1488
9503784a
RM
1489 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1490 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1491
e23d3d26
VR
14922014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1493
1494 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1495 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1496 multiarch strcmp for PPC64.
1497 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1498 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1500 multiarch optimizations.
1501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1502 (__libc_ifunc_impl_list): Likewise.
1503
42b1161e
SP
15042014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1505
1506 * benchtests/scripts/validate_benchout.py: New script.
1507 * benchtests/Makefile (bench-func): Call it.
1508 * benchtests/scripts/benchout.schema.json: New file.
1509
2d0fc4dc
CM
15102014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1511
4a594c34
AZ
1512 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1513 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1514 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1515 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1516 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1517 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1518 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1519 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1520 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1521 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1522 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1523 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1524 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1525 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1526 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1527 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 1529 Moved ...
4a594c34 1530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 1531 ... here.
4a594c34 1532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 1533 Moved ...
4a594c34
AZ
1534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 1536 Moved ...
4a594c34 1537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 1538 ... here.
4a594c34 1539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 1540 Moved ...
4a594c34 1541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 1542 ... here.
4a594c34 1543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 1544 Moved ...
4a594c34
AZ
1545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 1547 Moved ...
4a594c34 1548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 1549 ... here.
4a594c34 1550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 1551 Moved ...
4a594c34 1552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 1553 ... here.
4a594c34 1554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 1555 Moved ...
4a594c34
AZ
1556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 1558 Moved ...
4a594c34 1559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 1560 ... here.
4a594c34 1561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 1562 Moved ...
4a594c34 1563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 1564 ... here.
4a594c34 1565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 1566 Moved ...
4a594c34 1567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 1568 ... here.
4a594c34 1569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 1570 Moved ...
4a594c34
AZ
1571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 1573 Moved ...
4a594c34 1574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 1575 ... here.
4a594c34 1576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 1577 Moved ...
4a594c34 1578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 1579 ... here.
4a594c34 1580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 1581 Moved ...
4a594c34 1582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 1583 ... here.
4a594c34 1584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 1585 Moved ...
4a594c34
AZ
1586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 1588 Moved ...
4a594c34 1589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 1590 ... here.
4a594c34 1591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 1592 Moved ...
4a594c34 1593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 1594 ... here.
4a594c34 1595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 1596 Moved ...
4a594c34
AZ
1597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 1599 Moved ...
4a594c34 1600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 1601 ... here.
4a594c34 1602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 1603 Moved ...
4a594c34
AZ
1604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 1606 Moved ...
4a594c34
AZ
1607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 1609 Moved ...
4a594c34 1610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 1611 ... here.
4a594c34 1612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 1613 Moved ...
4a594c34 1614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 1615 ... here.
4a594c34 1616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 1617 Moved ...
4a594c34 1618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 1619 ... here.
4a594c34 1620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 1621 Moved ...
4a594c34
AZ
1622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 1624 Moved ...
4a594c34 1625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 1626 ... here.
4a594c34 1627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 1628 Moved ...
4a594c34 1629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 1630 ... here.
4a594c34
AZ
1631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1632 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1633 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 1636 Moved ...
4a594c34 1637 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 1638 ... here.
4a594c34
AZ
1639 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1640 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1642 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1646 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 1652 Moved ...
4a594c34
AZ
1653 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 1655 Moved ...
4a594c34
AZ
1656 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 1660 Moved ...
4a594c34
AZ
1661 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1665 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1666 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1667 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 1668
0570cfed
W
16692014-06-10 Wilco <wdijkstr@arm.com>
1670
1671 * math/test-fenv-return.c: New file.
1672 * math/Makefile: Add new test test-fenv-return.
1673
f8ba1b56
JM
16742014-06-10 Joseph Myers <joseph@codesourcery.com>
1675
1676 [BZ #17042]
1677 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1678 when x - 1 is zero.
1679 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1680 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1681 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1682 0.0L for an argument of 1.0L.
1683 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1684 Likewise.
1685 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1686 value when x - 1 is zero.
1687 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1688 * sysdeps/i386/fpu/libm-test-ulps: Update.
1689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1690
2c3520d9
BO
16912014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1692
1693 [BZ #15119]
1694 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1695
acaa4d24
RM
16962014-06-09 Roland McGrath <roland@hack.frob.com>
1697
1698 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1699 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1700
962b744d
RM
17012014-06-09 Roland McGrath <roland@hack.frob.com>
1702
d752f0cc
RM
1703 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1704 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1705
34eda6d1
RM
1706 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1707 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1708
50f0a637
RM
1709 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1710 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1711
08f41f04
RM
1712 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1713 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1714
962b744d
RM
1715 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1716 if not already defined.
1717 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1718 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1719 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1720 (TLS_INIT_TP): Use it.
1721 (TLS_DEFINE_INIT_TP): New macro.
1722 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1723
09f19b05
JM
17242014-06-09 Joseph Myers <joseph@codesourcery.com>
1725
1726 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1727 constant.
1728 [POSIX] (IXANY): Likewise.
1729 [POSIX] (OLCUC): Likewise.
1730 [POSIX || POSIX2008] (CBAUD): Do not allow.
1731 [POSIX || POSIX2008] (DEFECHO): Likewise.
1732 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1733 [POSIX || POSIX2008] (ECHOKE): Likewise.
1734 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1735 [POSIX || POSIX2008] (EXTA): Likewise.
1736 [POSIX || POSIX2008] (EXTB): Likewise.
1737 [POSIX || POSIX2008] (FLUSHO): Likewise.
1738 [POSIX || POSIX2008] (LOBLK): Likewise.
1739 [POSIX || POSIX2008] (PENDIN): Likewise.
1740 [POSIX || POSIX2008] (SWTCH): Likewise.
1741 [POSIX || POSIX2008] (VDISCARD): Likewise.
1742 [POSIX || POSIX2008] (VDSUSP): Likewise.
1743 [POSIX || POSIX2008] (VLNEXT): Likewise.
1744 [POSIX || POSIX2008] (VREPRINT): Likewise.
1745 [POSIX || POSIX2008] (VSTATUS): Likewise.
1746 [POSIX || POSIX2008] (VWERASE): Likewise.
1747 (B*): Change to B[0123456789]*.
1748 * conform/data/time.h-data [POSIX || UNIX98]
1749 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1750 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1751 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1752 [POSIX] (tm_*): Do not allow.
1753
686554bf
JM
17542014-06-07 Joseph Myers <joseph@codesourcery.com>
1755
1756 * Makefile (install): Don't set LANGUAGE.
1757 * Makefile.in (install): Likewise.
1758 * assert/Makefile (test-assert-ENV): Remove variable.
1759 (test-assert-perr-ENV): Likewise.
1760 * elf/Makefile (neededtest4-ENV): Likewise.
1761 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1762 [$(cross-compiling) = no]: Don't set LANGUAGE.
1763 * io/ftwtest-sh (LANG): Remove variable.
1764 * libio/Makefile (tst-widetext-ENV): Likewise.
1765 * manual/install.texi (Running make install): Don't refer to
1766 environment settings for make install.
1767 * INSTALL: Regenerated.
1768 * nptl/tst-tls6.sh: Don't set LANG.
1769 * posix/globtest.sh (LANG): Remove variable.
1770 * string/Makefile (tester-ENV): Likewise.
1771 (inl-tester-ENV): Likewise.
1772 (noinl-tester-ENV): Likewise.
1773 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1774 [$(cross-compiling) = no]: Don't set LANGUAGE.
1775 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1776 without explicit environment settings.
1777
68e6b6b1
RM
17782014-06-06 Roland McGrath <roland@hack.frob.com>
1779
1780 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1781 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1783 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1784
4d3ae034
CM
17852014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1786
1787 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1788 other files in the crypt directory.
1789 * crypt/crypt.c: Remove duplicate includes.
1790 * crypt/crypt-entry.c: Likewise.
1791 * crypt/crypt_util.c: Likewise.
1792
8540f6d2
JM
17932014-06-06 Joseph Myers <joseph@codesourcery.com>
1794
1795 * Makeconfig (run-program-env): New variable.
1796 (run-program-prefix-before-env): Likewise.
1797 (run-program-prefix-after-env): Likewise.
1798 (run-program-prefix): Define in terms of new variables.
1799 (built-program-cmd-before-env): New variable.
1800 (built-program-cmd-after-env): Likewise.
1801 (built-program-cmd): Define in terms of new variables.
1802 (test-program-prefix-before-env): New variable.
1803 (test-program-prefix-after-env): Likewise.
1804 (test-program-prefix): Define in terms of new variables.
1805 (test-program-cmd-before-env): New variable.
1806 (test-program-cmd-after-env): Likewise.
1807 (test-program-cmd): Define in terms of new variables.
1808 * Rules (make-test-out): Use $(run-program-env).
1809 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1810 (help): Do not mention environment variables. Mention
1811 --timeoutfactor option.
1812 (timeoutfactor): New variable.
1813 (blacklist_exports): Remove function.
1814 (exports): Remove variable.
1815 (command): Do not include ${exports}.
1816 * manual/install.texi (Configuring and compiling): Do not mention
1817 test wrappers preserving environment variables. Mention that last
1818 assignment to a variable must take precedence.
1819 * INSTALL: Regenerated.
1820 * benchtests/Makefile (run-bench): Use $(run-program-env).
1821 * catgets/Makefile ($(objpfx)test1.cat): Use
1822 $(built-program-cmd-before-env), $(run-program-env) and
1823 $(built-program-cmd-after-env).
1824 ($(objpfx)test2.cat): Do not specify environment variables
1825 explicitly.
1826 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1827 $(run-program-env) and $(built-program-cmd-after-env).
1828 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1829 $(run-program-env) and $(test-program-cmd-after-env).
1830 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1831 explicitly.
1832 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1833 run_program_env and test_program_cmd_after_env arguments.
1834 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1835 * elf/tst-pathopt.sh: Use run_program_env argument.
1836 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1837 $(test-wrapper-env) and $(run-program-env).
1838 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1839 run_program_env arguments.
1840 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1841 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1842 $(test-program-prefix-before-env), $(run-program-env) and
1843 $(test-program-prefix-after-env).
1844 ($(objpfx)tst-gettext2.out): Likewise.
1845 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1846 run_program_env and test_program_prefix_after_env arguments.
1847 * intl/tst-gettext2.sh: Likewise.
1848 * intl/tst-gettext4.sh: Do not set environment variables
1849 explicitly.
1850 * intl/tst-gettext6.sh: Likewise.
1851 * intl/tst-translit.sh: Likewise.
1852 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1853 $(test-program-prefix-before-env), $(run-program-env) and
1854 $(test-program-prefix-after-env).
1855 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1856 run_program_env and test_program_prefix_after_env arguments.
1857 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1858 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1859 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1860 explicitly with each use of ${test_wrapper_env}.
1861 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1862 $(test-program-prefix-before-env), $(run-program-env) and
1863 $(test-program-prefix-after-env).
1864 * posix/tst-getconf.sh: Do not set environment variables
1865 explicitly.
1866 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1867 run_program_env and test_program_prefix_after_env arguments.
1868 * stdio-common/tst-printf.sh: Do not set environment variables
1869 explicitly.
1870 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1871 $(test-program-prefix-before-env), $(run-program-env) and
1872 $(test-program-prefix-after-env).
1873 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1874 run_program_env and test_program_prefix_after_env arguments.
1875 Split $test calls into $test_pre and $test.
1876 * timezone/Makefile (build-testdata): Use
1877 $(built-program-cmd-before-env), $(run-program-env) and
1878 $(built-program-cmd-after-env).
1879
ed36bfa1
AZ
18802014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1881
1882 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1883 strlen for non SHARED builds.
1884
fc75bf46
SP
18852014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1886
1887 * nptl/allocatestack.c (check_list): Inlined function...
1888 (__reclaim_stacks): ... here.
1889
d89b3d80
OB
18902014-06-05 Ondřej Bílka <neleai@seznam.cz>
1891
1892 [BZ #15698]
1893 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1894 memory overrun.
1895
2bf18041
JM
18962014-06-05 Joseph Myers <joseph@codesourcery.com>
1897
1898 * Rules (make-test-out): Include
1899 LOCPATH=$(common-objpfx)localedata in default environment.
1900 * debug/Makefile (tst-chk1-ENV): Remove variable.
1901 (tst-chk2-ENV): Likewise.
1902 (tst-chk3-ENV): Likewise.
1903 (tst-chk4-ENV): Likewise.
1904 (tst-chk5-ENV): Likewise.
1905 (tst-chk6-ENV): Likewise.
1906 (tst-lfschk1-ENV): Likewise.
1907 (tst-lfschk2-ENV): Likewise.
1908 (tst-lfschk3-ENV): Likewise.
1909 (tst-lfschk4-ENV): Likewise.
1910 (tst-lfschk5-ENV): Likewise.
1911 (tst-lfschk6-ENV): Likewise.
1912 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1913 (tst-iconv7-ENV): Likewise.
1914 * intl/Makefile (LOCPATH-ENV): Likewise.
1915 (tst-codeset-ENV): Likewise.
1916 (tst-gettext3-ENV): Likewise.
1917 (tst-gettext5-ENV): Likewise.
1918 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1919 (tst-fopenloc-ENV): Likewise.
1920 (tst-fgetws-ENV): Remove variable.
1921 (tst-ungetwc1-ENV): Likewise.
1922 (tst-ungetwc2-ENV): Likewise.
1923 (bug-ungetwc2-ENV): Likewise.
1924 (tst-swscanf-ENV): Likewise.
1925 (bug-ftell-ENV): Likewise.
1926 (tst-fgetwc-ENV): Likewise.
1927 (tst-fseek-ENV): Likewise.
1928 (tst-ftell-partial-wide-ENV): Likewise.
1929 (tst-ftell-active-handler-ENV): Likewise.
1930 (tst-ftell-append-ENV): Likewise.
1931 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1932 (tst-regexloc-ENV): Likewise.
1933 (bug-regex1-ENV): Likewise.
1934 (tst-regex-ENV): Likewise.
1935 (tst-regex2-ENV): Likewise.
1936 (bug-regex5-ENV): Likewise.
1937 (bug-regex6-ENV): Likewise.
1938 (bug-regex17-ENV): Likewise.
1939 (bug-regex18-ENV): Likewise.
1940 (bug-regex19-ENV): Likewise.
1941 (bug-regex20-ENV): Likewise.
1942 (bug-regex22-ENV): Likewise.
1943 (bug-regex23-ENV): Likewise.
1944 (bug-regex25-ENV): Likewise.
1945 (bug-regex26-ENV): Likewise.
1946 (bug-regex30-ENV): Likewise.
1947 (bug-regex32-ENV): Likewise.
1948 (bug-regex33-ENV): Likewise.
1949 (bug-regex34-ENV): Likewise.
1950 (bug-regex35-ENV): Likewise.
1951 (tst-rxspencer-ENV): Likewise.
1952 (tst-rxspencer-no-utf8-ENV): Likewise.
1953 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1954 (tst-sscanf-ENV): Likewise.
1955 (tst-swprintf-ENV): Likewise.
1956 (tst-swscanf-ENV): Likewise.
1957 (test-vfprintf-ENV): Likewise.
1958 (scanf13-ENV): Likewise.
1959 (bug14-ENV): Likewise.
1960 (tst-grouping-ENV): Likewise.
1961 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1962 (tst-strtod3-ENV): Likewise.
1963 (tst-strtod4-ENV): Likewise.
1964 (tst-strtod5-ENV): Likewise.
1965 (testmb2-ENV): Likewise./
1966 * string/Makefile (tst-strxfrm-ENV): Likewise.
1967 (tst-strxfrm2-ENV): Likewise.
1968 (bug-strcoll1-ENV): Likewise.
1969 (test-strcasecmp-ENV): Likewise.
1970 (test-strncasecmp-ENV): Likewise.
1971 * time/Makefile (tst-strptime-ENV): Likewise.
1972 (tst-ftime_l-ENV): Likewise.
1973 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1974 (tst-mbrtowc-ENV): Likewise.
1975 (tst-wcrtomb-ENV): Likewise.
1976 (tst-mbrtowc2-ENV): Likewise.
1977 (tst-c16c32-1-ENV): Likewise.
1978 (tst-mbsnrtowcs-ENV): Likewise.
1979
cd1fb604
OB
19802014-06-05 Ondřej Bílka <neleai@seznam.cz>
1981
1982 * manual/resource.texi (How to get information about the memory
1983 subsystem?): Fix typo.
1984 Reported by Peon de la Parra Ivan <peon@keba.com>
1985
b42eca7d
GY
19862014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1987
1988 [BZ #16882]
1989 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1990 (pthread_spin_lock): Branch out of spin loop to proper location.
1991 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1992 (pthread_spin_lock): Likewise.
1993
902b71f9
DM
1994 * nptl/tst-spin4.c: New test.
1995 * nptl/Makefile (tests): Add tst-spin4.
1996
f9d2d032
AS
19972014-06-03 Andreas Schwab <schwab@suse.de>
1998
1999 [BZ #15946]
2000 * resolv/res_send.c (send_dg): Reload file descriptor after
2001 calling reopen.
2002
cf7bfd28
SL
20032014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2004
2005 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2006
111cc714
RH
20072014-06-03 Richard Henderson <rth@redhat.com>
2008
89b4bd6b
RH
2009 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2010 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2011 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2012 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2013 in the SAVE_PID block.
2014 (__libc_vfork): New alias.
71840409 2015 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 2016
111cc714
RH
2017 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2018 child in registers, not on the stack. Remove RESET_PID conditionals.
2019 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2020
ccc39911
MS
20212014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2022
2023 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2024
693096cc
W
20252014-06-03 Wilco <wdijkstr@arm.com>
2026
2027 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2028 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2029 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2030 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2031 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2032 Likewise.
2033
0b4366bc
W
20342014-06-03 Wilco <wdijkstr@arm.com>
2035
2036 * sysdeps/aarch64/fpu/math_private.h
2037 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2038 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2039 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2040 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2041 Fix declarations.
2042
8747cd03
KS
20432014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2044
2045 * crypt/crypt-private.h: Include ufc-crypt.h.
2046 (__b64_from_24bit): Declare extern.
2047 * crypt/crypt_util.c(__b64_from_24bit): New function.
2048 (b64t): New static const variable.
2049 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2050 (b64t): Remove variable.
2051 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2052 * crypt/sha256-crypt.c: Include crypt-private.h.
2053 (b64t): Remove variable.
2054 (__sha256_crypt_r): Remove b64_from_24bit and replace
2055 with __b64_from_24bit.
2056 * crypt/sha512-crypt.c: Likewise.
2057
d936d379
RM
20582014-06-02 Roland McGrath <roland@hack.frob.com>
2059
2060 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2061 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2062 Label the code __libc_vfork rather than __vfork.
2063 [!NOT_IN_libc] (vfork): Define as weak alias.
2064 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2065 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2066 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2067
9fa76613
SP
20682014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2069
2070 * malloc/malloc.c (malloc_info): Fix format specifier for
2071 n_mmaps.
2072
a88dadbe
W
20732014-06-02 Wilco <wdijkstr@arm.com>
2074
2075 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2076 FPCR write.
2077
c95b3011
W
20782014-06-02 Wilco <wdijkstr@arm.com>
2079
2080 [BZ #17009]
2081 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2082 Rewrite to reduce FPCR/FPSR accesses.
2083
6b4d7a90
DM
20842014-06-01 David S. Miller <davem@davemloft.net>
2085
2086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2087
30f3d07c
DM
20882014-05-31 David S. Miller <davem@davemloft.net>
2089
2090 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2091 to occur in round to nearest mode when |x| >= 2.0
2092
74f31c18
RH
20932014-05-30 Richard Henderson <rth@twiddle.net>
2094
f0712b54
RH
2095 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2096 (PSEUDO_RET_NOERRNO): Remove.
2097 (ret): Don't redefine.
2098 (ret_NOERRNO): Define in terms of ret.
2099 (ret_ERRVAL): Likewise.
2100
74f31c18
RH
2101 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2102 use of PSEUDO_RET; perform the error check directly.
2103
30477995
MM
21042014-05-30 Marko Myllynen <myllynen@redhat.com>
2105
2106 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2107 with __int128_t.
2108
62a58816
SP
21092014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2110
2111 * malloc/malloc (malloc_info): Fix formatting.
2112
4d653a59
SP
21132014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2114 Roland McGrath <roland@hack.frob.com>
2115
2116 * malloc/malloc (malloc_info): Also print mmapped statistics.
2117
5190c17f
RM
21182014-05-30 Roland McGrath <roland@hack.frob.com>
2119
2120 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2121 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2122
987c0269
OB
21232014-05-30 Ondřej Bílka <neleai@seznam.cz>
2124
2125 * malloc/malloc.c (malloc_info): Inline mi_arena.
2126
af4e8ef9
RH
21272014-05-29 Richard Henderson <rth@twiddle.net>
2128
1670e207
RH
2129 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2130 Remove comma before expanding ASM_ARGS_##nr.
2131 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2132 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2133 of ASM_ARGS_##nr.
2134 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2135 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2136 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2137 (ASM_ARGS_1): Add leading comma.
2138
11a28aee
RH
2139 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2140 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2141 to __errno_location.
2142 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2143 Remove the expected plt for __errno_location.
2144
a17e5ffb 2145 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 2146 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
2147 call to __read_tp.
2148
b5be4597
RH
2149 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2150 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2151 it and break it down.
2152 (DOCARGS_0, DOCARGS_1): Do nothing.
2153 (DOCARGS_2): Update to store into the new stack frame.
2154 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2155 (UNDOCARGS_1): Update to restore from the new stack frame.
2156 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2157 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2158
645d44ab
RH
2159 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2160 (SINGLE_THREAD_P): New parameter for result regno.
2161 (PSEUDO): Update to match; use cbz instead of beq.
2162
a8b4f04a
RH
2163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2164 Use ENTRY to define the _nocancel entry point. Share the syscall
2165 and syscall error check paths with the cancel path.
2166 (PSEUDO_END): New.
2167
af4e8ef9
RH
2168 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2169 whitespace; tabs before and after asm mnemonics.
2170
26b0d2e1
EW
21712014-05-29 Eric Wong <normalperson@yhbt.net>
2172
2173 [BZ #15132]
2174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2175 Call fstat64 or stat64 internally, depending on arguments passed.
2176 Replace stat buffer argument with file descriptor argument.
2177 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2178 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2179 Pass fd to __internal_statvfs instead of calling fstat64.
2180 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2181 Pass fd to __internal_statvfs64 instead of calling fstat64.
2182 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2183 Pass -1 to __internal_statvfs instead of calling stat64.
2184 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2185 Pass -1 to __internal_statvfs64 instead of calling stat64.
2186
1efe2bd9
RM
21872014-05-28 Roland McGrath <roland@hack.frob.com>
2188
0d3b7a19
RM
2189 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2190 that was previously under [RESET_PID].
2191 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2192
1efe2bd9
RM
2193 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2194 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2195
a6bea3ca
RM
21962014-05-27 Roland McGrath <roland@hack.frob.com>
2197
30b6629e
RM
2198 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2199
a6bea3ca
RM
2200 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2201 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2202
3dfb9a5c
OB
22032014-05-27 Ondřej Bílka <neleai@seznam.cz>
2204
2205 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2206
774f9285
AS
22072014-05-27 Andreas Schwab <schwab@suse.de>
2208
2209 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2210 TLS_INIT_TP macro.
2211 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2212 * elf/rtld.c (init_tls, dl_main): Likewise.
2213 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2214 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2215 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2216 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2217 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2218 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2219 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2220 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2221 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2222 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2223 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2224 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2225 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2226 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2227 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2228 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2229 * sysdeps/generic/tls.h: Update description.
2230
36ffe739
WN
22312014-05-27 Will Newton <will.newton@linaro.org>
2232
2233 [BZ #16990]
2234 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2235 and restore r2 rather than just restoring.
2236
2482ae43
SP
22372014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2238
2239 [BZ #16724]
2240 * libio/tst-ftell-append.c: New test case.
2241 * libio/Makefile (tests): Add test case.
2242 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2243 append mode.
2244 * libio/wfileops.c (do_ftell_wide): Likewise.
2245
3d1024e8
AZ
22462014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2247
bab90016
AZ
2248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2249
c7a8d667
AZ
2250 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2251 ...
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2254 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2255 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2256 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2257 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2258 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2259 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2261 Moved ...
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2264 Moved ...
2265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2266 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2267 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2268 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2269 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2270 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2271 ...
2272 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2273 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2274 Moved ...
2275 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2276 here.
2277 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2278 ...
2279 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2280 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2281 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2282
daee7851
AZ
2283 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2284 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2285 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2286 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2287
50a40819
AZ
2288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2289 merge into ...
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2292 ...
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2295 ...
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2298 Moved ...
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2300 here.
2301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2302 Moved ...
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2305 Moved ...
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2307
8464c2a1
AZ
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2309 conditional [RESET_PID].
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2312 removed.
2313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2314 removed.
2315
3d1024e8
AZ
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2317 <tcb-offsets.h>.
2318 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2319 (__libc_vfork): New strong alias.
2320 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2321 removed.
2322 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2323 Removed.
2324
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2326 <tcb-offsets.h>.
2327 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2328 (__libc_vfork): New strong alias.
2329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2330 removed.
2331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2332 removed.
2333
fdfd175d
CD
23342014-05-26 Carlos O'Donell <carlos@redhat.com>
2335
2336 * malloc/malloc.c (mi_arena): New function.
2337 (malloc_info): Remove nested function mi_arena. Call non-nosted
2338 function mi_arena.
2339
d298c416
AZ
23402014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2341
2342 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2343 by insrwi.
2344 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2345 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2346 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2347 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2348 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2349 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2350 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2351
b60ea6ff
AS
23522014-05-26 Andreas Schwab <schwab@suse.de>
2353
2354 [BZ #16984]
2355 * locale/programs/repertoire.c (repertoire_read): Add slash
2356 between I18NPATH element and file name.
2357 * locale/programs/locfile.c (locfile_read): Likewise.
2358
67365926
SL
23592014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2360
2361 * nptl/pthread_mutexattr_settype.c
2362 (__pthread_mutexattr_settype):
2363 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2364
f8bdf1f0
SL
23652014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2366
2367 * nptl/tst-mutex5 (do_test):
2368 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2369
15eaf6ff
SP
23702014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2371
2372 * benchtests/README: Document 'init' directive.
2373 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2374 BENCH_INIT.
2375 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2376 (parse_file): Recognize 'init' directive.
2377
75f11331
KM
23782014-05-26 Kyle McMartin <kyle@redhat.com>
2379
2380 [BZ #16796]
2381 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2382 alignment of struct pthread.
2383
c3ec475c
SP
23842014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2385
2386 [BZ #16878]
2387 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2388 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2389 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2390 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2391
82aab97c
RH
23922014-05-25 Richard Henderson <rth@twiddle.net>
2393
aa2f176d
RH
2394 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2395 (SINGLE_THREAD_P_PIC): Remove.
2396 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2397 (SINGLE_THREAD_P_PIC): Remove.
2398
ca3cfa40
RH
2399 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2400 branch to syscall error ...
2401 (PSEUDO): ... here.
2402 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2403 from __local_syscall_error to .Lsyscall_error.
2404 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2405 (SYSCALL_ERROR): Update label name.
2406
6e6c2d01
RH
2407 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2408 Do not use DOARGS/UNDOARGS.
2409 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2410 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2411 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2412 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2413 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2414
c69abcee
RH
2415 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2416 block comment.
2417
82aab97c
RH
2418 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2419 define if !NOT_IN_libc.
2420 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2421 define with non-default symbol versions.
2422
8820e3ac
RH
24232014-05-23 Richard Henderson <rth@twiddle.net>
2424
900e445f
RH
2425 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2426 (vfork, __vfork): Define via compat_symbol.
2427
8820e3ac
RH
2428 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2429 [!HAVE_IFUNC] (vfork_compat): Remove.
2430 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2431
e59252a5
JM
24322014-05-23 Joseph Myers <joseph@codesourcery.com>
2433
2434 [BZ #16978]
2435 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2436 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2437 variable.
2438
132c7f5f
RH
24392014-05-23 Richard Henderson <rth@twiddle.net>
2440
bc89e962
RH
2441 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2442 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2443 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2444 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2445
2446 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2447 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2448 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2449 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2450 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2451 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2452 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2453 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2454 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2455 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2456 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2457 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2458 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2459 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2461 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2463 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2464 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2465 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2469 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2470 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2471 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2473 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2475 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2477 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2479 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2480 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2481 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2482 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2483 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2484 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2485 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2486 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2487 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2488 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2489 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2490 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2491 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2493 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2495 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2496 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2497 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2498 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2499 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2500 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2501 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2502
e2fa4bc2
RH
2503 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2504 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2505 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2506 before exiting on error.
2507 (__libc_vfork): New strong alias.
2508 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2509 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2510
279b24e2
RH
2511 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2512 that was previously under [RESET_PID].
2513 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2514
132c7f5f
RH
2515 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2516
b72592e7
JM
25172014-05-23 Joseph Myers <joseph@codesourcery.com>
2518
2519 [BZ #16977]
2520 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2521 value when x - 1 is zero.
2522 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2523 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2524 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2525 0.0L for an argument of 1.0L.
2526 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2527 Likewise.
2528 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2529 value when x - 1 is zero.
2530 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2531 * sysdeps/i386/fpu/libm-test-ulps: Update.
2532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2533
2302d679
RV
25342014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2535
2536 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2537 alphasort and versionsort.
2538
32999d63
AZ
25392014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2540
2541 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2542 macro.
2543 [copysignf]: Likewise.
2544
019324d0
SP
25452014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2546
2547 * crypt/md5-crypt.c: Fix formatting.
2548
34fff5c2
KS
25492014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2550
2551 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2552 (b64_from_24bit): New function.
2553
3d2badac
AZ
25542014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2555
2556 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2557 libc_hidden_builtin_def to ifunc.
2558 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2559 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2560
f7bb179f 25612014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
2562
2563 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2564 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2565
4134b50d
JM
25662014-05-21 Joseph Myers <joseph@codesourcery.com>
2567
bb7d0337
JM
2568 * nscd/Depend (linuxthreads): Remove.
2569 (nptl): Add.
2570 * resolv/Depend (linuxthreads): Remove.
2571 * rt/Depend (linuxthreads): Remove.
2572
4134b50d
JM
2573 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2574 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2575 $(common-objpfx)elf/.
2576 (link-libc-before-gnulib): Likewise.
2577 (elfobjdir): Remove variable.
2578 * Makefile (install): Use $(elf-objpfx) instead of
2579 $(common-objpfx)elf/.
2580 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2581 $(elfobjdir)/.
2582 (link-libc-deps): Likewise.
2583 ($(common-objpfx)libc.so): Likewise.
2584 ($(common-objpfx)linkobj/libc.so): Likewise.
2585 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2586 instead of $(common-objpfx)elf/.
2587 (symbolic-link-list): Likewise.
2588 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2589 [$(cross-compiling) = no]: Likewise.
2590 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2591 $(elfobjdir)/.
2592 (static-gnulib-arch): Likewise.
2593 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2594 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2595 $(common-objpfx)elf/.
2596
3612eb8f
RH
25972014-05-21 Richard Henderson <rth@redhat.com>
2598
a6b3657b
RH
2599 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2600 (SINGLE_THREAD_P): Use the correct width load. Fold
2601 into the ldr offset.
2602
3612eb8f
RH
2603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2604 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2605
175cef41
JM
26062014-05-20 Joseph Myers <joseph@codesourcery.com>
2607
2608 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2609 (libgcc_s_resume): Use __attribute_used__.
2610 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2611 Likewise.
2612
e13bccd3
AZ
26132014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2614
2615 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2616 optimization when used with float constants.
2617
7c112a38
AZ
2618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2619
ae75a883
AJ
26202014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2621
2622 [BZ #16915]
2623 * locale/nl_langinfo_l.c: Make direct reference to every
2624 _nl_current_CATEGORY symbol.
2625 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2626 (tests-static): Add tst-langinfo-static.
2627 (tests-special): Add tst-langinfo-static.out.
2628 ($(objpfx)tst-langinfo.out): Redirect output.
2629 ($(objpfx)tst-langinfo-static.out): New.
2630 * localedata/tst-langinfo.sh: Send output to stdout.
2631 * localedata/tst-langinfo-static.c: New file.
2632
4406c41c
AJ
2633 [BZ #16965]
2634 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2635 when the shift amount is modulo the limb size.
2636
4c0a1e63
RH
26372014-05-20 Richard Henderson <rth@redhat.com>
2638
de9d8f20
RH
2639 [BZ #16967]
2640 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2641 Change type of sa_flags from unsigned int to int.
2642
4c0a1e63
RH
2643 [BZ #16966]
2644 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
2645
2646 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2647
a60339aa
WN
26482014-05-20 Will Newton <will.newton@linaro.org>
2649
2650 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2651 Test the return value of the system call in the nocancel case.
2652
7d05a816
YR
26532014-05-20 Will Newton <will.newton@linaro.org>
2654 Yvan Roux <yvan.roux@linaro.org>
2655
2656 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2657 #include of asm/ptrace.h.
2658 (PTRACE_GET_THREAD_AREA): Remove #undef.
2659 (PTRACE_GETHBPREGS): Likewise.
2660 (PTRACE_SETHBPREGS): Likewise.
2661 (struct user_regs_struct): New structure.
2662 (struct user_fpsimd_struct): New structure.
2663 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2664 #include of asm/ptrace.h and second #include of sys/user.h.
2665 (PTRACE_GET_THREAD_AREA): Remove #undef.
2666 (PTRACE_GETHBPREGS): Likewise.
2667 (PTRACE_SETHBPREGS): Likewise.
2668 (ELF_NGREG): Use new struct user_regs_struct.
2669 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2670
af121e37
AZ
26712014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2672
2673 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2674 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2675
834caf06
JM
26762014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2677
2678 [BZ #16958]
2679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2680 membar to avoid block loads/stores to overlap previous stores.
2681
e184a918
RH
26822014-05-17 Richard Henderson <rth@redhat.com>
2683
2684 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2685 Create the __##syscall_name##_nocancel entry point.
2686 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2687 Remove; let the sysdep-cancel.h code create it.
2688
f56c7a6a
DM
26892014-05-17 David S. Miller <davem@davemloft.net>
2690
2691 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2692 Protect with __USE_GNU.
2693 (TIOCSET_TEMPT): Likewise.
2694 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2695 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2696 these are already provided in bits/ioctl-types.h
2697
f75616b2
RM
26982014-05-16 Roland McGrath <roland@hack.frob.com>
2699
3edeca86
RM
2700 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2701 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2702
f75616b2
RM
2703 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2704 Use wait4 regardless of [__NR_waitpid].
2705
deb0f7f6
MR
27062014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2707
2708 PR libgcc/60166
2709 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2710 (_FP_NANSIGN_Q): Set the quiet bit.
2711
79520f4b
JM
27122014-05-16 Joseph Myers <joseph@codesourcery.com>
2713
2714 * benchtests/Makefile
2715 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2716 not $(common-objpfx)math/libm.so.
2717 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2718 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2719 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2720 $(common-objpfx)dlfcn/libdl.so.
2721 ($(objpfx)tst-audit8): Depend on $(libm), not
2722 $(common-objpfx)math/libm.so.
2723 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2724 not $(common-objpfx)dlfcn/libdl.so.
2725 * math/Makefile
2726 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2727 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2728 [$(build-shared) = yes].
2729 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2730 $(common-objpfx)nptl/libpthread.so.
2731 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2732 $(common-objpfx)math/libm.so$(libm.so-version) or
2733 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2734 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2735 $(common-objpfx)dlfcn/libdl.so.
2736 * setjmp/Makefile (link-libm): Remove variable.
2737 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2738 * stdio-common/Makefile (link-libm): Remove variable.
2739 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2740 * stdlib/Makefile (link-libm): Remove variable.
2741 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2742 ($(objpfx)tst-strtod-round): Likewise.
2743 ($(objpfx)tst-tininess): Likewise.
2744 ($(objpfx)tst-strtod-underflow): Likewise.
2745 ($(objpfx)tst-strtod6): Likewise.
2746 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2747 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2748 $(common-objpfx)dlfcn/libdl.so.
2749
026b0fe4
AZ
27502014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2751
2752 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2753 BSD terminal modes definitions.
2754
def4bcb2
RM
27552014-05-16 Roland McGrath <roland@hack.frob.com>
2756
fe39b021
RM
2757 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2758 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2759
1d1fc46e 2760 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
2761 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2762 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2763 Don't do #include_next.
2764 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2765 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2766 Don't do #include_next.
2767 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2768 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2769 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2770 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2771
c72399fb
AM
27722014-05-16 Allan McRae <allan@archlinux.org>
2773
d51d659d
AM
2774 * po/sv.po: Update Swedish translation from translation project.
2775
c72399fb
AM
2776 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2777 in sed expression.
2778
d0583c40
AJ
27792014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2780
2781 [BZ #16917]
2782 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2783 errno if the TIOCGPTN ioctl fails with an error different than
2784 EINVAL.
2785 * login/tst-ptsname.c: New file.
2786 * login/Makefile (tests): Add tst-ptsname.
2787
d16e6ec7
AJ
2788 [BZ #16943]
2789 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2790 and prlimit64.
2791
cf26a0cb
SP
27922014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2793
2794 [BZ #16849]
2795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2796 herrno to return EAI_AGAIN.
2797
5675da1e
RM
27982014-05-14 Roland McGrath <roland@hack.frob.com>
2799
a5d87b3d
RM
2800 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2801 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2802 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2805 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2806 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2807 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2809 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2813 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2815 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2817 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2819 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2820 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2821 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2823 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2825 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2826 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2827 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2828 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2829 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2831 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2835 Moved ...
2836 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2858 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2860 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2864 Moved ...
2865 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2867 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2869 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2871 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2873 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2875 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2877 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2879 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2881 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2883 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2885 Moved ...
2886 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2888 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2889
039890a6
RM
2890 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2891 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2892 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2893 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2894 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2895 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2896 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2898 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2899 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2900 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2901 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2902 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2903 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2904 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2905 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2906 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2907 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2908 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2909 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2910 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2911 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2912 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2913 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2914 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2915 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2916 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2917 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2918 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2920 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2921
65c89320
RM
2922 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2923 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2924
348f8e8c
RM
2925 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2926 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2927 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2928 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2929 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2930 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2931 Moved ...
2932 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2933 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2934 Moved ...
2935 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2937 Moved ...
2938 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2940 Moved ...
2941 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2942 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2943 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2944 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2945 Moved ...
2946 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2947 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2948 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2949 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2950 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2951 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2952 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2953 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2954 Moved ...
2955 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2956 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2957 Moved ...
2958 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2959 ... here.
2960 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2961 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2962 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2963 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2964 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2965 Moved ...
2966 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2967 ... here.
2968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2969 Moved ...
2970 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2972 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2974 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2976 Moved ...
2977 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2978 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2979 Moved ...
2980 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2982 Moved ...
2983 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2985 Moved ...
2986 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2987 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2988 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2989 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2990 Moved ...
2991 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2992 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2993 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2994 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2995 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2996 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2997 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2999 Moved ...
3000 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3001 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3002 Moved ...
3003 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3004 ... here.
3005 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3006 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3008 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3009 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3010 Moved ...
3011 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3012 ... here.
3013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3014 Moved ...
3015 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3017 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3018 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3019 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3020 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3021 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3022 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3023 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3025 Moved ...
3026 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3028 Moved ...
3029 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3031 Moved ...
3032 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3034 Moved ...
3035 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3037 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3039 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3041 Moved ...
3042 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3043 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3044 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3045 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3046 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3048 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3050 Moved ...
3051 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3053 Moved ...
3054 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3055 ... here.
3056 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3057 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3058 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3059 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3060 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3061 Moved ...
3062 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3063 ... here.
3064 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3065 Moved ...
3066 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3068 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3070 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3072 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3074 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3076 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3077
5085af05
RM
3078 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3079 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3080
708f0813
RM
3081 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3082 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3083
c96067bc
RM
3084 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3085 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3086 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3088 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3089 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3090 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3091 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3092 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3094 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3096 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3098 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3100 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3102 Moved ...
3103 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3105 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3107 Moved ...
3108 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3110 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3112 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3114 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3116 Moved ...
3117 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3119 Moved ...
3120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3122 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3124 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3126 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3128 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3129 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3130 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3131 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3132 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3133 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3134 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3135 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3136 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3137
ec136444
RM
3138 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3139 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3140 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3141 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3142 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3143
2fbdf533
RM
3144 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3145 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3146 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3147 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3148 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3149 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3150 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3151 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3152 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3153 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3154
4c68138b
RM
3155 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3156 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3157
4eaae765
RM
3158 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3159 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
3160 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3161 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3163 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3164 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3165 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3166 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3167 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3168 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3169 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3170 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3171 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3172 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3173 Update #include.
3174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3175 Likewise.
3176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3177 Likewise.
3178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3179 Likewise.
3180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3181 Likewise.
3182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3183 Likewise.
3184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3185 Likewise.
3186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3187 Likewise.
3188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3189 Likewise.
3190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3191 Likewise.
4ef6befa
RM
3192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3195 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3196 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
3197 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3198 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3199 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3200 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3201 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3202 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3203 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3204 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3205 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3206 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 3207
941d7dfd
RM
3208 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3209 that was previously under [RESET_PID].
3210 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3211 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3212 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3213
1b731c35
RM
3214 * sysdeps/i386/nptl/Implies: New file.
3215 * sysdeps/x86_64/nptl/Implies: New file.
3216 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3217 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3218 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3219 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3220
e2787137
RM
3221 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3222 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3223 (__libc_vfork): New strong alias.
3224 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3225 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3226
3227 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3228 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3229 (__libc_vfork): New strong alias.
3230 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3231 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3232
5675da1e
RM
3233 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3234 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3235 (__libc_vfork): New strong alias.
3236 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3237 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3238 * nptl/pt-vfork.c: New file.
3239 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3240 (libpthread: GLIBC_2.20): New version set (empty).
3241
4f02e2b8
WN
32422014-05-14 Will Newton <will.newton@linaro.org>
3243
3244 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3245 rather than #if.
3246
0bf061d3
JM
32472014-05-14 Joseph Myers <joseph@codesourcery.com>
3248
1a84c3d6
JM
3249 [BZ #16564]
3250 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3251 arguments with exponent 65 or above.
3252 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3253 arguments 0x1p113L or above.
3254 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3255 to arguments 0x1p107L or above.
3256 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3257 positive arguments with exponent 65 or above.
3258 * math/auto-libm-test-in: Add more tests of log1p.
3259 * math/auto-libm-test-out: Regenerated.
3260
01dbacd2
JM
3261 [BZ #16928]
3262 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3263 non-finite arguments is +0.
3264 * math/s_cacosf.c (__cacosf): Likewise.
3265 * math/s_cacosl.c (__cacosl): Likewise.
3266 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3267 * sysdeps/i386/fpu/libm-test-ulps: Update.
3268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3269
913d03c8
JM
3270 [BZ #16927]
3271 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3272 value.
3273 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3274 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3275 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3276 for explicit high bit of mantissa when testing for argument equal
3277 to 1.
3278 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3279 * sysdeps/i386/fpu/libm-test-ulps: Update.
3280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3281
0bf061d3
JM
3282 [BZ #16516]
3283 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3284 (__erf): Scale by 16 instead of 8 in potentially underflowing
3285 case. Ensure exception if result actually underflows.
3286 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3287 (__erff): Scale by 16 instead of 8 in potentially underflowing
3288 case. Ensure exception if result actually underflows.
3289 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3290 (efx8): Remove variable.
3291 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3292 case. Ensure exception if result actually underflows.
3293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3294 (efx8): Remove variable.
3295 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3296 case. Ensure exception if result actually underflows.
3297 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3298 (efx8): Remove variable.
3299 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3300 case. Ensure exception if result actually underflows.
3301 * math/auto-libm-test-in: Add more tests of erf.
3302 * math/auto-libm-test-out: Regenerated.
3303
73ba67cb
AS
33042014-05-14 Andreas Schwab <schwab@suse.de>
3305
3d8c8bff
AS
3306 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3307 Remove code conditionalized on USE___THREAD.
3308
73ba67cb
AS
3309 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3310 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3311 not definedness.
3312
5c521ecd
JM
33132014-05-14 Joseph Myers <joseph@codesourcery.com>
3314
5e7698c6
JM
3315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3316 Define unconditionally.
3317 (__ASSUME_O_CLOEXEC): Likewise.
3318 (__ASSUME_SOCK_CLOEXEC): Likewise.
3319 (__ASSUME_IN_NONBLOCK): Likewise.
3320 (__ASSUME_PIPE2): Likewise.
3321 (__ASSUME_EVENTFD2): Likewise.
3322 (__ASSUME_SIGNALFD4): Likewise.
3323 (__ASSUME_DUP3): Likewise.
3324 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3325 (__ASSUME_DUP3): Do not define.
3326 (__ASSUME_EVENTFD2): Likewise.
3327 (__ASSUME_IN_NONBLOCK): Likewise.
3328 (__ASSUME_O_CLOEXEC): Likewise.
3329 (__ASSUME_PIPE2): Likewise.
3330 (__ASSUME_SIGNALFD4): Likewise.
3331 (__ASSUME_SOCK_CLOEXEC): Likewise.
3332 (__ASSUME_UTIMES): Undefine.
3333 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3334 (__ASSUME_UTIMES): Do not define.
3335 (__ASSUME_O_CLOEXEC): Likewise.
3336 (__ASSUME_SOCK_CLOEXEC): Likewise.
3337 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3338 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3339 0x020621].
3340 (__ASSUME_PIPE2): Likewise.
3341 (__ASSUME_EVENTFD2): Likewise.
3342 (__ASSUME_SIGNALFD4): Likewise.
3343 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3344 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3345 Do not define.
3346 (__ASSUME_EVENTFD2): Likewise.
3347 (__ASSUME_SIGNALFD4): Likewise.
3348 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3349 (__ASSUME_32BITUIDS): Likewise.
3350 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3351 (__ASSUME_IPC64): Likewise.
3352 (__ASSUME_ST_INO_64_BIT): Likewise.
3353 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3354 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3355 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3356 (__ASSUME_UTIMES): Do not define.
3357 (__ASSUME_PSELECT): Likewise.
3358 (__ASSUME_PPOLL): Likewise.
3359 (__ASSUME_O_CLOEXEC): Likewise.
3360 (__ASSUME_SOCK_CLOEXEC): Likewise.
3361 (__ASSUME_IN_NONBLOCK): Likewise.
3362 (__ASSUME_PIPE2): Likewise.
3363 (__ASSUME_EVENTFD2): Likewise.
3364 (__ASSUME_SIGNALFD4): Likewise.
3365 (__ASSUME_DUP3): Likewise.
3366 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3367 (__ASSUME_UTIMES): Likewise.
3368 (__ASSUME_O_CLOEXEC): Likewise.
3369 (__ASSUME_SOCK_CLOEXEC): Likewise.
3370 (__ASSUME_IN_NONBLOCK): Likewise.
3371 (__ASSUME_PIPE2): Likewise.
3372 (__ASSUME_EVENTFD2): Likewise.
3373 (__ASSUME_SIGNALFD4): Likewise.
3374 (__ASSUME_DUP3): Likewise.
3375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3376 (__ASSUME_UTIMES): Likewise.
3377 (__ASSUME_O_CLOEXEC): Likewise.
3378 (__ASSUME_SOCK_CLOEXEC): Likewise.
3379 (__ASSUME_IN_NONBLOCK): Likewise.
3380 (__ASSUME_PIPE2): Likewise.
3381 (__ASSUME_EVENTFD2): Likewise.
3382 (__ASSUME_SIGNALFD4): Likewise.
3383 (__ASSUME_DUP3): Likewise.
3384 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3385 Likewise.
3386 (__ASSUME_UTIMES): Likewise.
3387 (__ASSUME_EVENTFD2): Likewise.
3388 (__ASSUME_SIGNALFD4): Likewise.
3389 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3390 (__ASSUME_O_CLOEXEC): Likewise.
3391 (__ASSUME_SOCK_CLOEXEC): Likewise.
3392 (__ASSUME_IN_NONBLOCK): Likewise.
3393 (__ASSUME_PIPE2): Likewise.
3394 (__ASSUME_EVENTFD2): Likewise.
3395 (__ASSUME_SIGNALFD4): Likewise.
3396 (__ASSUME_DUP3): Likewise.
3397 (__ASSUME_UTIMES): Undefine.
3398
5c521ecd
JM
3399 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3400 feclearexcept. Remove symbol versioning code.
3401 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3402 symbol versioning code.
3403 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3404 symbol versioning code.
3405 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3406 feupdateenv. Remove symbol versioning code.
3407 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3408 fegetexceptflag. Remove symbol versioning code.
3409 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3410 fesetexceptflag. Remove symbol versioning code.
3411 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3412 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3413 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3414 (__posix_fadvise64_l32): Remove prototype.
3415 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3416 code.
3417
5da9dfad
RM
34182014-05-13 Roland McGrath <roland@hack.frob.com>
3419
3420 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3421 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3422 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3423 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3424
893b4f37
SK
34252014-05-13 Sami Kerola <kerolasa@iki.fi>
3426
3427 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3428 current working directory
3429
e0db6517
RM
34302014-05-13 Roland McGrath <roland@hack.frob.com>
3431
58aa195d
RM
3432 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3433 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3434 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3435 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3436 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3437 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3438 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3439 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3440 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3441 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3442 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3443 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3444 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3445 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3447 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3448 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3449 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3450 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3451 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3457 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3458 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3459 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3461 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3463 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3464 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3465 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3466 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3467 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3468 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3469 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3470 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3471 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3472 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3473 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3474
8c6d01f0
RM
3475 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3476 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3477
3478 * sysdeps/unix/sysv/linux/arm/Makefile
3479 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3480 Add rt-aeabi_unwind_cpp_pr1.
3481 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3482 Add nptl-aeabi_unwind_cpp_pr1.
3483 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3484 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3485 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3486 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3487 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3488 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3489
3490 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3491 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3492 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3493 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3494
bba6da4e
RM
3495 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3496 Deconditionalize the code that was previously under [RESET_PID].
3497 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3498
e0db6517
RM
3499 * sysdeps/generic/exit-thread.h: New file.
3500 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3501 * include/unistd.h (__exit_thread): Remove declaration.
3502 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3503 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3504 * csu/libc-start.c: Include <exit-thread.h>.
3505 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3506 * nptl/pthread_create.c: Include <exit-thread.h>.
3507 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3508 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3509 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3510 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3511 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3512 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3513 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3514 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3515 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3516 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3517 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3518 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3519 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3520 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3521 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3522 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3523 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3524
01eb16fd
AS
35252014-05-13 Andreas Schwab <schwab@suse.de>
3526
3527 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3528
637461d9
JM
35292014-05-12 Joseph Myers <joseph@codesourcery.com>
3530
3531 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3532 (__ASSUME_UTIMES): Do not condition on kernel version.
3533 (__ASSUME_PSELECT): Define unconditionally.
3534 (__ASSUME_PPOLL): Likewise.
3535 (__ASSUME_ATFCTS): Likewise.
3536 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3537 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3538 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3539 (__ASSUME_UTIMENSAT): Define unconditionally.
3540 (__ASSUME_PRIVATE_FUTEX): Likewise.
3541 (__ASSUME_FALLOCATE): Likewise.
3542 (__ASSUME_O_CLOEXEC): Likewise.
3543 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3544 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3545 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3546 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3547 (__ASSUME_IN_NONBLOCK): Likewise.
3548 (__ASSUME_PIPE2): Likewise.
3549 (__ASSUME_EVENTFD2): Likewise.
3550 (__ASSUME_SIGNALFD4): Likewise.
3551 (__ASSUME_DUP3): Likewise.
3552 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3553 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3554 (__ASSUME_AT_RANDOM): Likewise.
3555 (__ASSUME_PREADV): Likewise.
3556 (__ASSUME_PWRITEV): Likewise.
3557 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3558 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3559 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3560 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3561 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3562 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3563 (__ASSUME_O_CLOEXEC): Define unconditionally.
3564 (__ASSUME_PSELECT): Do not undefine conditionally.
3565 (__ASSUME_PPOLL): Likewise.
3566 (__ASSUME_ATFCTS): Likewise.
3567 (__ASSUME_SET_ROBUST_LIST): Likewise.
3568 (__ASSUME_UTIMENSAT): Likewise.
3569 (__ASSUME_FDATASYNC): Define unconditionally.
3570 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3571 (__ASSUME_SIGFRAME_V2): Likewise.
3572 )__ASSUME_EVENTFD2): Likewise.
3573 (__ASSUME_SIGNALFD4): Likewise.
3574 (__ASSUME_PSELECT): Do not undefine conditionally.
3575 (__ASSUME_PPOLL): Likewise.
3576 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3577 (__ASSUME_PSELECT): Define unconditionally.
3578 (__ASSUME_PPOLL): Likewise.
3579 (__ASSUME_O_CLOEXEC): Likewise.
3580 (__ASSUME_SOCK_CLOEXEC): Likewise.
3581 (__ASSUME_IN_NONBLOCK): Likewise.
3582 (__ASSUME_PIPE2): Likewise.
3583 (__ASSUME_EVENTFD2): Likewise.
3584 (__ASSUME_SIGNALFD4): Likewise.
3585 (__ASSUME_DUP3): Likewise.
3586 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3587 (__ASSUME_O_CLOEXEC): Likewise.
3588 (__ASSUME_SOCK_CLOEXEC): Likewise.
3589 (__ASSUME_IN_NONBLOCK): Likewise.
3590 (__ASSUME_PIPE2): Likewise.
3591 (__ASSUME_EVENTFD2): Likewise.
3592 (__ASSUME_SIGNALFD4): Likewise.
3593 (__ASSUME_DUP3): Likewise.
3594 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3595 (__ASSUME_EVENTFD2): Likewise.
3596 (__ASSUME_SIGNALFD4): Likewise.
3597 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3598
315eb1d8
AS
35992014-05-12 Andreas Schwab <schwab@suse.de>
3600
3601 [BZ #16932]
3602 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3603 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3604 than maximum RPC packet size.
3605 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3606 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3607 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3608 (_nss_nis_getservbyport_r): Likewise.
3609
91df99f7
WN
36102014-05-12 Will Newton <will.newton@linaro.org>
3611
3612 * malloc/Makefile (tests): Add tst-mallopt.
3613 * malloc/tst-mallopt.c: New file.
3614
0a982a29
RM
36152014-05-09 Roland McGrath <roland@hack.frob.com>
3616
3617 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3618 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3619
0ded08a5
AZ
36202014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3621
3622 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3623 (tst-tlsmod6.so): Likewise.
3624
55d4d550
RM
36252014-05-09 Roland McGrath <roland@hack.frob.com>
3626
3627 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3628
77d08aca
JM
36292014-05-09 Joseph Myers <joseph@codesourcery.com>
3630
3631 [BZ #16064]
3632 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3633 and <dl-procinfo.h>.
3634 (__fegetenv): Save SSE state in envp->__eip if supported.
3635 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3636 envp->__eip if supported.
3637 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3638 and <dl-procinfo.h>.
3639 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3640 __data_offset and __data_selector in environment to 0. Set SSE
3641 state if supported.
3642 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3643 test-fenv-sse.
3644 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3645 -mfpmath=sse.
3646 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3647
28162f4d
WN
36482014-05-09 Will Newton <will.newton@linaro.org>
3649
3650 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3651 and libc_relro_required for ARM.
3652 * sysdeps/arm/preconfigure: Regenerate.
3653
5a414ff7
DV
36542014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3655 Stefan Liebler <stli@linux.vnet.ibm.com>
3656
3657 * config.make.in (enable-lock-elision): New Makefile variable.
3658 * configure.ac: Likewise.
3659 * configure: Regenerate.
3660 * sysdeps/s390/configure.ac:
3661 Add check for gcc transactions support.
3662 * sysdeps/s390/configure: Regenerate.
3663 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3664 Build elision files if enabled.
3665 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3666 Add lock elision support for s390.
3667 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3668 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3669 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3670 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3671 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3672 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3673 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3674 Likewise.
3675 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3676 Likewise.
3677 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3678 Likewise.
3679 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3680 Likewise.
3681 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3682 (__lll_timedlock_elision, __lll_lock_elision)
3683 (__lll_unlock_elision, __lll_trylock_elision)
3684 (lll_timedlock_elision, lll_lock_elision)
3685 (lll_unlock_elision, lll_trylock_elision): Add.
3686 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3687 (pthread_mutex_t): Add lock elision support for s390.
3688
1a2f40e5
W
36892014-05-14 Wilco <wdijkstr@arm.com>
3690
3691 * sysdeps/arm/fclrexcpt.c: Cleanup.
3692 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3693 * sysdeps/arm/feenablxcpt.c: Cleanup.
3694 * sysdeps/arm/fegetenv.c: Cleanup.
3695 * sysdeps/arm/fegetexcept.c: Cleanup.
3696 * sysdeps/arm/fegetround.c: Cleanup.
3697 * sysdeps/arm/feholdexcpt.c: Cleanup.
3698 * sysdeps/arm/fesetenv.c: Cleanup.
3699 * sysdeps/arm/fesetround.c: Cleanup.
3700 * sysdeps/arm/feupdateenv.c: Cleanup.
3701 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3702 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3703 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3704 * sysdeps/arm/ftestexcept.c: Cleanup.
3705 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3706 * sysdeps/arm/setfpucw.c: Cleanup.
3707
f63c86fe
WN
37082014-05-09 Will Newton <will.newton@linaro.org>
3709
3710 * sysdeps/arm/armv7/strcmp.S: New file.
3711 * NEWS: Mention addition of ARMv7 optimized strcmp.
3712
7a1a51b5
RM
37132014-05-08 Roland McGrath <roland@hack.frob.com>
3714
95afbbe5
RM
3715 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3716 look for %.ac rather than %.in.
3717
3718 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3719 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3720 * sysdeps/mach/hurd/configure: Regenerated.
3721 * sysdeps/unix/sysv/linux/configure: Regenerated.
3722
7a1a51b5
RM
3723 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3724
5057ad3b
SE
37252014-05-07 Steve Ellcey <sellcey@mips.com>
3726
3727 [BZ# 16922]
3728 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3729 (LONG_SUB): Ditto.
3730 (PTR_SUB): Ditto.
3731
8dc97517
AS
37322014-05-07 Andreas Schwab <schwab@suse.de>
3733
3734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3735 when skipping over non-matching result from nscd.
3736
ce0c5b8f
OB
37372014-05-07 Ondřej Bílka <neleai@seznam.cz>
3738
3739 [BZ #16876]
3740 * nptl/sockperf.c (client): Check socket return value.
8dc97517 3741
a1189263
OB
3742 [BZ #16877]
3743 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3744 nscd security class.
ce0c5b8f 3745
0f58d252
RM
37462014-05-06 Roland McGrath <roland@hack.frob.com>
3747
3748 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3749 * sysdeps/arm/unwind.h: ... here.
3750
83df9ad0
AJ
37512014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3752
ce0c5b8f
OB
3753 [BZ# 16916]
3754 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3755 Define.
83df9ad0 3756
f360f94a
VR
37572014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3758
3759 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3760 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3761 multiarch strncpy for PPC64.
3762 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3763 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3765 multiarch optimizations.
3766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3767 (__libc_ifunc_impl_list): Likewise.
3768 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3769 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3770 multiarch stpncpy for PPC64.
3771 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3772 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3773
978a41c3
AS
37742014-05-06 Andreas Schwab <schwab@suse.de>
3775
3776 [BZ #16912]
3777 * gmon/mcount.c (_MCOUNT_DECL): Use
3778 atomic_compare_and_exchange_bool_acq instead of
3779 catomic_compare_and_exchange_bool_acq.
3780
eb1ed03d
RM
37812014-05-05 Roland McGrath <roland@hack.frob.com>
3782
fe658845
RM
3783 * elf/Makefile (others, install-bin): Remove pldd.
3784 (pldd-modules): Variable removed.
3785 ($(objpfx)pldd): Target removed.
3786 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3787 (others, install-bin): Append pldd here.
3788 ($(objpfx)pldd): New target.
3789
eb1ed03d
RM
3790 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3791 to 0, so the first #if test emitted later doesn't see it undefined.
3792 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3793 * sysdeps/gnu/errlist.c: Regenerated.
3794
19c4bec0
AZ
37952014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3796
3797 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3798 [libc_hidden_builtin_def]: Define to empty value.
3799 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3800 [libc_hidden_builtin_def]: Likewise.
3801 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3802 [libc_hidden_builtin_def]: Likewise.
3803 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3804 [libc_hidden_builtin_def]: Likewise.
3805 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3806 __redirect_memcpy and define ifunc as default hidden symbol.
3807 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3808 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3809
7776e669
AC
38102014-05-04 Adam Conrad <adconrad@0c3.net>
3811
3812 * locale/iso-4217.def: Reintroduce XDR currency.
3813
d69aeb12
AM
38142014-05-04 Allan McRae <allan@archlinux.org>
3815
3816 * po/eo.po: Update Esperanto translation from translation project.
3817
8f1df5cf
CD
38182014-05-02 Carlos O'Donell <carlos@redhat.com>
3819
3820 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3821 and FEATURE_INDEX_MAX to 1.
3822 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3823
13e402e7
SE
38242014-05-01 Steve Ellcey <sellcey@mips.com>
3825
3826 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3827 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3828 * iconvdata/big5.c (ONE_DIRECTION): Define.
3829 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3830 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3831 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3832 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3833 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3834 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3835 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3836 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3837 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3838 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3839 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3840 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3841 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3842 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3843 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3844 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3845 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3846 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3847 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3848 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3849 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3850 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3851 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3852 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3853 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3854 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3855 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3856 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3857 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3858 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3859 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3860 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3861 * iconvdata/johab.c (ONE_DIRECTION): Define.
3862 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3863 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3864 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3865 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3866 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3867 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3868 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3869 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3870 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3871 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3872
c727f032
RM
38732014-05-01 Roland McGrath <roland@hack.frob.com>
3874
8f2f08d0
RM
3875 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3876 (_IO_JUMPS_OFFSET): Define to 0.
3877
c727f032
RM
3878 * nptl/sysdeps/pthread/bits/libc-lock.h
3879 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3880 (__libc_lock_define_initialized_recursive): Always define using
3881 initializer. Modern compilers treat uninitialized (implicit zero) and
3882 explicit zero initializers the same (i.e. put the datum in bss).
3883
a849e800
AS
38842014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3885
3886 * nscd/nscd-client.h: Include <string.h>.
3887
5331255b
DM
38882014-05-01 David S. Miller <davem@davemloft.net>
3889
3890 [BZ #16885]
3891 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3892 multiple zero bytes exist at the end of a string.
3893 Reported by Aurelien Jarno <aurelien@aurel32.net>
3894
3895 * string/test-strcmp.c (check): Add explicit test for situations where
3896 there are multiple zero bytes after the first.
3897
4fdfe821
AS
38982014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3899
3900 [BZ #16890]
3901 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3902 when compiling wprintf.
3903 * stdio-common/tstdiomisc.c (t3): New function.
3904 (main): Call it.
3905
0cdddc25
SE
39062014-05-01 Steve Ellcey <sellcey@mips.com>
3907
3908 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3909 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3910 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3911 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3912
6426d77e
SE
39132014-05-01 Steve Ellcey <sellcey@mips.com>
3914
3915 * stdlib/longlong.h: Updated from GCC.
3916
6d96f5e4
WN
39172014-05-01 Will Newton <will.newton@linaro.org>
3918 Bernard Ogden <bernie.ogden@linaro.org>
3919
7470db0c
WN
3920 * NEWS: Update fixed bug list.
3921
6d96f5e4
WN
3922 [BZ #15119]
3923 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3924
211d653c
DM
39252014-04-30 David S. Miller <davem@davemloft.net>
3926
4fa262fa
DM
3927 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3928 (libc_feholdexcept_setround_sparc_ctx): New function.
3929 (libc_fesetenv_sparc_ctx): Likewise.
3930 (libc_feupdateenv_sparc_ctx): Likewise.
3931 (libc_feholdsetround_sparc_ctx): Likewise.
3932 (libc_feholdexcept_setround_ctx): Define.
3933 (libc_feholdexcept_setroundf_ctx): Likewise.
3934 (libc_feholdexcept_setroundl_ctx): Likewise.
3935 (libc_fesetenv_ctx): Likewise.
3936 (libc_fesetenvf_ctx): Likewise.
3937 (libc_fesetenvl_ctx): Likewise.
3938 (libc_feupdateenv_ctx): Likewise.
3939 (libc_feupdateenvf_ctx): Likewise.
3940 (libc_feupdateenvl_ctx): Likewise.
3941 (libc_feresetround_ctx): Likewise.
3942 (libc_feresetroundf_ctx): Likewise.
3943 (libc_feresetroundl_ctx): Likewise.
3944 (libc_feholdsetround_ctx): Likewise.
3945 (libc_feholdsetroundf_ctx): Likewise.
3946 (libc_feholdsetroundl_ctx): Likewise.
3947
1d3d93ef
DM
3948 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3949 with __USE_GNU instead of XOPEN cpp guards.
3950
8aa583c3
DM
3951 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3952 0.
3953
211d653c
DM
3954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3955 with XOPEN cpp guards.
3956
60c8f1f6
JB
39572014-04-30 Julian Brown <julian@codesourcery.com>
3958
3959 [BZ #16888]
3960 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3961 handling.
3962
9a461d46
JM
39632014-04-30 Joseph Myers <joseph@codesourcery.com>
3964
d0f5b3f8
JM
3965 [BZ #9894]
3966 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3967 Change to 2.6.32.
3968 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3969 * sysdeps/unix/sysv/linux/configure: Regenerated.
3970 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3971 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3972 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3973 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3974 * README: Update reference to required Linux kernel version.
3975 * manual/install.texi (Linux): Update reference to required Linux
3976 kernel headers version.
3977 * INSTALL: Regenerated.
3978
9a461d46
JM
3979 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3980 header inclusion.
3981 [POSIX] (limits.h): Likewise.
3982 [POSIX] (math.h): Likewise.
3983 [POSIX] (sys/wait.h): Likewise.
3984 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3985 function.
3986 [POSIX] (stddef.h): Do not allow header inclusion.
3987
1775babf
AZ
39882014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3989
57f41c40 3990 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 3991
8f630cca
YY
39922014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3993
3994 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3995 Return immediately after lll_futex_wake.
3996
1cdeb237
SP
39972014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3998
bc8f194c
SP
3999 [BZ #16791]
4000 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4001 structure.
4002 (datahead_init_pos): Call datahead_init_common early.
4003 (datahead_init_neg): Likewise.
4004
1cdeb237
SP
4005 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4006 datahead_init_neg): New functions.
4007 * nscd/aicache.c (addhstaiX): Use them.
4008 * nscd/grpcache.c (cache_addgr): Likewise.
4009 * nscd/hstcache.c (cache_addhst): Likewise.
4010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4011 * nscd/netgroupcache.c (do_notfound): Likewise.
4012 (addgetnetgrentX): Likewise.
4013 (addinnetgrX): Likewise.
4014 * nscd/pwdcache.c (cache_addpw): Likewise.
4015 * nscd/servicescache.c (cache_addserv): Likewise.
4016
16b293a7
SP
40172014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4018 Atsushi Onoe <atsushi@onoe.org>
4019
4020 [BZ #14308]
4021 [BZ #12994]
4022 [BZ #13651]
4023 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4024 one response is valid.
4025 * resolv/res_send.c (send_dg): Check for validity of other
4026 response if the current response is a referral.
4027
a28a9b94
SE
40282014-04-29 Steve Ellcey <sellcey@mips.com>
4029
4030 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4031
2ca180e9
SL
40322014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4033
4034 [BZ #16823]
4035 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4036 Always divide by positive zero when computing -Inf result.
4037 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4038 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4039
18f2945a
AZ
40402014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4041
4042 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4043 FPSCR if value do not change.
4044 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4045 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4046 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4047 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4048 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4049 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4050 function.
4051
5abebba4
CD
40522014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4053
4054 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4055 * sysdeps/unix/sysv/linux/hppa: Move directory from
4056 ports/systeps/unix/sysv/linux/hppa.
4057 * README: Update listing for hppa-*-linux-gnu.
4058
f7ed60c2
OB
40592014-04-28 Ondřej Bílka <neleai@seznam.cz>
4060
fff763a5
OB
4061 [BZ #16754]
4062 * manual/stdio.texi (Hook functions): Fix types of stream hook
4063 functions.
f7ed60c2
OB
4064 [BZ #16854]
4065 * socket/sys/socket.h: Fix typo in comment.
4066
df639d73
WD
40672014-04-28 Wilco <wdijkstr@arm.com>
4068
f7ed60c2 4069 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
4070 * sysdeps/arm/math_private.h: New file.
4071 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4072
48332d82
L
40732014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4076 with __int128_t.
4077 (La_x86_64_retval): Likewise.
4078
e5e0d9a4
IB
40792014-04-24 Ian Bolton <ian.bolton@arm.com>
4080
4081 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4082 fpsr if value didn't change.
4083 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4084 to fpcr if value didn't change.
4085 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4086 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4087 fpsr or fpcr if value didn't change.
4088 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4089 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4090 fpcr if value didn't change.
4091 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4092 to fpsr if value didn't change.
4093
bacc75f7
SP
40942014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4095
4096 * nptl/tst-sem3.c: Use test-skeleton.c
4097 (main): Rename to do_test. Use return instead of
4098 exit.
4099 * nptl/tst-sem4.c: Use test-skeleton.c
4100 (main): Rename to do_test.
4101
a059d359
DM
41022014-04-22 David S. Miller <davem@davemloft.net>
4103
4104 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4105 (struct sigaction): New struct member __glibc_reserved0, change
4106 type of sa_flags to int.
4107
ea6c92f3
YZ
41082014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4109
4110 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4111 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4112
766c4a36
SP
41132014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4114
4115 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4116 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4117
140cc7ab
VK
41182014-04-22 Will Newton <will.newton@linaro.org>
4119 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4120
4121 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4122 (__longjmp): Add longjmp and longjmp_target SystemTap
4123 probes.
4124 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4125 (__sigsetjmp): Add setjmp SystemTap probe.
4126
c54e5cf7
CD
41272014-04-17 Carlos O'Donell <carlos@redhat.com>
4128
4129 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4130 match manual order.
4131
75ffb047
AZ
41322014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4133
4134 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4135
2cd925f7
AZ
4136 * sysdeps/powerpc/fpu/fenv_private.h
4137 (libc_feholdexcept_setroundl_ctx): Define to
4138 libc_feholdexcept_setround_ppc_ctx.
4139 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4140 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4141 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4142 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4143
39e6cd8d
IB
41442014-04-17 Ian Bolton <ian.bolton@arm.com>
4145
4146 * sysdeps/aarch64/math-tests.h: New file.
4147
f9281df9
SY
41482014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4149
4150 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4151 New.
4152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4153 Check and set bit_AVX2_Usable.
4154 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4155 macro.
4156 (bit_AVX2): Likewise.
4157 (index_AVX2_Usable): Likewise.
4158 (CPUID_AVX2): Likewise.
4159 (HAS_AVX2): Likewise.
4160
37d35007
WN
41612014-04-17 Will Newton <will.newton@linaro.org>
4162
7c677662
WN
4163 * manual/setjmp.texi (System V contexts): Add note that
4164 calling setcontext on a context created by a call to a
4165 signal handler is undefined. Update text to note that
4166 setcontext from a signal handler is possible but not
4167 recommended.
4168
37d35007 4169 [BZ #16629]
e04a4e9d
WN
4170 * stdlib/tst-setcontext.c: Include signal.h.
4171 (main): Check that the signal stack before and
4172 after swapcontext is the same.
4173
37d35007
WN
4174 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4175 Re-implement to restore registers in user code and avoid
4176 rt_sigreturn system call.
4177
423a7160
W
41782014-04-17 Wilco <wdijkstr@arm.com>
4179
4180 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4181 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4182 * math/test-fenv.c: Skip exception trap tests on targets which only
4183 support non-stop mode.
4184
bc93ab29
IB
41852014-04-17 Ian Bolton <ian.bolton@arm.com>
4186 Wilco Dijkstra <wilco.dijkstra@arm.com>
4187
4188 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4189 (libc_feholdsetround_aarch64_ctx)
4190 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4191 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4192 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4193 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4194 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4195 (libc_feresetround_noexl_ctx): Define.
4196
95fc5fa3
RH
41972014-04-16 Richard Henderson <rth@redhat.com>
4198
ddb04724
RH
4199 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4200
d77c0899
RH
4201 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4202 unwind tables.
4203
a3df56fc
RH
4204 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4205 const from the non-libc, non-ldso copy.
4206
95fc5fa3
RH
4207 * sysdeps/alpha/libm-test-ulps: Regenerate.
4208
7e0b6763
IB
42092014-04-16 Ian Bolton <ian.bolton@arm.com>
4210 Wilco Dijkstra <wilco.dijkstra@arm.com>
4211
4212 * sysdeps/aarch64/fpu/math_private.h: New file.
4213
a9ea2e0c
MS
42142014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4215
4216 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4217
ea8ba7cd
IZ
42182014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4219
4220 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4221 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4222 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4223 Intel MPX bound registers before _dl_profile_fixup.
4224 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4225 registers after _dl_profile_fixup. Save and restore bound
4226 registers bnd0/bnd1 when calling _dl_call_pltexit.
4227 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4228 (LR_BND_OFFSET): Likewise.
4229 (LRV_BND0_OFFSET): Likewise.
4230 (LRV_BND1_OFFSET): Likewise.
4231
9f2a4fbc
ST
42322014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4233
4234 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4235 to...
4236 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
4237 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4238 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4239 fields.
9f2a4fbc 4240
fd15a59b
ST
42412014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4242
4243 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4244
f19dfa0a
SL
42452014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4246
4247 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4248
4fa8bc3b
SL
42492014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4250
4251 [BZ #14770]
4252 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4253 * sysdeps/s390/configure: Regenerate.
4254
8ea587db
SL
4255 [BZ #16824]
4256 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4257 Set round-to-nearest internally to reduce error accumulation.
4258
aa5f0ff1
AM
42592014-04-16 Alan Modra <amodra@gmail.com>
4260
4261 [BZ #16740]
4262 [BZ #16619]
4263 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4264 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 4265 * NEWS: Update fixed bug list.
aa5f0ff1 4266
bb9c256f
SP
42672014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4268
4269 * benchtests/Makefile: Depend on libraries in build directory.
4270 (bench-math): Separate out math tests.
4271 (bench-pthread): Separate out pthread tests.
4272 (bench): Include math and pthread tests.
4273
f737dfd0
CD
42742014-04-14 Carlos O'Donell <carlos@redhat.com>
4275
4276 [BZ #16831]
4277 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4278 _dl_debug_initialize.
4279
0699f766
CD
4280 * configure.ac: Remove SELinux header check.
4281 * configure: Regenerate.
4282 * nscd/selinux.c (perms): Array of const char* to permission names.
4283 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4284 default policy. Call string_to_security_class and string_to_av_perm to
4285 translate strings. Enforce default policy and call avs_has_perm with
4286 results of translated strings.
4287
809bd45f
DM
42882014-04-13 David S. Miller <davem@davemloft.net>
4289
4290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4291
89e691f2
AM
42922014-04-12 Allan McRae <allan@archlinux.org>
4293
4294 [BZ #16838]
4295 * manual/string.texi (Collation Functions): Fix qsort argument
4296 order in example.
4297 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4298
9c9daaeb
CM
42992014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4300
4301 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4302 Make the test a no-op if there are no exceptions defined.
4303
95561fb9
PP
43042014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4305
fe8d072c 4306 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
4307 enable-hardcoded-path-in-tests
4308
970c602a
WN
43092014-04-11 Will Newton <will.newton@linaro.org>
4310
4311 * benchtests/Makefile (extra-objs): Add json-lib.o.
4312 (bench-func): Tidy up JSON output.
4313 * benchtests/bench-skeleton.c: Include json-lib.h.
4314 (main): Use JSON library functions to do output of
4315 benchmark results.
4316 * benchtests/bench-timing-type.c (main): Output the
4317 timing type simply, leaving formatting to the user.
4318 * benchtests/json-lib.c: New file.
4319 * benchtests/json-lib.h: Likewise.
4320
36875b06
TR
43212014-04-11 Torvald Riegel <triegel@redhat.com>
4322
4323 [BZ #15215]
4324 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4325 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4326 memory barriers. Add comments.
4327 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4328 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4329 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4330 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4331 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4332 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4333
579db35a
SL
43342014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4335
4336 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4337 * sysdeps/s390/s390-64/configure.ac: ... this ...
4338 * sysdeps/s390/configure.ac: ... to here.
4339 * sysdeps/s390/s390-32/configure: Delete file.
4340 * sysdeps/s390/s390-64/configure: Delete file.
4341 * sysdeps/s390/configure: Regenerate.
4342
c12e9f37
JAPH
43432014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4344
4345 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4346
439bda32
WN
43472014-04-11 Will Newton <will.newton@linaro.org>
4348
4349 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4350 to zero if it is not defined elsewhere. (mtrim): Test
4351 the value of MALLOC_DEBUG with #if rather than #ifdef.
4352
6a5d6ea1
TR
43532014-04-10 Torvald Riegel <triegel@redhat.com>
4354
4355 * benchtests/pthread_once-inputs: New file.
4356 * benchtests/pthread_once-source.c: New file.
4357 * benchtests/README: Update documentation.
4358
a4c75cfd
IZ
43592014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4360 H.J. Lu <hongjiu.lu@intel.com>
4361
4362 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4363 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4364 * sysdeps/x86_64/configure: Regenerated.
4365 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4366 macro.
4367 (REGISTER_SAVE_RAX): Likewise.
4368 (REGISTER_SAVE_RCX): Likewise.
4369 (REGISTER_SAVE_RDX): Likewise.
4370 (REGISTER_SAVE_RSI): Likewise.
4371 (REGISTER_SAVE_RDI): Likewise.
4372 (REGISTER_SAVE_R8): Likewise.
4373 (REGISTER_SAVE_R9): Likewise.
4374 (REGISTER_SAVE_BND0): Likewise.
4375 (REGISTER_SAVE_BND1): Likewise.
4376 (REGISTER_SAVE_BND2): Likewise.
4377 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4378 bound registers when calling _dl_fixup.
4379
27822ce6
AZ
43802014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4381
4382 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
4383 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4384 of its definition.
27822ce6
AZ
4385 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4386 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4387 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4388 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4389 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4390 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4391 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4392
a88ddc90
PTB
43932014-04-09 Peter Brett <peter@peter-b.co.uk>
4394
4395 [BZ #15514]
4396 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4397 pathconf(_PC_NAME_MAX).
4398
01f8eac2
AZ
43992014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4400
4401 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4402 Remove macro usage.
4403 (__PTHREAD_SPINS): Move definition to ...
4404 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4405 (__PTHREAD_SPINS): ... here.
4406 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4407 (__PTHREAD_SPIN): Likewise.
4408 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4409 (__PTHREAD_SPIN): Likewise.
4410 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4411 (__PTHREAD_SPIN): Likewise.
4412 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4413 (__PTHREAD_SPIN): Likewise.
4414 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4415 (__PTHREAD_SPIN): Likewise.
4416 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4417 (__PTHREAD_SPIN): Likewise.
4418 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4419 (__PTHREAD_SPIN): Likewise.
4420 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4421 (__PTHREAD_SPIN): Likewise.
4422 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4423 (__PTHREAD_SPIN): Likewise.
4424 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4425 (__PTHREAD_SPIN): Likewise.
4426 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4427 (__PTHREAD_SPIN): Likewise.
4428 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4429 (__PTHREAD_SPIN): Likewise.
4430
de21c33c
AZ
4431 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4432 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4433 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4434 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4435 imply folder.
4436 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4437 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4438 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4439 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4440 correct imply path.
4441 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4442 strlen symbol for non multi-arch builds.
4443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4444 missing hidden_def and weak_alias.
4445
862c472e
CD
44462014-04-08 Carlos O'Donell <carlos@redhat.com>
4447
4448 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4449
8667f90e
WN
44502014-04-07 Will Newton <will.newton@linaro.org>
4451
4452 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4453 and contents. [!_LIBC] Remove #ifndef and contents.
4454 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4455 * string/memccpy.c (__memccpy): Use ANSI prototype.
4456 * string/memfrob.c (memfrob): Likewise.
4457 * string/strcoll.c (STRCOLL): Likewise.
4458 * string/strlen.c (strlen): Likewise.
4459 * string/strtok.c (STRTOK): Likewise.
4460 * string/strcat.c: Remove unused #include of memcopy.h.
4461 (strcat): Use ANSI prototype.
4462 * string/strchr.c: Remove unused #include of memcopy.h.
4463 (strchr): Use ANSI prototype.
4464 * string/strcmp.c: Remove unused #include of memcopy.h.
4465 (strcmp): Use ANSI prototype.
4466 * string/strcpy.c: Remove unused #include of memcopy.h.
4467 (strcpy): Use ANSI prototype.
4468
7ffa9423
AZ
44692014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4470
4471 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4472 * config.make.in (config-extra-cppflags): Set it from
4473 libc_extra_cppflags.
4474 * configure.ac (libc_extra_cflags): Make it accumulate over
4475 configure fragments.
4476 (libc_extra_cppflags): New flag.
4477 * configure. Regenerate.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
4479 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4480 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4482
8bd70862
AZ
4483 [BZ #16815]
4484 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4485 result for FE_DOWNWARD rounding mode.
4486 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4487 Likewise.
4488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4489
d42f3448
CM
44902014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4491
4492 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4493 in function argument name.
4494
1c21d115
DS
44952014-04-03 David Svoboda <svoboda@cert.org>
4496
4497 [BZ #5666]
4498 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4499 explicitly.
4500
fcccd512
RM
45012014-04-03 Roland McGrath <roland@hack.frob.com>
4502
4503 * elf/dl-unmap-segments.h: New file.
4504 * sysdeps/generic/ldsodefs.h
4505 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4506 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4507 * elf/dl-fptr.c: Likewise.
4508 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4509 * sysdeps/aarch64/tlsdesc.c: Likewise.
4510 * sysdeps/arm/tlsdesc.c: Likewise.
4511 * sysdeps/i386/tlsdesc.c: Likewise.
4512 * sysdeps/tile/dl-runtime.c: Likewise.
4513 * sysdeps/x86_64/tlsdesc.c: Likewise.
4514 * elf/dl-load.h: New file.
4515 * elf/dl-load.c: Include it.
4516 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4517 Macros moved to dl-load.h.
4518 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4519 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4520 Use _dl_unmap_segments in place of __munmap.
4521 Break out segment-mapping loop into ...
4522 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4523
f6488e2b
WN
45242014-04-03 Will Newton <will.newton@linaro.org>
4525
4526 * elf/dl-lookup.c (do_lookup_x): Remove comment
4527 referring to nested function and move variable
4528 declarations down to before first use.
4529
6f05bafe
JM
45302014-04-02 Joseph Myers <joseph@codesourcery.com>
4531
a84e78c8
JM
4532 [BZ #16799]
4533 [BZ #16800]
4534 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4535 with 0 numerator.
4536 * math/s_catanf.c (__catanf): Likewise.
4537 * math/s_catanh.c (__catanh): Likewise.
4538 * math/s_catanhf.c (__catanhf): Likewise.
4539 * math/s_catanhl.c (__catanhl): Likewise.
4540 * math/s_catanl.c (__catanl): Likewise.
4541 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4542 by positive zero when computing -Inf result.
4543 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4544 (catanh_test): Likewise.
4545 * sysdeps/i386/fpu/libm-test-ulps: Update.
4546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4547
6f05bafe
JM
4548 [BZ #16789]
4549 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4550 instead of using underflowing value in computing result.
4551 * math/s_clog10.c (__clog10): Likewise.
4552 * math/s_clog10f.c (__clog10f): Likewise.
4553 * math/s_clog10l.c (__clog10l): Likewise.
4554 * math/s_clogf.c (__clogf): Likewise.
4555 * math/s_clogl.c (__clogl): Likewise.
4556 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4557 (clog10_test): Likewise.
4558 * sysdeps/i386/fpu/libm-test-ulps: Update.
4559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4560
b0abbc21
AM
45612014-04-02 Alan Modra <amodra@gmail.com>
4562
4563 [BZ #16739]
4564 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4565 output when value is near a power of two. Use int64_t for lx and
4566 remove casts. Use decimal rather than hex exponent constants.
4567 Don't use long double multiplication when double will suffice.
4568 * math/libm-test.inc (nextafter_test_data): Add tests.
4569 * NEWS: Add 16739 and 16786 to bug list.
4570
af6b1797
AM
4571 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4572
483818d7
AM
4573 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4574
f6c55796
WN
45752014-04-01 Will Newton <will.newton@linaro.org>
4576
4577 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4578 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4579
13f7fe35
FW
45802014-04-01 Florian Weimer <fweimer@redhat.com>
4581
4582 [BZ #13347]
4583 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4584 * nptl/tst-setuid2.c: New file.
4585 * nptl/Makefile (xtests): Add tst-setuid2.
4586
c859b32e
AM
45872014-04-01 Alan Modra <amodra@gmail.com>
4588
4589 [BZ #16786]
4590 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4591
54fa2475
JM
45922014-03-31 Joseph Myers <joseph@codesourcery.com>
4593
8795b4a4
JM
4594 [BZ #6803]
4595 [BZ #6804]
4596 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4597 set errno as appropriate.
4598 * math/w_scalbf.c (__scalbf): Likewise.
4599 * math/w_scalbl.c (__scalbl): Likewise.
4600 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4601 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4602 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4603 Add more NaN tests.
4604
54fa2475
JM
4605 [BZ #16349]
4606 * math/w_atan2.c: Include <errno.h>.
4607 (__atan2): Set errno for result underflowing to zero.
4608 * math/w_atan2f.c: Include <errno.h>.
4609 (__atan2f): Set errno for result underflowing to zero.
4610 * math/w_atan2l.c: Include <errno.h>.
4611 (__atan2l): Set errno for result underflowing to zero.
4612 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4613 tests.
4614 * math/auto-libm-test-out: Regenerated.
4615
757d9dd5
AZ
46162014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4617
4618 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4619 Encode instruction correctly in little endian.
4620 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4621 Likewise.
4622 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4623 Likewise.
4624 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4625 Likewise.
4626 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4627 Likewise.
4628
d7a68734
JM
46292014-03-31 Joseph Myers <joseph@codesourcery.com>
4630
47c5adeb
JM
4631 [BZ #9894]
4632 * sysdeps/unix/sysv/linux/kernel-features.h
4633 [__sparc__ && !__arch64__ && !__sparc_v9__]
4634 (__ASSUME_SET_ROBUST_LIST): Do not define.
4635 [__sparc__ && !__arch64__ && !__sparc_v9__]
4636 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4637 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4638 Likewise.
4639 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4640 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4641 (__ASSUME_REQUEUE_PI): Likewise.
4642 (__ASSUME_SET_ROBUST_LIST): Likewise.
4643 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4644 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4645 Undefine.
4646 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4647 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4648 Likewise.
4649 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4650 Likewise.
4651 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4652 Likewise.
4653 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4654 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4655 Undefine.
4656 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4657 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4658 Likewise.
4659
d7a68734
JM
4660 [BZ #16648]
4661 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4662 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4663 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4664
c760f5c2
WN
46652014-03-31 Will Newton <will.newton@linaro.org>
4666
4667 * benchtests/Makefile (bench): Add ffs and ffsll to list
4668 of tests.
4669 * benchtests/ffs-inputs: New file.
4670 * benchtests/ffsll-inputs: Likewise.
4671
ea6029b1
JM
46722014-03-29 Joseph Myers <joseph@codesourcery.com>
4673
4674 [BZ #16770]
4675 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4676 too large before casting to int.
4677 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4678 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4679 * math/libm-test.inc (scalb_test_data): Add more tests.
4680
cf806aff
SP
46812014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4682
56737508
SP
4683 * benchtests/Makefile (DETAILED_OPT): New make option.
4684 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4685 set.
4686 * benchtests/bench-skeleton.c: Include stdbool.h.
4687 (main): Store and print timings per input.
4688 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4689 member to each argument value.
4690 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4691 (_print_arg_data): Initialize per-input timing to 0.
4692
cb5e4aad
SP
4693 * benchtests/Makefile (timing-type): New binary.
4694 (bench-clean): Also remove bench-timing-type.
4695 (bench): New target for timing-type.
4696 (bench-func): Print output in JSON format.
4697 * benchtests/bench-skeleton.c (main): Print output in JSON
4698 format.
4699 * benchtests/bench-timing-type.c: New file.
4700 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4701 (TIMING_PRINT_STATS): Remove.
4702 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4703 name separately.
4704
cf806aff
SP
4705 * benchtests/bench-modf.c: Remove.
4706 * benchtests/modf-inputs: New inputs file.
4707
289e0779
JM
47082014-03-28 Joseph Myers <joseph@codesourcery.com>
4709
4710 [BZ #16362]
4711 * math/s_clog10.c (M_PI_LOG10E): New macro.
4712 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4713 imaginary parts are 0.
4714 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4715 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4716 imaginary parts are 0.
4717 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4718 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4719 imaginary parts are 0.
4720 * math/libm-test.inc (clog10_test_data): Update expected results
4721 for when real and imaginary parts are 0.
4722
277ae3f1
PP
47232014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4724
4725 * elf/dl-load.c: Finish conversion of __builtin_expect into
4726 __glibc_{un}likely.
4727
03a7091f
JM
47282014-03-27 Joseph Myers <joseph@codesourcery.com>
4729
4730 [BZ #16348]
4731 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4732 1+x for argument with exponent below -67.
4733 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4734 Likewise.
4735 * math/auto-libm-test-in: Add more tests of exp.
4736 * math/auto-libm-test-out: Regenerated.
4737
ea7d8b95
SP
47382014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4739
dd3022d7
SP
4740 [BZ #16759]
4741 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4742 (nscd_getnetgrent): Use it.
4743
ea7d8b95
SP
4744 [BZ #16760]
4745 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4746 of stpcpy.
4747
df5b85da
AK
47482014-03-27 Andi Kleen <ak@linux.intel.com>
4749
57f41c40
AS
4750 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4751 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4752 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4753 (lll_robust_unlock): Remove out of line section. Use cfi
4754 intrinsics.
df5b85da 4755 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
4756 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4757 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4758 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4759 (lll_robust_unlock): Remove out of line section. Use cfi
4760 intrinsics.
df5b85da
AK
4761 (LLL_STUB_UNWIND_INFO*): Remove.
4762
fbd6b5a4
SP
47632014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4764
4765 [BZ #16758]
4766 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4767 blank values.
4768
1b26b855
PP
47692014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4770
4771 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4772
9be36fb8
JM
47732014-03-26 Joseph Myers <joseph@codesourcery.com>
4774
4775 [BZ #16198]
4776 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4777 fnstenv.
4778 * math/test-fenv-preserve.c: New file.
4779 * math/Makefile (tests): Add test-fenv-preserve.
4780
60a2f3c1
WN
47812014-03-26 Will Newton <will.newton@linaro.org>
4782
4783 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4784
a5e5f1e2
RM
47852014-03-25 Roland McGrath <roland@hack.frob.com>
4786
4787 * scripts/versionlist.awk: Partition the version sets and emit all
4788 GLIBC_* (sorted) before all others (sorted).
4789
00f4012a
JM
47902014-03-25 Joseph Myers <joseph@codesourcery.com>
4791
4792 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4793 GLIBC_2.2.5 version.
4794
7bc5a741
AZ
47952014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4796
4797 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4798 calls.
4799
7578473b
AZ
4800 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4801 previous change.
4802
f3f1dab3
AZ
4803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4804
6da36183
AS
48052014-03-25 Andreas Schwab <schwab@suse.de>
4806
4807 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4808 label to be used after in6ailist is initialized.
4809
f3f1dab3 48102014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 4811
7578473b 4812 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
4813 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4814
046651c1
JM
48152014-03-25 Joseph Myers <joseph@codesourcery.com>
4816
4817 [BZ #16357]
4818 [BZ #16599]
4819 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4820 min_plus_half.
4821 (fp_formats): Update initializers.
4822 (init_fp_formats): Initialize new field.
4823 (output_for_one_input_case): Allow underflow for results up to
4824 min_plus_half.
4825 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4826 * math/auto-libm-test-in: Don't mark some underflows from asin and
4827 atanh as spurious.
4828 * math/auto-libm-test-out: Regenerated.
4829 * sysdeps/i386/fpu/libm-test-ulps: Update.
4830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4831
003e49ed
AS
48322014-03-25 Andreas Schwab <schwab@suse.de>
4833
4834 * libio/Makefile (tst-ftell-partial-wide-ENV)
4835 (tst-ftell-active-handler-ENV): Define.
4836
de031874
SL
48372014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4838
4839 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4840
55a81e3b
PP
48412014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4842
4843 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4844
f3426898
JM
48452014-03-24 Joseph Myers <joseph@codesourcery.com>
4846
4847 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4848 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4849 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4850
a42faf59
PP
48512014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4852
4853 [BZ #16634]
a42faf59 4854 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
4855 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4856 (open_path): Change from boolean 'secure' to complete flag 'mode'
4857 (_dl_map_object): Adjust.
a42faf59
PP
4858 * elf/Makefile (tests): Add tst-dlopen-aout.
4859 * elf/tst-dlopen-aout.c: New test.
4860
50936127
SL
48612014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4862
4863 [BZ #16714]
4864 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4865 (struct stat): Rename member pad0 to __glibc_reserved0.
4866
26011b5c
SL
4867 [BZ #16712]
4868 * sysdeps/s390/s390-32/bits/wordsize.h
4869 (__WORDSIZE32_SIZE_ULONG): New define.
4870 * sysdeps/s390/s390-64/bits/wordsize.h
4871 (__WORDSIZE32_SIZE_ULONG): Likewise.
4872 * sysdeps/generic/stdint.h (SIZE_MAX):
4873 Define as UL if __WORDSIZE32_SIZE_ULONG.
4874
a2d86bf1
SL
4875 [BZ #16713]
4876 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4877 (__glibc_reserved0): New variable.
4878 (sa_flags): Change type to int.
4879
78b6eebc
SL
4880 * posix/Makefile (before-compile): Use += before-compile instead
4881 of a :=.
4882
f1399b5a
SL
4883 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4884 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4885
a071766e
AS
48862014-03-20 Andreas Schwab <schwab@suse.de>
4887
4888 [BZ #16743]
4889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4890 non-matching result from nscd.
4891
27c673b8
SP
48922014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4893
4894 * scripts/bench.py: Moved to ...
4895 * benchtests/scripts/bench.py: ... here.
4896 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4897
44152e4b
AS
48982014-03-24 Andreas Schwab <schwab@suse.de>
4899
4900 [BZ #16002]
4901 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4902 alloca_account and account alloca use for struct in6ailist.
4903
b376a11a
JM
49042014-03-24 Joseph Myers <joseph@codesourcery.com>
4905
4906 [BZ #16284]
4907 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4908 rounding mode to recompute results that overflow to infinity or
4909 underflow to zero.
4910 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4911 bug 16284.
4912 * math/auto-libm-test-out: Regenerated.
4913 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4914 (ccosh_test): Likewise.
4915 (csin_test_data): Use plus_oflow.
4916 (csin_test): Use ALL_RM_TEST.
4917 (csinh_test_data): Use plus_oflow.
4918 (csinh_test): Use ALL_RM_TEST.
4919 * sysdeps/i386/fpu/libm-test-ulps: Update.
4920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921
f7be7376
JM
49222014-03-21 Joseph Myers <joseph@codesourcery.com>
4923
1ca2d03e
JM
4924 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4925 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4926 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4927
f7be7376
JM
4928 [BZ #16731]
4929 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4930 when x - 1 is zero.
4931 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4932 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4933 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4934 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4935 argument is 1.
4936 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4937 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4938 zero.
4939 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4940 * sysdeps/i386/fpu/libm-test-ulps: Update.
4941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4942
fdf4534d
SP
49432014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4944
df26ea53
SP
4945 * scripts/bench.pl: Remove file.
4946 * scripts/bench.py: New benchmark script.
4947 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4948 * benchtests/README: Mention python dependency.
4949 * scripts/pylintrc: New file.
4950 * scripts/pylint: New file.
4951
fdf4534d
SP
4952 * bits/mathdef.h: Use #ifdef instead of #if.
4953 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4954 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4955 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4956 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4957 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4958 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4959
6f23d093
AZ
49602014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4961 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4962
4963 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4965 and strpbrk-ppc64 objects.
4966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4967 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4968 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4969 multiarch strpbrk for POWER7.
4970 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4971 multiarch strpbrk for PPC64.
4972 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4973 ifunc selector.
4974 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4975 strpbrk for POWER7.
4976
8c92dfff
JM
49772014-03-20 Joseph Myers <joseph@codesourcery.com>
4978
4979 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4980 (atan_test): Likewise.
4981 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4982 (atanh_test): Use ALL_RM_TEST.
4983 (atan2_test_data): Likewise.
4984 (cabs_test): Likewise.
4985 (cacosh_test): Likewise.
4986 (carg_test): Likewise.
4987 (casin_test): Likewise.
4988 (casinh_test): Likewise.
4989 (cbrt_test): Likewise.
4990 (csqrt_test): Likewise.
4991 (erf_test): Likewise.
4992 (erfc_test): Likewise.
4993 (pow10_test): Likewise.
4994 (exp2_test): Likewise.
4995 (hypot_test): Likewise.
4996 (j0_test): Likewise.
4997 (j1_test): Likewise.
4998 (lgamma_test): Likewise.
4999 (gamma_test): Likewise.
5000 (sincos_test): Likewise.
5001 (tanh_test): Likewise.
5002 (y0_test): Likewise.
5003 (y1_test): Likewise.
5004 * sysdeps/i386/fpu/libm-test-ulps: Update.
5005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5006
6eaf95cb
AZ
50072014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5008
a387428c
SP
5009 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
5011 and strcspn-ppc64 objects.
5012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5013 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5014 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5015 multiarch strcspn for POWER7.
5016 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5017 multiarch strcspn for PPC64.
5018 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5019 ifunc selector.
5020 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5021 strcspn for POWER7.
5022
ae3a5dff
JM
50232014-03-20 Joseph Myers <joseph@codesourcery.com>
5024
5025 * math/gen-libm-test.pl (generate_testfile): Expect only function
5026 name as argument to AUTO_TESTS_* and pass results for all rounding
5027 modes to parse_args.
5028 (parse_auto_input): Separate inputs of automatic tests from
5029 outputs before storing in %auto_tests.
5030 * math/libm-test.inc (acos_test_data): Update call to
5031 AUTO_TESTS_f_f.
5032 (acos_test): Use ALL_RM_TEST.
5033 (acos_tonearest_test_data): Remove.
5034 (acos_test_tonearest): Likewise.
5035 (acos_towardzero_test_data): Likewise.
5036 (acos_test_towardzero): Likewise.
5037 (acos_downward_test_data): Likewise.
5038 (acos_test_downward): Likewise.
5039 (acos_upward_test_data): Likewise.
5040 (acos_test_upward): Likewise.
5041 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5042 (asin_test_data): Likewise.
5043 (asin_test): Use ALL_RM_TEST.
5044 (asin_tonearest_test_data): Remove.
5045 (asin_test_tonearest): Likewise.
5046 (asin_towardzero_test_data): Likewise.
5047 (asin_test_towardzero): Likewise.
5048 (asin_downward_test_data): Likewise.
5049 (asin_test_downward): Likewise.
5050 (asin_upward_test_data): Likewise.
5051 (asin_test_upward): Likewise.
5052 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5053 (atan_test_data): Likewise.
5054 (atanh_test_data): Likewise.
5055 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5056 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5057 (carg_test_data): Likewise.
5058 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5059 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5060 (ccosh_test_data): Likewise.
5061 (cexp_test_data): Likewise.
5062 (clog_test_data): Likewise.
5063 (clog10_test_data): Likewise.
5064 (cos_test_data): Update call to AUTO_TESTS_f_f.
5065 (cos_test): Use ALL_RM_TEST.
5066 (cos_tonearest_test_data): Remove.
5067 (cos_test_tonearest): Likewise.
5068 (cos_towardzero_test_data): Likewise.
5069 (cos_test_towardzero): Likewise.
5070 (cos_downward_test_data): Likewise.
5071 (cos_test_downward): Likewise.
5072 (cos_upward_test_data): Likewise.
5073 (cos_test_upward): Likewise.
5074 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5075 (cosh_test): Use ALL_RM_TEST.
5076 (cosh_tonearest_test_data): Remove.
5077 (cosh_test_tonearest): Likewise.
5078 (cosh_towardzero_test_data): Likewise.
5079 (cosh_test_towardzero): Likewise.
5080 (cosh_downward_test_data): Likewise.
5081 (cosh_test_downward): Likewise.
5082 (cosh_upward_test_data): Likewise.
5083 (cosh_test_upward): Likewise.
5084 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5085 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5086 (ctan_test_data): Likewise.
5087 (ctan_test): Use ALL_RM_TEST.
5088 (ctan_tonearest_test_data): Remove.
5089 (ctan_test_tonearest): Likewise.
5090 (ctan_towardzero_test_data): Likewise.
5091 (ctan_test_towardzero): Likewise.
5092 (ctan_downward_test_data): Likewise.
5093 (ctan_test_downward): Likewise.
5094 (ctan_upward_test_data): Likewise.
5095 (ctan_test_upward): Likewise.
5096 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5097 (ctanh_test): Use ALL_RM_TEST.
5098 (ctanh_tonearest_test_data): Remove.
5099 (ctanh_test_tonearest): Likewise.
5100 (ctanh_towardzero_test_data): Likewise.
5101 (ctanh_test_towardzero): Likewise.
5102 (ctanh_downward_test_data): Likewise.
5103 (ctanh_test_downward): Likewise.
5104 (ctanh_upward_test_data): Likewise.
5105 (ctanh_test_upward): Likewise.
5106 (erf_test_data): Update call to AUTO_TESTS_f_f.
5107 (erfc_test_data): Likewise.
5108 (exp_test_data): Likewise.
5109 (exp_test): Use ALL_RM_TEST.
5110 (exp_tonearest_test_data): Remove.
5111 (exp_test_tonearest): Likewise.
5112 (exp_towardzero_test_data): Likewise.
5113 (exp_test_towardzero): Likewise.
5114 (exp_downward_test_data): Likewise.
5115 (exp_test_downward): Likewise.
5116 (exp_upward_test_data): Likewise.
5117 (exp_test_upward): Likewise.
5118 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5119 (exp10_test): Use ALL_RM_TEST.
5120 (exp10_tonearest_test_data): Remove.
5121 (exp10_test_tonearest): Likewise.
5122 (exp10_towardzero_test_data): Likewise.
5123 (exp10_test_towardzero): Likewise.
5124 (exp10_downward_test_data): Likewise.
5125 (exp10_test_downward): Likewise.
5126 (exp10_upward_test_data): Likewise.
5127 (exp10_test_upward): Likewise.
5128 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5129 (expm1_test_data): Likewise.
5130 (expm1_test): Use ALL_RM_TEST.
5131 (expm1_tonearest_test_data): Remove.
5132 (expm1_test_tonearest): Likewise.
5133 (expm1_towardzero_test_data): Likewise.
5134 (expm1_test_towardzero): Likewise.
5135 (expm1_downward_test_data): Likewise.
5136 (expm1_test_downward): Likewise.
5137 (expm1_upward_test_data): Likewise.
5138 (expm1_test_upward): Likewise.
5139 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5140 (fma_test): Use ALL_RM_TEST.
5141 (fma_towardzero_test_data): Remove.
5142 (fma_test_towardzero): Likewise.
5143 (fma_downward_test_data): Likewise.
5144 (fma_test_downward): Likewise.
5145 (fma_upward_test_data): Likewise.
5146 (fma_test_upward): Likewise.
5147 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5148 (j0_test_data): Update call to AUTO_TESTS_f_f.
5149 (j1_test_data): Likewise.
5150 (jn_test_data): Update call to AUTO_TESTS_if_f.
5151 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5152 (log_test_data): Update call to AUTO_TESTS_f_f.
5153 (log10_test_data): Likewise.
5154 (log1p_test_data): Likewise.
5155 (log2_test_data): Likewise.
5156 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5157 (pow_tonearest_test_data): Likewise.
5158 (sin_test_data): Update call to AUTO_TESTS_f_f.
5159 (sin_test): Use ALL_RM_TEST.
5160 (sin_tonearest_test_data): Remove.
5161 (sin_test_tonearest): Likewise.
5162 (sin_towardzero_test_data): Likewise.
5163 (sin_test_towardzero): Likewise.
5164 (sin_downward_test_data): Likewise.
5165 (sin_test_downward): Likewise.
5166 (sin_upward_test_data): Likewise.
5167 (sin_test_upward): Likewise.
5168 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5169 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5170 (sinh_test): Use ALL_RM_TEST.
5171 (sinh_tonearest_test_data): Remove.
5172 (sinh_test_tonearest): Likewise.
5173 (sinh_towardzero_test_data): Likewise.
5174 (sinh_test_towardzero): Likewise.
5175 (sinh_downward_test_data): Likewise.
5176 (sinh_test_downward): Likewise.
5177 (sinh_upward_test_data): Likewise.
5178 (sinh_test_upward): Likewise.
5179 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5180 (sqrt_test): Use ALL_RM_TEST.
5181 (sqrt_tonearest_test_data): Remove.
5182 (sqrt_test_tonearest): Likewise.
5183 (sqrt_towardzero_test_data): Likewise.
5184 (sqrt_test_towardzero): Likewise.
5185 (sqrt_downward_test_data): Likewise.
5186 (sqrt_test_downward): Likewise.
5187 (sqrt_upward_test_data): Likewise.
5188 (sqrt_test_upward): Likewise.
5189 (tan_test_data): Update call to AUTO_TESTS_f_f.
5190 (tan_test): Use ALL_RM_TEST.
5191 (tan_tonearest_test_data): Remove.
5192 (tan_test_tonearest): Likewise.
5193 (tan_towardzero_test_data): Likewise.
5194 (tan_test_towardzero): Likewise.
5195 (tan_downward_test_data): Likewise.
5196 (tan_test_downward): Likewise.
5197 (tan_upward_test_data): Likewise.
5198 (tan_test_upward): Likewise.
5199 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5200 (tgamma_test_data): Likewise.
5201 (y0_test_data): Likewise.
5202 (y1_test_data): Likewise.
5203 (yn_test_data): Update call to AUTO_TESTS_if_f.
5204 (main): Do not call removed functions.
5205
d71aeee8
JM
52062014-03-19 Joseph Myers <joseph@codesourcery.com>
5207
5208 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5209 (ldexp_test_data): Remove.
5210 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5211 scalbn_test_data.
5212 (scalb_test): Use ALL_RM_TEST.
5213
baaf1ded
AS
52142014-03-19 Andreas Schwab <schwab@suse.de>
5215
5216 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5217
b1115e91
JM
52182014-03-19 Joseph Myers <joseph@codesourcery.com>
5219
5220 [BZ #16649]
5221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5222 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5223 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5224 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5225 (__ASSUME_PREADV): Undefine.
5226 (__ASSUME_PWRITEV): Likewise.
5227
0283ecca
RM
52282014-03-18 Roland McGrath <roland@hack.frob.com>
5229
7d375303
RM
5230 * bits/mman-linux.h: Add comment about non-Linux use.
5231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5232 bits/mman-linux.h resting place.
5233
0283ecca
RM
5234 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5235 * bits/mman-linux.h: ... here.
5236
aebe1003
AZ
52372014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5238
5239 * conform/conformtest.pl: Add standard definition when calling C
5240 preprocessor on data files.
5241 (checknamespace): Remove unused variable.
5242
b29b6bb8
JM
52432014-03-18 Joseph Myers <joseph@codesourcery.com>
5244
5245 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5246 minus_oflow, plus_uflow and minus_uflow in expected results.
5247 * math/libm-test.inc (scalbn_test_data): Add more tests of
5248 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5249 minus_uflow.
5250 (scalbn_test): Use ALL_RM_TEST.
5251 (scalbln_test_data): Add more tests of negative arguments. Use
5252 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5253 (scalbln_test): Use ALL_RM_TEST.
5254
c8f8fa15
RM
52552014-03-18 Roland McGrath <roland@hack.frob.com>
5256
5257 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5258
fede7a5f
WN
52592014-03-18 Will Newton <will.newton@linaro.org>
5260
5261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5262 inaccurate comment.
5263
80cf0a58
JM
52642014-03-18 Joseph Myers <joseph@codesourcery.com>
5265
5266 * Makerules [!subdir] (check-abi): Exit with error status if a
5267 test failed.
5268
b3620862
JM
52692014-03-17 Joseph Myers <joseph@codesourcery.com>
5270
5271 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5272 for rint. Include results for all rounding modes.
5273 (nearbyint_test): Use ALL_RM_TEST.
5274 (rint_test_data): Include all tests used for nearbyint.
5275
788bba36
WN
52762014-03-17 Will Newton <will.newton@linaro.org>
5277
04ec140a
WN
5278 * nptl/sysdeps/pthread/pthread.h: Revert previous
5279 change.
5280
7579d8d5
WN
5281 * sysdeps/generic/ldsodefs.h: Revert previous
5282 change.
5283
c15cf13a
WN
5284 * libio/genops.c: Revert previous change.
5285 * libio/libioP.h: Likewise.
5286 * stdio-common/vfprintf.c: Likewise.
5287
d0ac1324
WN
5288 * sysdeps/generic/math_private.h: Revert previous
5289 change.
5290
9290130a
WN
5291 * sysdeps/generic/math_private.h: Check whether
5292 HAVE_RM_CTX is defined with #ifdef rather
5293 than #if.
5294
afb466fc
WN
5295 * argp/argp-fmtstream.h: Check whether
5296 __STRICT_ANSI__ is defined with #ifdef rather
5297 than #if.
5298 * argp/argp.h: Likewise.
5299
f7efd7c3
WN
5300 * libio/genops.c: Check whether
5301 _IO_JUMPS_OFFSET is defined with #ifdef rather
5302 than #if.
5303 * libio/libioP.h: Likewise.
5304 * stdio-common/vfprintf.c: Likewise.
5305
53f1bed3
WN
5306 * sysdeps/generic/ldsodefs.h: Check whether
5307 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5308 than #if.
5309
788bba36
WN
5310 * nptl/sysdeps/pthread/pthread.h: Check
5311 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5312 its value.
5313
fcd89ebe
SP
53142014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5315
ae42bbc5
SP
5316 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5317 setting O_APPEND.
5318 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5319 test case.
5320
ea33158c
SP
5321 [BZ #16680]
5322 * libio/fileops.c (_IO_file_open): Seek to end of file but
5323 don't cache the offset.
5324 (get_file_offset): Remove function.
5325 (do_ftell): Use cached offset when available.
5326 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5327 don't cache the offset.
5328 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5329 case.
5330 (do_one_test): Call it.
5331 (do_ftell_test): Fix up expected old offset for a+ mode.
5332 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5333 available.
5334
b1dbb426
SP
5335 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5336 up test status with function return status.
5337 (do_write_test): Likewise.
5338 (do_append_test): Likewise.
5339
fcd89ebe
SP
5340 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5341 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5342 Remove.
5343
9962a2d3
JM
53442014-03-17 Joseph Myers <joseph@codesourcery.com>
5345
5346 * math/gen-libm-test.pl (parse_args): Handle results specified for
5347 each rounding mode separately.
5348 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5349 tests and results from lrint_tonearest_test_data,
5350 lrint_towardzero_test_data, lrint_downward_test_data and
5351 lrint_upward_test_data.
5352 (lrint_test): Use ALL_RM_TEST.
5353 (lrint_tonearest_test_data): Remove.
5354 (lrint_test_tonearest): Likewise.
5355 (lrint_towardzero_test_data): Likewise.
5356 (lrint_test_towardzero): Likewise.
5357 (lrint_downward_test_data): Likewise.
5358 (lrint_test_downward): Likewise.
5359 (lrint_upward_test_data): Likewise.
5360 (lrint_test_upward): Likewise.
5361 (llrint_test_data): Merge in per-rounding-mode tests and results
5362 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5363 llrint_downward_test_data and llrint_upward_test_data.
5364 (llrint_test): Use ALL_RM_TEST.
5365 (llrint_tonearest_test_data): Remove.
5366 (llrint_test_tonearest): Likewise.
5367 (llrint_towardzero_test_data): Likewise.
5368 (llrint_test_towardzero): Likewise.
5369 (llrint_downward_test_data): Likewise.
5370 (llrint_test_downward): Likewise.
5371 (llrint_upward_test_data): Likewise.
5372 (llrint_test_upward): Likewise.
5373 (rint_test_data): Merge in per-rounding-mode tests and results
5374 from rint_tonearest_test_data, rint_towardzero_test_data,
5375 rint_downward_test_data and rint_upward_test_data. Add
5376 per-rounding-mode results for tests not in those arrays.
5377 (rint_test): Use ALL_RM_TEST.
5378 (rint_tonearest_test_data): Remove.
5379 (rint_test_tonearest): Likewise.
5380 (rint_towardzero_test_data): Likewise.
5381 (rint_test_towardzero): Likewise.
5382 (rint_downward_test_data): Likewise.
5383 (rint_test_downward): Likewise.
5384 (rint_upward_test_data): Likewise.
5385 (rint_test_upward): Likewise.
5386 (main): Don't call removed functions.
5387
5006148e
RM
53882014-03-14 Roland McGrath <roland@hack.frob.com>
5389
5390 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5391 "Compiled on ..." crapola. It is anti-useful.
5392
d6fe5e58
JM
53932014-03-14 Joseph Myers <joseph@codesourcery.com>
5394
5395 * scripts/evaluate-test.sh: Handle fourth argument to determine
5396 whether test run should stop on failure.
5397 * Makeconfig (stop-on-test-failure): New variable.
5398 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5399 $(stop-on-test-failure).
5400 * Makefile (tests): Give a summary of results from testing and
5401 exit with failure status if they include an ERROR or FAIL.
5402 (xtests): Likewise.
5403 * manual/install.texi (Configuring and compiling): Mention
5404 stop-on-test-failure=y.
5405 * INSTALL: Regenerated.
5406
498a2233
RM
54072014-03-14 Roland McGrath <roland@hack.frob.com>
5408
22dbc19d
RM
5409 * scripts/versionlist.awk: New file.
5410 * Makerules [$(build-shared) = yes]
5411 (postclean-generated): Add Versions.def, not Versions.def.v and
5412 Versions.def.v.i.
5413 ($(common-objpfx)Versions.def.v.i): Target removed.
5414 ($(common-objpfx)Versions.def): New target.
5415 ($(common-objpfx)Versions.all): Depend on that rather that
5416 $(common-objpfx)Versions.def.v.
5417 * Versions.def: File removed.
5418
498a2233
RM
5419 * Makeconfig (+gccwarn): Add -Wundef.
5420 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5421 a dl-sysdep.h breaking its contract.
5422 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5423 * include/stackinfo.h: New file.
5424 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5425 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5426 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5427 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5428 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5429 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5430 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5431 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5432 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5433 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5434 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5435 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5436 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5437 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5438 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5439
c7de5025
AZ
54402014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5441
5442 [BZ #16707]
5443 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5444 implementation.
5445 * math/libm-test.inc (round_test_data): Add more tests.
5446
98fb27a3
AZ
5447 [BZ #16706]
5448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5449 implementation.
5450 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5451
374f7f61
AZ
5452 [BZ #16701]
5453 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5454 implementation.
5455 * math/libm-test.inc (ceil_test_data): Add more tests.
5456
4655c291
AZ
5457 * math/libm-test.inc (trunc_test_data): Add more tests related to
5458 BZ#16414.
5459
d7329d4b
RM
54602014-03-14 Roland McGrath <roland@hack.frob.com>
5461
5462 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5463 with #if rather than #ifdef.
5464 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5465
aa4de9ce
L
54662014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5467
5468 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5469 first. Disable AVX-512 GCC support if assembler doesn't support
5470 it.
5471 * sysdeps/x86_64/configure: Regenerated.
5472
2e03fae7
CD
54732014-03-13 Carlos O'Donell <carlos@redhat.com>
5474
5475 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5476 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5477 (__old_pthread_attr_setstack): Likewise.
5478 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5479 [!_STACK_GROWS_DOWN]: Likewise.
5480
43ca83ec
MF
54812014-03-13 Mike Frysinger <vapier@gentoo.org>
5482
5483 * config.make.in (have-bash2): Delete.
5484 * configure.ac (libc_cv_have_bash2): Delete.
5485 * configure: Regenerate.
5486 * elf/Makefile (common-ldd-rewrite): Rename to ...
5487 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5488 (sh-ldd-rewrite): Delete.
5489 (bash-ldd-rewrite): Delete.
5490 (have-bash2): Delete checks.
57f41c40
AS
5491 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5492 ldd-rewrite.
c66e48b4
MF
5493
5494 * config.make.in (have-ksh): Delete.
5495 (KSH): Delete.
5496 * configure.ac (libc_cv_have_ksh): Delete.
5497 * configure: Regenerate.
5498
b93834ef
MF
5499 * elf/Makefile: Delete $(have-ksh) check.
5500 ($(objpfx)sotruss): Change KSH to BASH.
5501 * elf/sotruss.ksh: Rename to ...
5502 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5503 function style to match POSIX. Drop ksh vim mode setting.
5504
f3a4632a
MF
5505 * manual/time.texi (Specifying the Time Zone with TZ): Change
5506 Tuesday to Thursday.
5507
5896c8bd
MF
5508 * debug/tst-longjmp_chk2.c: Update header comment.
5509 (stackoverflow_handler): Add comment. Call assert on pass value.
5510
2d63a517
IZ
55112014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5512
5513 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5514 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5515 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5516 (La_x86_64_vector): Add zmm.
5517 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5518 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5519 ($(objpfx)tst-audit10): New target.
5520 ($(objpfx)tst-audit10.out): Likewise.
5521 (tst-audit10-ENV): New.
5522 (AVX512-CFLAGS): Likewise.
5523 (CFLAGS-tst-audit10.c): Likewise.
5524 (CFLAGS-tst-auditmod10a.c): Likewise.
5525 (CFLAGS-tst-auditmod10b.c): Likewise.
5526 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5527 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5528 * sysdeps/x86_64/configure: Regenerated.
5529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5530 AVX-512 zmm register support.
5531 (_dl_x86_64_save_sse): Likewise.
5532 (_dl_x86_64_restore_sse): Likewise.
5533 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5534 size vector registers.
5535 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5536 (ZMM_SIZE): Likewise.
5537 * sysdeps/x86_64/tst-audit10.c: New file.
5538 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5539 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5540
44c4e5d5
RM
55412014-03-13 Roland McGrath <roland@hack.frob.com>
5542
5543 * configure.ac (HAVE_EHDR_START): New check.
5544 * configure: Regenerated.
5545 * config.h.in (HAVE_EHDR_START): New #undef.
5546 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5547 assuming the lowest-addressed segment maps the start of the file.
5548
acd6e389
JM
55492014-03-13 Joseph Myers <joseph@codesourcery.com>
5550
5551 * INSTALL: Regenerated.
5552
6f918f36
WN
55532014-03-13 Will Newton <will.newton@linaro.org>
5554
5555 * manual/setjmp.texi (System V contexts): Improve
5556 clarity and grammar of documentation.
5557
798212a0
PP
55582014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5559
5560 [BZ #16381]
798212a0 5561 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 5562 (tests-pie): Add tst-pie2.
798212a0
PP
5563 * elf/tst-pie2.c: New file.
5564 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5565 for ET_EXEC.
5566 * elf/rtld.c (map_doit): Load executable as lt_executable.
5567 (dl_main): Likewise.
5568
abe6d90c
JM
55692014-03-12 Joseph Myers <joseph@codesourcery.com>
5570
5571 [BZ #16642]
5572 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5573 (__ASSUME_PSELECT): Undefine.
5574
dd3946c6
AZ
55752014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5576
5577 [BZ #16689]
5578 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5579 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5580 static build.
5581 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5582 selector for static builds.
5583
c44496df
SP
55842014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5585
5586 [BZ #16695]
5587 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5588 key in the buffer.
5589
27c7220a
AZ
55902014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591
57f41c40
AS
5592 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5593 IFUNC selector for static builds.
27c7220a 5594
600fa361
JM
55952014-03-11 Joseph Myers <joseph@codesourcery.com>
5596
76c96cf7
JM
5597 * sysdeps/mips/math_private.h [__mips_hard_float]
5598 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5599 libc_feresetround_mips_ctx.
5600 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5601 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5602 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5603
600fa361
JM
5604 [BZ #16677]
5605 * math/s_nextafter.c (__nextafter): Do not return value from
5606 overflowing computation.
5607 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5608 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5609 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5610 Likewise.
5611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5612 Likewise.
5613 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5614 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5615
d7706c32
RM
56162014-03-11 Roland McGrath <roland@hack.frob.com>
5617
5618 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5619 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5620 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5621 the new mov targetting sp.
5622
4facea47
AZ
56232014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5624
5625 [BZ #16683]
5626 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5627 Define it for static builds as well.
5628 (NO_BZERO_IMPL): Likewise.
5629
e65caf1f
VR
56302014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5631
5632 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5633 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5634 multiarch strspn for PPC64.
5635 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5636 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5638 (__libc_ifunc_impl_list): Likewise.
5639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5640 multiarch optimizations
5641 * string/strspn.c (strspn): Using macro to redefine symbol name.
5642
ba9cc071
AZ
56432014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5644 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5645
5646 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5647 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5648 multiarch strncat for PPC64.
5649 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5650 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5652 (__libc_ifunc_impl_list): Likewise.
5653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5654 multiarch optimizations
5655
8b4ff974
SP
56562014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5657
5658 [BZ #16639]
5659 * nscd/nscd.service: Make service type forking.
5660
54b46a4b
AZ
56612014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5662
5663 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5664 sign in non default rounding modes.
5665 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5666
e9996ef7
JM
56672014-03-08 Joseph Myers <joseph@codesourcery.com>
5668
5669 * math/libm-test.inc (ALL_RM_TEST): New macro.
5670 (ceil_test): Use ALL_RM_TEST.
5671 (cimag_test): Likewise.
5672 (conj_test): Likewise.
5673 (copysign_test): Likewise.
5674 (cproj_test): Likewise.
5675 (creal_test): Likewise.
5676 (fabs_test): Likewise.
5677 (floor_test): Likewise.
5678 (fmax_test): Likewise.
5679 (fmin_test): Likewise.
5680 (fmod_test): Likewise.
5681 (fpclassify_test): Likewise.
5682 (frexp_test): Likewise.
5683 (ilogb_test): Likewise.
5684 (isfinite_test): Likewise.
5685 (finite_test): Likewise.
5686 (isgreater_test): Likewise.
5687 (isgreaterequal_test): Likewise.
5688 (isinf_test): Likewise.
5689 (isless_test): Likewise.
5690 (islessequal_test): Likewise.
5691 (islessgreater_test): Likewise.
5692 (isnan_test): Likewise.
5693 (isnormal_test): Likewise.
5694 (issignaling_test): Likewise.
5695 (isunordered_test): Likewise.
5696 (logb_test): Likewise.
5697 (logb_downward_test_data): Remove.
5698 (logb_test_downward): Likewise.
5699 (lround_test): Use ALL_RM_TEST.
5700 (llround_test): Likewise.
5701 (modf_test): Likewise.
5702 (nexttoward_test): Likewise.
5703 (remainder_test): Likewise.
5704 (drem_test): Likewise.
5705 (remainder_tonearest_test_data): Likewise.
5706 (remainder_test_tonearest): Likewise.
5707 (drem_test_tonearest): Likewise.
5708 (remainder_towardzero_test_data): Likewise.
5709 (remainder_test_towardzero): Likewise.
5710 (drem_test_towardzero): Likewise.
5711 (remainder_downward_test_data): Likewise.
5712 (remainder_test_downward): Likewise.
5713 (drem_test_downward): Likewise.
5714 (remainder_upward_test_data): Likewise.
5715 (remainder_test_upward): Likewise.
5716 (drem_test_upward): Likewise.
5717 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5718 (round_test): Use ALL_RM_TEST.
5719 (signbit_test): Likewise.
5720 (trunc_test): Likewise.
5721 (significand_test): Likewise.
5722 (main): Don't call removed functions.
5723
bc61d27c
JM
57242014-03-07 Joseph Myers <joseph@codesourcery.com>
5725
5c780849
JM
5726 [BZ #16674]
5727 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5728 || __USE_XOPEN2K8].
5729 (ILL_ILLOPN): Likewise.
5730 (ILL_ILLADR): Likewise.
5731 (ILL_ILLTRP): Likewise.
5732 (ILL_PRVOPC): Likewise.
5733 (ILL_PRVREG): Likewise.
5734 (ILL_COPROC): Likewise.
5735 (ILL_BADSTK): Likewise.
5736 (FPE_INTDIV): Likewise.
5737 (FPE_INTOVF): Likewise.
5738 (FPE_FLTDIV): Likewise.
5739 (FPE_FLTOVF): Likewise.
5740 (FPE_FLTUND): Likewise.
5741 (FPE_FLTRES): Likewise.
5742 (FPE_FLTINV): Likewise.
5743 (FPE_FLTSUB): Likewise.
5744 (SEGV_MAPERR): Likewise.
5745 (SEGV_ACCERR): Likewise.
5746 (BUS_ADRALN): Likewise.
5747 (BUS_ADRERR): Likewise.
5748 (BUS_OBJERR): Likewise.
5749 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5750 (TRAP_TRACE): Likewise.
5751 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5752 __USE_XOPEN2K8].
5753 (CLD_KILLED): Likewise.
5754 (CLD_DUMPED): Likewise.
5755 (CLD_TRAPPED): Likewise.
5756 (CLD_STOPPED): Likewise.
5757 (CLD_CONTINUED): Likewise.
5758 (POLL_IN): Likewise.
5759 (POLL_OUT): Likewise.
5760 (POLL_MSG): Likewise.
5761 (POLL_ERR): Likewise.
5762 (POLL_PRI): Likewise.
5763 (POLL_HUP): Likewise.
5764 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5765 Likewise.
5766 (ILL_ILLOPN): Likewise.
5767 (ILL_ILLADR): Likewise.
5768 (ILL_ILLTRP): Likewise.
5769 (ILL_PRVOPC): Likewise.
5770 (ILL_PRVREG): Likewise.
5771 (ILL_COPROC): Likewise.
5772 (ILL_BADSTK): Likewise.
5773 (FPE_INTDIV): Likewise.
5774 (FPE_INTOVF): Likewise.
5775 (FPE_FLTDIV): Likewise.
5776 (FPE_FLTOVF): Likewise.
5777 (FPE_FLTUND): Likewise.
5778 (FPE_FLTRES): Likewise.
5779 (FPE_FLTINV): Likewise.
5780 (FPE_FLTSUB): Likewise.
5781 (SEGV_MAPERR): Likewise.
5782 (SEGV_ACCERR): Likewise.
5783 (BUS_ADRALN): Likewise.
5784 (BUS_ADRERR): Likewise.
5785 (BUS_OBJERR): Likewise.
5786 (BUS_MCEERR_AR): Likewise.
5787 (BUS_MCEERR_AO): Likewise.
5788 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5789 (TRAP_TRACE): Likewise.
5790 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5791 __USE_XOPEN2K8].
5792 (CLD_KILLED): Likewise.
5793 (CLD_DUMPED): Likewise.
5794 (CLD_TRAPPED): Likewise.
5795 (CLD_STOPPED): Likewise.
5796 (CLD_CONTINUED): Likewise.
5797 (POLL_IN): Likewise.
5798 (POLL_OUT): Likewise.
5799 (POLL_MSG): Likewise.
5800 (POLL_ERR): Likewise.
5801 (POLL_PRI): Likewise.
5802 (POLL_HUP): Likewise.
5803 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5804 (ILL_ILLOPN): Likewise.
5805 (ILL_ILLADR): Likewise.
5806 (ILL_ILLTRP): Likewise.
5807 (ILL_PRVOPC): Likewise.
5808 (ILL_PRVREG): Likewise.
5809 (ILL_COPROC): Likewise.
5810 (ILL_BADSTK): Likewise.
5811 (FPE_INTDIV): Likewise.
5812 (FPE_INTOVF): Likewise.
5813 (FPE_FLTDIV): Likewise.
5814 (FPE_FLTOVF): Likewise.
5815 (FPE_FLTUND): Likewise.
5816 (FPE_FLTRES): Likewise.
5817 (FPE_FLTINV): Likewise.
5818 (FPE_FLTSUB): Likewise.
5819 (SEGV_MAPERR): Likewise.
5820 (SEGV_ACCERR): Likewise.
5821 (BUS_ADRALN): Likewise.
5822 (BUS_ADRERR): Likewise.
5823 (BUS_OBJERR): Likewise.
5824 (BUS_MCEERR_AR): Likewise.
5825 (BUS_MCEERR_AO): Likewise.
5826 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5827 (TRAP_TRACE): Likewise.
5828 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5829 __USE_XOPEN2K8].
5830 (CLD_KILLED): Likewise.
5831 (CLD_DUMPED): Likewise.
5832 (CLD_TRAPPED): Likewise.
5833 (CLD_STOPPED): Likewise.
5834 (CLD_CONTINUED): Likewise.
5835 (POLL_IN): Likewise.
5836 (POLL_OUT): Likewise.
5837 (POLL_MSG): Likewise.
5838 (POLL_ERR): Likewise.
5839 (POLL_PRI): Likewise.
5840 (POLL_HUP): Likewise.
5841 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5842 Likewise.
5843 (ILL_ILLOPN): Likewise.
5844 (ILL_ILLADR): Likewise.
5845 (ILL_ILLTRP): Likewise.
5846 (ILL_PRVOPC): Likewise.
5847 (ILL_PRVREG): Likewise.
5848 (ILL_COPROC): Likewise.
5849 (ILL_BADSTK): Likewise.
5850 (ILL_BADIADDR): Likewise.
5851 (ILL_BREAK): Likewise.
5852 (FPE_INTDIV): Likewise.
5853 (FPE_INTOVF): Likewise.
5854 (FPE_FLTDIV): Likewise.
5855 (FPE_FLTOVF): Likewise.
5856 (FPE_FLTUND): Likewise.
5857 (FPE_FLTRES): Likewise.
5858 (FPE_FLTINV): Likewise.
5859 (FPE_FLTSUB): Likewise.
5860 (FPE_DECOVF): Likewise.
5861 (FPE_DECDIV): Likewise.
5862 (FPE_DECERR): Likewise.
5863 (FPE_INVASC): Likewise.
5864 (FPE_INVDEC): Likewise.
5865 (SEGV_MAPERR): Likewise.
5866 (SEGV_ACCERR): Likewise.
5867 (SEGV_PSTKOVF): Likewise.
5868 (BUS_ADRALN): Likewise.
5869 (BUS_ADRERR): Likewise.
5870 (BUS_OBJERR): Likewise.
5871 (BUS_MCEERR_AR): Likewise.
5872 (BUS_MCEERR_AO): Likewise.
5873 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5874 (TRAP_TRACE): Likewise.
5875 (TRAP_BRANCH): Likewise.
5876 (TRAP_HWBKPT): Likewise.
5877 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5878 __USE_XOPEN2K8].
5879 (CLD_KILLED): Likewise.
5880 (CLD_DUMPED): Likewise.
5881 (CLD_TRAPPED): Likewise.
5882 (CLD_STOPPED): Likewise.
5883 (CLD_CONTINUED): Likewise.
5884 (POLL_IN): Likewise.
5885 (POLL_OUT): Likewise.
5886 (POLL_MSG): Likewise.
5887 (POLL_ERR): Likewise.
5888 (POLL_PRI): Likewise.
5889 (POLL_HUP): Likewise.
5890 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5891 (ILL_ILLOPN): Likewise.
5892 (ILL_ILLADR): Likewise.
5893 (ILL_ILLTRP): Likewise.
5894 (ILL_PRVOPC): Likewise.
5895 (ILL_PRVREG): Likewise.
5896 (ILL_COPROC): Likewise.
5897 (ILL_BADSTK): Likewise.
5898 (FPE_INTDIV): Likewise.
5899 (FPE_INTOVF): Likewise.
5900 (FPE_FLTDIV): Likewise.
5901 (FPE_FLTOVF): Likewise.
5902 (FPE_FLTUND): Likewise.
5903 (FPE_FLTRES): Likewise.
5904 (FPE_FLTINV): Likewise.
5905 (FPE_FLTSUB): Likewise.
5906 (SEGV_MAPERR): Likewise.
5907 (SEGV_ACCERR): Likewise.
5908 (BUS_ADRALN): Likewise.
5909 (BUS_ADRERR): Likewise.
5910 (BUS_OBJERR): Likewise.
5911 (BUS_MCEERR_AR): Likewise.
5912 (BUS_MCEERR_AO): Likewise.
5913 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5914 (TRAP_TRACE): Likewise.
5915 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5916 __USE_XOPEN2K8].
5917 (CLD_KILLED): Likewise.
5918 (CLD_DUMPED): Likewise.
5919 (CLD_TRAPPED): Likewise.
5920 (CLD_STOPPED): Likewise.
5921 (CLD_CONTINUED): Likewise.
5922 (POLL_IN): Likewise.
5923 (POLL_OUT): Likewise.
5924 (POLL_MSG): Likewise.
5925 (POLL_ERR): Likewise.
5926 (POLL_PRI): Likewise.
5927 (POLL_HUP): Likewise.
5928 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5929 (ILL_ILLOPN): Likewise.
5930 (ILL_ILLADR): Likewise.
5931 (ILL_ILLTRP): Likewise.
5932 (ILL_PRVOPC): Likewise.
5933 (ILL_PRVREG): Likewise.
5934 (ILL_COPROC): Likewise.
5935 (ILL_BADSTK): Likewise.
5936 (FPE_INTDIV): Likewise.
5937 (FPE_INTOVF): Likewise.
5938 (FPE_FLTDIV): Likewise.
5939 (FPE_FLTOVF): Likewise.
5940 (FPE_FLTUND): Likewise.
5941 (FPE_FLTRES): Likewise.
5942 (FPE_FLTINV): Likewise.
5943 (FPE_FLTSUB): Likewise.
5944 (SEGV_MAPERR): Likewise.
5945 (SEGV_ACCERR): Likewise.
5946 (BUS_ADRALN): Likewise.
5947 (BUS_ADRERR): Likewise.
5948 (BUS_OBJERR): Likewise.
5949 (BUS_MCEERR_AR): Likewise.
5950 (BUS_MCEERR_AO): Likewise.
5951 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5952 (TRAP_TRACE): Likewise.
5953 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5954 __USE_XOPEN2K8].
5955 (CLD_KILLED): Likewise.
5956 (CLD_DUMPED): Likewise.
5957 (CLD_TRAPPED): Likewise.
5958 (CLD_STOPPED): Likewise.
5959 (CLD_CONTINUED): Likewise.
5960 (POLL_IN): Likewise.
5961 (POLL_OUT): Likewise.
5962 (POLL_MSG): Likewise.
5963 (POLL_ERR): Likewise.
5964 (POLL_PRI): Likewise.
5965 (POLL_HUP): Likewise.
5966 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5967 (ILL_ILLOPN): Likewise.
5968 (ILL_ILLADR): Likewise.
5969 (ILL_ILLTRP): Likewise.
5970 (ILL_PRVOPC): Likewise.
5971 (ILL_PRVREG): Likewise.
5972 (ILL_COPROC): Likewise.
5973 (ILL_BADSTK): Likewise.
5974 (FPE_INTDIV): Likewise.
5975 (FPE_INTOVF): Likewise.
5976 (FPE_FLTDIV): Likewise.
5977 (FPE_FLTOVF): Likewise.
5978 (FPE_FLTUND): Likewise.
5979 (FPE_FLTRES): Likewise.
5980 (FPE_FLTINV): Likewise.
5981 (FPE_FLTSUB): Likewise.
5982 (SEGV_MAPERR): Likewise.
5983 (SEGV_ACCERR): Likewise.
5984 (BUS_ADRALN): Likewise.
5985 (BUS_ADRERR): Likewise.
5986 (BUS_OBJERR): Likewise.
5987 (BUS_MCEERR_AR): Likewise.
5988 (BUS_MCEERR_AO): Likewise.
5989 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5990 (TRAP_TRACE): Likewise.
5991 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5992 __USE_XOPEN2K8].
5993 (CLD_KILLED): Likewise.
5994 (CLD_DUMPED): Likewise.
5995 (CLD_TRAPPED): Likewise.
5996 (CLD_STOPPED): Likewise.
5997 (CLD_CONTINUED): Likewise.
5998 (POLL_IN): Likewise.
5999 (POLL_OUT): Likewise.
6000 (POLL_MSG): Likewise.
6001 (POLL_ERR): Likewise.
6002 (POLL_PRI): Likewise.
6003 (POLL_HUP): Likewise.
6004 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6005 (ILL_ILLOPN): Likewise.
6006 (ILL_ILLADR): Likewise.
6007 (ILL_ILLTRP): Likewise.
6008 (ILL_PRVOPC): Likewise.
6009 (ILL_PRVREG): Likewise.
6010 (ILL_COPROC): Likewise.
6011 (ILL_BADSTK): Likewise.
6012 (ILL_DBLFLT): Likewise.
6013 (ILL_HARDWALL): Likewise.
6014 (FPE_INTDIV): Likewise.
6015 (FPE_INTOVF): Likewise.
6016 (FPE_FLTDIV): Likewise.
6017 (FPE_FLTOVF): Likewise.
6018 (FPE_FLTUND): Likewise.
6019 (FPE_FLTRES): Likewise.
6020 (FPE_FLTINV): Likewise.
6021 (FPE_FLTSUB): Likewise.
6022 (SEGV_MAPERR): Likewise.
6023 (SEGV_ACCERR): Likewise.
6024 (BUS_ADRALN): Likewise.
6025 (BUS_ADRERR): Likewise.
6026 (BUS_OBJERR): Likewise.
6027 (BUS_MCEERR_AR): Likewise.
6028 (BUS_MCEERR_AO): Likewise.
6029 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6030 (TRAP_TRACE): Likewise.
6031 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6032 __USE_XOPEN2K8].
6033 (CLD_KILLED): Likewise.
6034 (CLD_DUMPED): Likewise.
6035 (CLD_TRAPPED): Likewise.
6036 (CLD_STOPPED): Likewise.
6037 (CLD_CONTINUED): Likewise.
6038 (POLL_IN): Likewise.
6039 (POLL_OUT): Likewise.
6040 (POLL_MSG): Likewise.
6041 (POLL_ERR): Likewise.
6042 (POLL_PRI): Likewise.
6043 (POLL_HUP): Likewise.
6044 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6045 (ILL_ILLOPN): Likewise.
6046 (ILL_ILLADR): Likewise.
6047 (ILL_ILLTRP): Likewise.
6048 (ILL_PRVOPC): Likewise.
6049 (ILL_PRVREG): Likewise.
6050 (ILL_COPROC): Likewise.
6051 (ILL_BADSTK): Likewise.
6052 (FPE_INTDIV): Likewise.
6053 (FPE_INTOVF): Likewise.
6054 (FPE_FLTDIV): Likewise.
6055 (FPE_FLTOVF): Likewise.
6056 (FPE_FLTUND): Likewise.
6057 (FPE_FLTRES): Likewise.
6058 (FPE_FLTINV): Likewise.
6059 (FPE_FLTSUB): Likewise.
6060 (SEGV_MAPERR): Likewise.
6061 (SEGV_ACCERR): Likewise.
6062 (BUS_ADRALN): Likewise.
6063 (BUS_ADRERR): Likewise.
6064 (BUS_OBJERR): Likewise.
6065 (BUS_MCEERR_AR): Likewise.
6066 (BUS_MCEERR_AO): Likewise.
6067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6068 (TRAP_TRACE): Likewise.
6069 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6070 __USE_XOPEN2K8].
6071 (CLD_KILLED): Likewise.
6072 (CLD_DUMPED): Likewise.
6073 (CLD_TRAPPED): Likewise.
6074 (CLD_STOPPED): Likewise.
6075 (CLD_CONTINUED): Likewise.
6076 (POLL_IN): Likewise.
6077 (POLL_OUT): Likewise.
6078 (POLL_MSG): Likewise.
6079 (POLL_ERR): Likewise.
6080 (POLL_PRI): Likewise.
6081 (POLL_HUP): Likewise.
6082 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6083 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6084
bc61d27c
JM
6085 [BZ #16670]
6086 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6087 before #include of <time.h>.
6088 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6089 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6090 (test-xfail-UNIX98/sched.h/conform): Likewise.
6091
302949e2
MS
60922014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6093
6094 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6095 error absence of trapping exception support.
6096 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6097
a00f522a
JM
60982014-03-07 Joseph Myers <joseph@codesourcery.com>
6099
6f99f280
JM
6100 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6101 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6102 * timezone/Makefile (testdata): Move definition above include of
6103 Rules.
6104 (test-zones): New variable.
6105 (tests-special): Add zone files.
6106 (build-testdata): Use $(evaluate-test).
6107
0b20a9e8
JM
6108 * elf/Makefile (tests-special): Rename tests to end with .out.
6109 ($(objpfx)noload-mem): Likewise.
6110 ($(objpfx)tst-leaks1-mem): Likewise.
6111 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6112 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6113 $(objpfx)test-iconvconfig.out.
6114 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6115 set -e inside subshell and redirect output to file.
6116 * iconvdata/Makefile (generated): Rename tests to end with .out.
6117 Correct type.
6118 (tests-special): Rename tests to end with .out.
6119 ($(objpfx)mtrace-tst-loading): Likewise.
6120 * intl/Makefile (generated): Likewise.
6121 (tests-special): Likewise.
6122 ($(objpfx)mtrace-tst-gettext): Likewise.
6123 * misc/Makefile (generated): Likewise.
6124 (tests-special): Likewise.
6125 ($(objpfx)tst-error1-mem): Likewise.
6126 * nptl/Makefile (tests-special): Likewise.
6127 ($(objpfx)tst-stack3-mem): Likewise.
6128 (generated): Likewise.
6129 * posix/Makefile (generated): Likewise.
6130 (tests-special): Likewise.
6131 (xtests-special): Likewise.
6132 ($(objpfx)tst-fnmatch-mem): Likewise.
6133 ($(objpfx)bug-regex2-mem): Likewise.
6134 ($(objpfx)bug-regex14-mem): Likewise.
6135 ($(objpfx)bug-regex21-mem): Likewise.
6136 ($(objpfx)bug-regex31-mem): Likewise.
6137 ($(objpfx)tst-vfork3-mem): Likewise.
6138 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6139 ($(objpfx)tst-pcre-mem): Likewise.
6140 ($(objpfx)tst-boost-mem): Likewise.
6141 ($(objpfx)bug-ga2-mem): Likewise.
6142 ($(objpfx)bug-glob2-mem): Likewise.
6143 * resolv/Makefile (generate): Likewise.
6144 (tests-special): Likewise.
6145 (xtests-special): Likewise.
6146 (generated): Likewise.
6147 ($(objpfx)mtrace-tst-leaks): Likewise.
6148 ($(objpfx)mtrace-tst-leaks2): Likewise.
6149
265d52ab
JM
6150 * scripts/merge-test-results.sh: New file.
6151 * Makefile (tests-special-notdir): New variable.
6152 (tests): Run merge-test-results.sh.
6153 (xtests): Likewise.
6154 * Rules (tests-special-notdir): New variable.
6155 (xtests-special-notdir): Likewise.
6156 (tests): Run merge-test-results.sh
6157 (xtests): Likewise.
6158
54ee292d
JM
6159 * Makeconfig (test-xfail-name): New variable.
6160 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6161 compute variable name for expected failures.
6162 * conform/Makefile (conformtest-headers-data): New variable.
6163 (conformtest-standards): Likewise.
6164 (conformtest-headers-ISO): Likewise.
6165 (conformtest-headers-ISO99): Likewise.
6166 (conformtest-headers-ISO11): Likewise.
6167 (conformtest-headers-POSIX): Likewise.
6168 (conformtest-headers-XPG3): Likewise.
6169 (conformtest-headers-XPG4): Likewise.
6170 (conformtest-headers-UNIX98): Likewise.
6171 (conformtest-headers-XOPEN2K): Likewise.
6172 (conformtest-headers-POSIX2008): Likewise.
6173 (conformtest-headers-XOPEN2K8): Likewise.
6174 (conformtest-header-list-base): Likewise.
6175 (conformtest-header-list-tests): Likewise.
6176 (conformtest-header-base): Likewise.
6177 (conformtest-header-tests): Likewise.
6178 (tests-special): Add $(conformtest-header-list-tests). If
6179 [$(fast-check) && !$(cross-compiling)], add
6180 $(conformtest-header-tests) instead of
6181 $(objpfx)run-conformtest.out.
6182 (generated): Add $(conformtest-header-list-base). If
6183 [$(fast-check) && !$(cross-compiling)], add
6184 $(conformtest-header-base). Remove previous setting.
6185 ($(conformtest-header-list-tests)): New target.
6186 (test-xfail-run-conformtest): Remove variable.
6187 ($(objpfx)run-conformtest.out): Remove target.
6188 (test-xfail-ISO11/complex.h/conform): New variable.
6189 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6190 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6191 (test-xfail-XPG3/varargs.h/conform): Likewise.
6192 (test-xfail-XPG4/varargs.h/conform): Likewise.
6193 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6194 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6195 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6196 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6197 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6198 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6199 (test-xfail-XPG3/ftw.h/conform): Likewise.
6200 (test-xfail-XPG3/grp.h/conform): Likewise.
6201 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6202 (test-xfail-XPG3/limits.h/conform): Likewise.
6203 (test-xfail-XPG3/pwd.h/conform): Likewise.
6204 (test-xfail-XPG3/search.h/conform): Likewise.
6205 (test-xfail-XPG3/signal.h/conform): Likewise.
6206 (test-xfail-XPG3/stdio.h/conform): Likewise.
6207 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6208 (test-xfail-XPG3/string.h/conform): Likewise.
6209 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6210 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6211 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6212 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6213 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6214 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6215 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6216 (test-xfail-XPG3/termios.h/conform): Likewise.
6217 (test-xfail-XPG3/time.h/conform): Likewise.
6218 (test-xfail-XPG3/unistd.h/conform): Likewise.
6219 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6220 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6221 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6222 (test-xfail-XPG4/netdb.h/conform): Likewise.
6223 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6224 (test-xfail-XPG4/signal.h/conform): Likewise.
6225 (test-xfail-XPG4/stdio.h/conform): Likewise.
6226 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6227 (test-xfail-XPG4/stropts.h/conform): Likewise.
6228 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6229 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6230 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6231 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6232 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6233 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6234 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6235 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6236 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6237 (test-xfail-XPG4/termios.h/conform): Likewise.
6238 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6239 (test-xfail-XPG4/unistd.h/conform): Likewise.
6240 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6241 (test-xfail-POSIX/sched.h/conform): Likewise.
6242 (test-xfail-POSIX/signal.h/conform): Likewise.
6243 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6244 (test-xfail-POSIX/tar.h/conform): Likewise.
6245 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6246 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6247 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6248 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6249 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6250 (test-xfail-UNIX98/sched.h/conform): Likewise.
6251 (test-xfail-UNIX98/signal.h/conform): Likewise.
6252 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6253 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6254 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6255 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6256 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6257 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6258 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6259 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6260 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6261 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6262 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6263 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6264 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6265 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6266 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6267 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6268 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6269 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6270 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6271 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6272 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6273 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6274 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6275 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6276 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6277 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6278 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6279 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6280 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6281 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6282 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6283 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6284 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6285 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6286 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6287 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6288 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6289 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6290 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6291 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6292 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6293 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6294 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6295 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6296 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6297 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6298 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6299 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6300 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6301 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6302 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6303 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6304 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6305 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6306 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6307 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6308 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6309 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6310 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6311 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6312 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6313 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6314 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6315 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6316 (conformtest-cc-flags): Likewise.
6317 ($(conformtest-header-tests): New target.
6318 * conform/check-header-lists.sh: New file.
6319 * conform/run-conformtest.sh: Remove.
6320
a00f522a
JM
6321 * conform/conformtest.pl: Allow ' and \ in values given for
6322 constants.
6323 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6324 inclusion.
6325 [POSIX] (sys/types.h): Likewise.
6326 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6327 inclusion.
6328 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6329 inclusion.
6330 * conform/data/signal.h-data (SIGIO): Remove expectation.
6331 [XPG3] (SIGBUS): Do not expect.
6332 [POSIX || XPG3] (SIGPOLL): Likewise.
6333 [POSIX || XPG3] (SIGPROF): Likewise.
6334 [POSIX || XPG3] (SIGSYS): Likewise.
6335 [XPG3] (SIGTRAP): Likewise.
6336 [POSIX || XPG3] (SIGURG): Likewise.
6337 [POSIX || XPG3] (SIGVTALRM): Likewise.
6338 [POSIX || XPG3] (SIGXCPU): Likewise.
6339 [POSIX || XPG3] (SIGXFSZ): Likewise.
6340 [POSIX] (SA_SIGINFO): Expect.
6341 [XPG3] (siginfo_t): Do not expect type or contents.
6342 [POSIX] (si_pid): Do not expect element.
6343 [POSIX] (si_uid): Likewise.
6344 [POSIX] (si_addr): Likewise.
6345 [POSIX] (si_status): Likewise.
6346 [POSIX] (si_band): Likewise.
6347 [XPG4] (si_value): Likewise.
6348 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6349 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6350 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6351 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6352 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6353 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6354 [POSIX || XPG3] (ILL_COPROC): Likewise.
6355 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6356 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6357 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6358 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6359 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6360 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6361 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6362 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6363 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6364 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6365 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6366 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6367 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6368 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6369 [POSIX || XPG3] (CLD_EXITED): Likewise.
6370 [POSIX || XPG3] (CLD_KILLED): Likewise.
6371 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6372 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6373 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6374 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6375 [POSIX || XPG3] (POLL_IN): Likewise.
6376 [POSIX || XPG3] (POLL_OUT): Likewise.
6377 [POSIX || XPG3] (POLL_MSG): Likewise.
6378 [POSIX || XPG3] (POLL_ERR): Likewise.
6379 [POSIX || XPG3] (POLL_PRI): Likewise.
6380 [POSIX || XPG3] (POLL_HUP): Likewise.
6381 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6382 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6383 (SIG*): Do not allow.
6384 [XPG3] (si_*): Likewise.
6385 [XPG3] (SI_*): Likewise.
6386 [XPG3 || XPG4] (sigev_*): Likewise.
6387 [XPG3 || XPG4] (SIGEV_*): Likewise.
6388 [XPG3 || XPG4] (sival_*): Likewise.
6389 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6390 [POSIX || XPG3] (BUS_*): Likewise.
6391 [POSIX || XPG3] (CLD_*): Likewise.
6392 [POSIX || XPG3] (FPE_*): Likewise.
6393 [POSIX || XPG3] (ILL_*): Likewise.
6394 [POSIX || XPG3] (POLL_*): Likewise.
6395 [POSIX || XPG3] (SEGV_*): Likewise.
6396 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6397 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6398 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6399 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6400 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6401 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6402 Specify type and value.
6403 (TVERSLEN): Likewise.
6404 (REGTYPE): Likewise.
6405 (AREGTYPE): Likewise.
6406 (LNKTYPE): Likewise.
6407 (SYMTYPE): Likewise.
6408 (CHRTYPE): Likewise.
6409 (BLKTYPE): Likewise.
6410 (DIRTYPE): Likewise.
6411 (FIFOTYPE): Likewise.
6412 (CONTTYPE): Likewise.
6413 (TSUID): Likewise.
6414 (TSGID): Likewise.
6415 (TSVTX): Likewise.
6416 (TUREAD): Likewise.
6417 (TUWRITE): Likewise.
6418 (TUEXEC): Likewise.
6419 (TGREAD): Likewise.
6420 (TGWRITE): Likewise.
6421 (TGEXEC): Likewise.
6422 (TOREAD): Likewise.
6423 (TOWRITE): Likewise.
6424 (TOEXEC): Likewise.
6425 [POSIX] (TSVTX): Expect constant.
6426
aa97dee1
JM
64272014-03-06 Joseph Myers <joseph@codesourcery.com>
6428
f214606a
JM
6429 * Makefile (tests): Change dependencies to ....
6430 (tests-special): ... additions to this variable.
6431 (tests): Depend on $(tests-special).
6432 * Makerules (check-abi-list): New variable.
6433 (check-abi): Depend on $(check-abi-list).
6434 [$(subdir) = elf] (tests-special): Add
6435 $(objpfx)check-abi-libc.out.
6436 [$(build-shared) = yes && subdir] (tests-special): Add
6437 $(check-abi-list).
6438 [$(build-shared) = yes && subdir] (tests): Do not depend on
6439 check-abi.
6440 * Rules (tests): Depend on $(tests-special).
6441 (xtests): Depend on $(xtests-special).
6442 * catgets/Makefile (tests): Change dependencies to ....
6443 (tests-special): ... additions to this variable.
6444 * conform/Makefile (tests): Change dependencies to ....
6445 (tests-special): ... additions to this variable.
6446 * elf/Makefile (tests): Change dependencies to ....
6447 (tests-special): ... additions to this variable.
6448 * grp/Makefile (tests): Change dependencies to ....
6449 (tests-special): ... additions to this variable.
6450 * iconv/Makefile (xtests): Change dependencies to ....
6451 (xtests-special): ... additions to this variable.
6452 * iconvdata/Makefile (tests): Change dependencies to ....
6453 (tests-special): ... additions to this variable.
6454 * intl/Makefile (tests): Change dependencies to ....
6455 (tests-special): ... additions to this variable. Also add
6456 $(objpfx)tst-gettext.out.
6457 * io/Makefile (tests): Change dependencies to ....
6458 (tests-special): ... additions to this variable.
6459 * libio/Makefile (tests): Change dependencies to ....
6460 (tests-special): ... additions to this variable.
6461 * malloc/Makefile (tests): Change dependencies to ....
6462 (tests-special): ... additions to this variable.
6463 * misc/Makefile (tests): Change dependencies to ....
6464 (tests-special): ... additions to this variable.
6465 * nptl/Makefile (tests): Change dependencies to ....
6466 (tests-special): ... additions to this variable.
6467 * nptl_db/Makefile (tests): Change dependencies to ....
6468 (tests-special): ... additions to this variable.
6469 * posix/Makefile (tests): Change dependencies to ....
6470 (tests-special): ... additions to this variable.
6471 (xtests): Change dependencies to ....
6472 (xtests-special): ... additions to this variable.
6473 * resolv/Makefile (tests): Change dependencies to ....
6474 (tests-special): ... additions to this variable.
6475 (xtests): Change dependencies to ....
6476 (xtests-special): ... additions to this variable.
6477 * stdio-common/Makefile (tests): Change dependencies to ....
6478 (tests-special): ... additions to this variable.
6479 (do-tst-unbputc): Remove target.
6480 (do-tst-printf): Likewise.
6481 * stdlib/Makefile (tests): Change dependencies to ....
6482 (tests-special): ... additions to this variable.
6483 * string/Makefile (tests): Change dependencies to ....
6484 (tests-special): ... additions to this variable.
6485 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6486 (tests-special): ... additions to this variable.
6487
81700b53
JM
6488 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6489 whole file.
6490 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6491 whole file.
6492 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6493 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6494
2ea18461
JM
6495 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6496 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6497 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6498 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6499 * conform/data/libgen.h-data [XPG3]: Likewise.
6500 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6501 * conform/data/ndbm.h-data [XPG3]: Likewise.
6502 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6503 * conform/data/netdb.h-data [XPG3]: Likewise.
6504 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6505 * conform/data/poll.h-data [XPG3]: Likewise.
6506 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6507 * conform/data/strings.h-data [XPG3]: Likewise.
6508 * conform/data/stropts.h-data [XPG3]: Likewise.
6509 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6510 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6511 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6512 Likewise.
6513 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6514 * conform/data/sys/time.h-data [XPG3]: Likewise.
6515 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6516 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6517 * conform/data/sys/un.h-data [XPG3]: Likewise.
6518 * conform/data/syslog.h-data [XPG3]: Likewise.
6519 * conform/data/ucontext.h-data [XPG3]: Likewise.
6520 * conform/data/utmpx.h-data [XPG3]: Likewise.
6521 * conform/data/varargs.h-data [UNIX98]: Enable file.
6522
355bc986
JM
6523 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6524
215db402
JM
6525 * math/libm-test.inc (struct test_f_f_data): Move expected results
6526 into structure for each rounding mode.
6527 (struct test_ff_f_data): Likewise.
6528 (struct test_ff_f_data_nexttoward): Likewise.
6529 (struct test_fi_f_data): Likewise.
6530 (struct test_fl_f_data): Likewise.
6531 (struct test_if_f_data): Likewise.
6532 (struct test_fff_f_data): Likewise.
6533 (struct test_c_f_data): Likewise.
6534 (struct test_f_f1_data): Likewise.
6535 (struct test_fF_f1_data): Likewise.
6536 (struct test_ffI_f1_data): Likewise.
6537 (struct test_c_c_data): Likewise.
6538 (struct test_cc_c_data): Likewise.
6539 (struct test_f_i_data): Likewise.
6540 (struct test_ff_i_data): Likewise.
6541 (struct test_f_l_data): Likewise.
6542 (struct test_f_L_data): Likewise.
6543 (struct test_fFF_11_data): Likewise.
6544 (RM_): New macro.
6545 (RM_FE_DOWNWARD): Likewise.
6546 (RM_FE_TONEAREST): Likewise.
6547 (RM_FE_TOWARDZERO): Likewise.
6548 (RM_FE_UPWARD): Likewise.
6549 (RUN_TEST_LOOP_f_f): Update references to expected results.
6550 (RUN_TEST_LOOP_2_f): Likewise.
6551 (RUN_TEST_LOOP_fff_f): Likewise.
6552 (RUN_TEST_LOOP_c_f): Likewise.
6553 (RUN_TEST_LOOP_f_f1): Likewise.
6554 (RUN_TEST_LOOP_fF_f1): Likewise.
6555 (RUN_TEST_LOOP_fI_f1): Likewise.
6556 (RUN_TEST_LOOP_ffI_f1): Likewise.
6557 (RUN_TEST_LOOP_c_c): Likewise.
6558 (RUN_TEST_LOOP_cc_c): Likewise.
6559 (RUN_TEST_LOOP_f_i): Likewise.
6560 (RUN_TEST_LOOP_f_i_tg): Likewise.
6561 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6562 (RUN_TEST_LOOP_f_b): Likewise.
6563 (RUN_TEST_LOOP_f_b_tg): Likewise.
6564 (RUN_TEST_LOOP_f_l): Likewise.
6565 (RUN_TEST_LOOP_f_L): Likewise.
6566 (RUN_TEST_LOOP_fFF_11): Likewise.
6567 * math/gen-libm-test.pl (parse_args): Output four copies of
6568 expected results for each test.
6569
67737b8f
JM
6570 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6571 (__ASSUME_UTIMES): Remove.
6572 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6573 (__ASSUME_UTIMES): Likewise.
6574
aa97dee1
JM
6575 * math/gen-auto-libm-tests.c: Update comment on output format.
6576 (output_for_one_input_case): Generate before-rounding and
6577 after-rounding information as conditions on output flags not
6578 floating-point format.
6579 * math/auto-libm-test-out: Regenerated.
6580 * math/gen-libm-test.pl (cond_value): New function.
6581 (or_cond_value): Use cond_value.
6582 (generate_testfile): Handle conditional exceptions.
6583
e6b6a857
JM
65842014-03-05 Joseph Myers <joseph@codesourcery.com>
6585
2f0a0f44
JM
6586 * math/libm-test.inc (max_valid_error): New variable.
6587 (init_max_error): Take new argument specifying whether function
6588 results are exactly determined. Set max_valid_error and bound
6589 other variables for errors based on this argument.
6590 (set_max_error): Do not record results above max_valid_error.
6591 (check_float_internal): Only accept errors of up to 0.5ulps if
6592 also at most max_valid_error.
6593 (START): Take new argument EXACT and pass it to init_max_error.
6594 (acos_test): Update call to START.
6595 (acos_test_tonearest): Likewise.
6596 (acos_test_towardzero): Likewise.
6597 (acos_test_downward): Likewise.
6598 (acos_test_upward): Likewise.
6599 (acosh_test): Likewise.
6600 (asin_test): Likewise.
6601 (asin_test_tonearest): Likewise.
6602 (asin_test_towardzero): Likewise.
6603 (asin_test_downward): Likewise.
6604 (asin_test_upward): Likewise.
6605 (asinh_test): Likewise.
6606 (atan_test): Likewise.
6607 (atanh_test): Likewise.
6608 (atan2_test): Likewise.
6609 (cabs_test): Likewise.
6610 (cacos_test): Likewise.
6611 (cacosh_test): Likewise.
6612 (carg_test): Likewise.
6613 (casin_test): Likewise.
6614 (casinh_test): Likewise.
6615 (catan_test): Likewise.
6616 (catanh_test): Likewise.
6617 (cbrt_test): Likewise.
6618 (ccos_test): Likewise.
6619 (ccosh_test): Likewise.
6620 (ceil_test): Likewise.
6621 (cexp_test): Likewise.
6622 (cimag_test): Likewise.
6623 (clog_test): Likewise.
6624 (clog10_test): Likewise.
6625 (conj_test): Likewise.
6626 (copysign_test): Likewise.
6627 (cos_test): Likewise.
6628 (cos_test_tonearest): Likewise.
6629 (cos_test_towardzero): Likewise.
6630 (cos_test_downward): Likewise.
6631 (cos_test_upward): Likewise.
6632 (cosh_test): Likewise.
6633 (cosh_test_tonearest): Likewise.
6634 (cosh_test_towardzero): Likewise.
6635 (cosh_test_downward): Likewise.
6636 (cosh_test_upward): Likewise.
6637 (cpow_test): Likewise.
6638 (cproj_test): Likewise.
6639 (creal_test): Likewise.
6640 (csin_test): Likewise.
6641 (csinh_test): Likewise.
6642 (csqrt_test): Likewise.
6643 (ctan_test): Likewise.
6644 (ctan_test_tonearest): Likewise.
6645 (ctan_test_towardzero): Likewise.
6646 (ctan_test_downward): Likewise.
6647 (ctan_test_upward): Likewise.
6648 (ctanh_test): Likewise.
6649 (ctanh_test_tonearest): Likewise.
6650 (ctanh_test_towardzero): Likewise.
6651 (ctanh_test_downward): Likewise.
6652 (ctanh_test_upward): Likewise.
6653 (erf_test): Likewise.
6654 (erfc_test): Likewise.
6655 (exp_test): Likewise.
6656 (exp_test_tonearest): Likewise.
6657 (exp_test_towardzero): Likewise.
6658 (exp_test_downward): Likewise.
6659 (exp_test_upward): Likewise.
6660 (exp10_test): Likewise.
6661 (exp10_test_tonearest): Likewise.
6662 (exp10_test_towardzero): Likewise.
6663 (exp10_test_downward): Likewise.
6664 (exp10_test_upward): Likewise.
6665 (pow10_test): Likewise.
6666 (exp2_test): Likewise.
6667 (expm1_test): Likewise.
6668 (expm1_test_tonearest): Likewise.
6669 (expm1_test_towardzero): Likewise.
6670 (expm1_test_downward): Likewise.
6671 (expm1_test_upward): Likewise.
6672 (fabs_test): Likewise.
6673 (fdim_test): Likewise.
6674 (floor_test): Likewise.
6675 (fma_test): Likewise.
6676 (fma_test_towardzero): Likewise.
6677 (fma_test_downward): Likewise.
6678 (fma_test_upward): Likewise.
6679 (fmax_test): Likewise.
6680 (fmin_test): Likewise.
6681 (fmod_test): Likewise.
6682 (fpclassify_test): Likewise.
6683 (frexp_test): Likewise.
6684 (hypot_test): Likewise.
6685 (ilogb_test): Likewise.
6686 (isfinite_test): Likewise.
6687 (finite_test): Likewise.
6688 (isgreater_test): Likewise.
6689 (isgreaterequal_test): Likewise.
6690 (isinf_test): Likewise.
6691 (isless_test): Likewise.
6692 (islessequal_test): Likewise.
6693 (islessgreater_test): Likewise.
6694 (isnan_test): Likewise.
6695 (isnormal_test): Likewise.
6696 (issignaling_test): Likewise.
6697 (isunordered_test): Likewise.
6698 (j0_test): Likewise.
6699 (j1_test): Likewise.
6700 (jn_test): Likewise.
6701 (ldexp_test): Likewise.
6702 (lgamma_test): Likewise.
6703 (gamma_test): Likewise.
6704 (lrint_test): Likewise.
6705 (lrint_test_tonearest): Likewise.
6706 (lrint_test_towardzero): Likewise.
6707 (lrint_test_downward): Likewise.
6708 (lrint_test_upward): Likewise.
6709 (llrint_test): Likewise.
6710 (llrint_test_tonearest): Likewise.
6711 (llrint_test_towardzero): Likewise.
6712 (llrint_test_downward): Likewise.
6713 (llrint_test_upward): Likewise.
6714 (log_test): Likewise.
6715 (log10_test): Likewise.
6716 (log1p_test): Likewise.
6717 (log2_test): Likewise.
6718 (logb_test): Likewise.
6719 (logb_test_downward): Likewise.
6720 (lround_test): Likewise.
6721 (llround_test): Likewise.
6722 (modf_test): Likewise.
6723 (nearbyint_test): Likewise.
6724 (nextafter_test): Likewise.
6725 (nexttoward_test): Likewise.
6726 (pow_test): Likewise.
6727 (pow_test_tonearest): Likewise.
6728 (pow_test_towardzero): Likewise.
6729 (pow_test_downward): Likewise.
6730 (pow_test_upward): Likewise.
6731 (remainder_test): Likewise.
6732 (drem_test): Likewise.
6733 (remainder_test_tonearest): Likewise.
6734 (drem_test_tonearest): Likewise.
6735 (remainder_test_towardzero): Likewise.
6736 (drem_test_towardzero): Likewise.
6737 (remainder_test_downward): Likewise.
6738 (drem_test_downward): Likewise.
6739 (remainder_test_upward): Likewise.
6740 (drem_test_upward): Likewise.
6741 (remquo_test): Likewise.
6742 (rint_test): Likewise.
6743 (rint_test_tonearest): Likewise.
6744 (rint_test_towardzero): Likewise.
6745 (rint_test_downward): Likewise.
6746 (rint_test_upward): Likewise.
6747 (round_test): Likewise.
6748 (scalb_test): Likewise.
6749 (scalbn_test): Likewise.
6750 (scalbln_test): Likewise.
6751 (signbit_test): Likewise.
6752 (sin_test): Likewise.
6753 (sin_test_tonearest): Likewise.
6754 (sin_test_towardzero): Likewise.
6755 (sin_test_downward): Likewise.
6756 (sin_test_upward): Likewise.
6757 (sincos_test): Likewise.
6758 (sinh_test): Likewise.
6759 (sinh_test_tonearest): Likewise.
6760 (sinh_test_towardzero): Likewise.
6761 (sinh_test_downward): Likewise.
6762 (sinh_test_upward): Likewise.
6763 (sqrt_test): Likewise.
6764 (sqrt_test_tonearest): Likewise.
6765 (sqrt_test_towardzero): Likewise.
6766 (sqrt_test_downward): Likewise.
6767 (sqrt_test_upward): Likewise.
6768 (tan_test): Likewise.
6769 (tan_test_tonearest): Likewise.
6770 (tan_test_towardzero): Likewise.
6771 (tan_test_downward): Likewise.
6772 (tan_test_upward): Likewise.
6773 (tanh_test): Likewise.
6774 (tgamma_test): Likewise.
6775 (trunc_test): Likewise.
6776 (y0_test): Likewise.
6777 (y1_test): Likewise.
6778 (yn_test): Likewise.
6779 (significand_test): Likewise.
6780
e6b6a857
JM
6781 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6782 individual tests in comment.
6783 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6784 (prev_max_error): New variable.
6785 (prev_real_max_error): Likewise.
6786 (prev_imag_max_error): Likewise.
6787 (compare_ulp_data): Don't refer to test names in comment.
6788 (find_test_ulps): Remove function.
6789 (find_function_ulps): Likewise.
6790 (find_complex_function_ulps): Likewise.
6791 (init_max_error): Take function name as argument. Look up ulps
6792 for that function.
6793 (print_ulps): Remove function.
6794 (print_max_error): Use prev_max_error instead of calling
6795 find_function_ulps.
6796 (print_complex_max_error): Use prev_real_max_error and
6797 prev_imag_max_error instead of calling find_complex_function_ulps.
6798 (check_float_internal): Take max_ulp parameter instead of calling
6799 find_test_ulps. Don't call print_ulps.
6800 (check_float): Update call to check_float_internal.
6801 (check_complex): Update calls to check_float_internal.
6802 (START): Pass argument to init_max_error.
6803 * math/gen-libm-test.pl (%results): Don't include "kind"
6804 information.
6805 (parse_ulps): Don't handle ulps of individual tests.
6806 (print_ulps_file): Likewise.
6807 (output_ulps): Likewise.
6808 * math/README.libm-test: Update.
6809 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6810 individual tests.
6811 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6812 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6813 * sysdeps/arm/libm-test-ulps: Likewise.
6814 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6815 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6816 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6817 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6818 * sysdeps/microblaze/libm-test-ulps: Likewise.
6819 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6820 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6821 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6822 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6823 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6824 * sysdeps/sh/libm-test-ulps: Likewise.
6825 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6826 * sysdeps/tile/libm-test-ulps: Likewise.
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828
45adef3c
JM
68292014-03-04 Joseph Myers <joseph@codesourcery.com>
6830
6831 * math/libm-test.inc (print_complex_max_error): Check separately
6832 whether real and imaginary errors are within allowed range and
6833 pass 0 to print_complex_function_ulps instead of value within
6834 allowed range.
6835
000232b9
SP
68362014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6837
d4b17258
SP
6838 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6839 formatting.
6840 (get_handles_fopen): Likewise.
6841 (do_write_test): Likewise.
6842
091eff71
SP
6843 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6844
fa3cd248
SP
6845 * libio/fileops.c (do_ftell): Use cached offset when
6846 available.
6847 * libio/iofwide.c (do_ftell_wide): Likewise.
6848 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6849 _IO_file_attach.
6850 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6851
000232b9
SP
6852 [BZ #16532]
6853 * libio/libioP.h (get_file_offset): New function.
6854 * libio/fileops.c (get_file_offset): Likewise.
6855 (do_ftell): Likewise.
6856 (_IO_new_file_seekoff): Split out ftell logic.
6857 * libio/wfileops.c (do_ftell_wide): Likewise.
6858 (_IO_wfile_seekoff): Split out ftell logic.
6859 * libio/tst-ftell-active-handler.c: New test case.
6860 * libio/Makefile (tests): Add it.
6861
116f4d1a
RM
68622014-03-03 Roland McGrath <roland@hack.frob.com>
6863
6864 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6865 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6866
532a6035
SP
68672014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6868
6869 [BZ #16639]
6870 * nscd/connections.c (nscd_init): Call do_exit.
6871 (start_threads): Call do_exit and notify_parent.
6872 (begin_drop_privileges): Call do_exit.
6873 (finish_drop_privileges): Likewise.
6874 * nscd/selinux.c (preserve_capabilities): Likewise.
6875 (install_real_capabilities): Likewise.
6876 (nscd_selinux_enabled): Likewise.
6877 (avc_create_thread): Likewise.
6878 (avc_alloc_lock): Likewise.
6879 (nscd_avc_init): Likewise.
6880 * nscd/nscd.c (parent_fd): New static variable.
6881 (main): Create a pipe between parent and child processes.
6882 Skip closing parent_fd.
6883 (monitor_child): New function.
6884 (do_exit): Likewise.
6885 (notify_parent): Likewise.
6886 * nscd/nscd.h (notify_parent): Likewise.
6887 (do_exit): Likewise.
6888
d6285c9f
CD
68892014-03-03 Carlos O'Donell <carlos@redhat.com>
6890
6891 * malloc/malloc.c (__libc_calloc): Revert last change.
6892
2b85d2a0
AZ
68932014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6894
6895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6896
c7debbdf
RS
68972014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6898
6899 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6901 implementation.
6902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6903 (__libc_ifunc_impl_list): Likewise.
6904 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6905 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6906 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6907 * string/strrchr.c: Define STRRCHR.
6908
235eed86
OB
69092014-02-28 Ondřej Bílka <neleai@seznam.cz>
6910
6911 * benchtest/bench-strtok.c (simple_strtok): Delete.
6912 (strtok_string): Use as benchmark.
6913 * string/strtok (STRTOK): New macro.
6914
8e25d1e7
CD
69152014-02-28 Carlos O'Donell <carlos@redhat.com>
6916
ef563f92
CD
6917 * manual/threads.texi: Add header and standard comments to all
6918 functions.
6919
8e25d1e7
CD
6920 * elf/dl-lookup.c (check_match): New function.
6921 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6922 (do_lookup_x): Remove nested function check_match. Use non-nested
6923 function check_match.
6924
ff71cc37
RM
69252014-02-28 Roland McGrath <roland@hack.frob.com>
6926
f08e9a26
RM
6927 * csu/Makefile (generated, before-compile): Use += rather than =.
6928 * catgets/Makefile (generated, generated-dirs): Likewise.
6929 * debug/Makefile (generated): Likewise.
6930 * dlfcn/Makefile (generated): Likewise.
6931 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6932 * iconvdata/Makefile (before-compile, generated): Likewise.
6933 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6934 * libio/Makefile (generated): Likewise.
6935 * malloc/Makefile (generated): Likewise.
6936 * manual/Makefile (generated, generated-dirs): Likewise.
6937 * misc/Makefile (generated): Likewise.
6938 * posix/Makefile (generated): Likewise.
6939 * resolv/Makefile (generated): Likewise.
6940 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6941 * timezone/Makefile (generated, generated-dirs): Likewise.
6942
ff71cc37
RM
6943 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6944
fe13a20c
AZ
69452014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6946
57f41c40
AS
6947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6948 power8 implementation.
6949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6950 file: POWER8 llround ifunc implementation.
6951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6952 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
6953 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6954 POWER8 llround implementation.
6955
57f41c40
AS
6956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6957 power8 implementation.
6958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6959 file: POWER8 llrint ifunc implementation.
6960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6961 Add POWER8 implementation.
1ad8950a
AZ
6962 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6963 POWER8 llrint implementation.
6964
57f41c40
AS
6965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6966 power8 implementation.
6967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6968 file: POWER8 finite ifunc implementation.
6969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6970 Add POWER8 implementation.
cac626d6
AZ
6971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6972 Likewise.
6973 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6974 POWER8 finite implementation.
6975 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6976
57f41c40
AS
6977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6978 power8 implementation.
6979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6980 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
6981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6982 POWER8 implementation.
6983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6984 Likewise.
57f41c40
AS
6985 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6986 isinf implementation.
4393fc11
AZ
6987 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6988
57f41c40
AS
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6990 (INIT_ARCH): Add hwcap2 initialization.
6991 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6992 power8 implementation.
6993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6994 file: POWER8 isnan ifunc implementation.
487972ae
AZ
6995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6996 POWER8 implementation.
6997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6998 Likewise.
57f41c40
AS
6999 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7000 isnan implementation.
487972ae
AZ
7001 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7002
7d92b787
JY
70032014-02-27 Joey Ye <joey.ye@arm.com>
7004
7005 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7006 (_FP_NANFRAC_Q): Set to zero.
7007
1cadc858
SP
70082014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7009
7010 [BZ #16623]
7011 * math/auto-libm-test-in: New test inputs.
7012 * math/auto-libm-test-out: Regenerate.
7013 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7014 and DA.
7015 (__cos): Likewise.
7016 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7017
f8c17e79
JM
70182014-02-27 Joseph Myers <joseph@codesourcery.com>
7019
7020 * scripts/evaluate-test.sh: Take new argument indicating whether
7021 failure is expected.
7022 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7023 indicating whether failure is expected.
7024 * conform/Makefile (test-xfail-run-conformtest): New variable.
7025 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7026 level.
7027 * posix/Makefile (test-xfail-annexc): New variable.
7028 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7029
a5f891ac
JM
70302014-02-26 Joseph Myers <joseph@codesourcery.com>
7031
7032 * argp/Makefile: Include Makeconfig immediately after defining
7033 subdir.
7034 * assert/Makefile: Likewise.
7035 * benchtests/Makefile: Likewise.
7036 * catgets/Makefile: Likewise.
7037 * conform/Makefile: Likewise.
7038 * crypt/Makefile: Likewise.
7039 * csu/Makefile: Likewise.
7040 (all): Remove target.
7041 * ctype/Makefile: Include Makeconfig immediately after defining
7042 subdir.
7043 * debug/Makefile: Likewise.
7044 * dirent/Makefile: Likewise.
7045 * dlfcn/Makefile: Likewise.
7046 * gmon/Makefile: Likewise.
7047 * gnulib/Makefile: Likewise.
7048 * grp/Makefile: Likewise.
7049 * gshadow/Makefile: Likewise.
7050 * hesiod/Makefile: Likewise.
7051 * hurd/Makefile: Likewise.
7052 (all): Remove target.
7053 * iconvdata/Makefile: Include Makeconfig immediately after
7054 defining subdir.
7055 * inet/Makefile: Likewise.
7056 * intl/Makefile: Likewise.
7057 * io/Makefile: Likewise.
7058 * libio/Makefile: Likewise.
7059 (all): Remove target.
7060 * locale/Makefile: Include Makeconfig immediately after defining
7061 subdir.
7062 * login/Makefile: Likewise.
7063 * mach/Makefile: Likewise.
7064 (all): Remove target.
7065 * malloc/Makefile: Include Makeconfig immediately after defining
7066 subdir.
7067 (all): Remove target.
7068 * manual/Makefile: Include Makeconfig immediately after defining
7069 subdir.
7070 * math/Makefile: Likewise.
7071 * misc/Makefile: Likewise.
7072 * nis/Makefile: Likewise.
7073 * nss/Makefile: Likewise.
7074 * po/Makefile: Likewise.
7075 (all): Remove target.
7076 * posix/Makefile: Include Makeconfig immediately after defining
7077 subdir.
7078 * pwd/Makefile: Likewise.
7079 * resolv/Makefile: Likewise.
7080 * resource/Makefile: Likewise.
7081 * rt/Makefile: Likewise.
7082 * setjmp/Makefile: Likewise.
7083 * shadow/Makefile: Likewise.
7084 * signal/Makefile: Likewise.
7085 * socket/Makefile: Likewise.
7086 * soft-fp/Makefile: Likewise.
7087 * stdio-common/Makefile: Likewise.
7088 * stdlib/Makefile: Likewise.
7089 * streams/Makefile: Likewise.
7090 * string/Makefile: Likewise.
7091 * sunrpc/Makefile: Likewise.
7092 (all): Remove target.
7093 * sysvipc/Makefile: Include Makeconfig immediately after defining
7094 subdir.
7095 * termios/Makefile: Likewise.
7096 * time/Makefile: Likewise.
7097 * timezone/Makefile: Likewise.
7098 (all): Remove target.
7099 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7100 subdir.
7101 * wctype/Makefile: Likewise.
7102
5b456e9d
SE
71032014-02-26 Steve Ellcey <sellcey@mips.com>
7104
7105 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7106 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7107 (libc_feholdexcept_setround_mips): Ditto.
7108 (libc_feholdsetround): New.
7109 (libc_feholdsetroundf): New.
7110 (libc_feholdsetroundl): New.
7111 (libc_feupdateenv_test_mips): New.
7112 (libc_feupdateenv_test): New.
7113 (libc_feupdateenv_testf): New.
7114 (libc_feupdateenv_testl): New.
7115 (libc_feresetround): New.
7116 (libc_feresetroundf): New.
7117 (libc_feresetroundl): New.
7118 (libc_fetestexcept_mips): New.
7119 (libc_fetestexcept): New.
7120 (libc_fetestexceptf): New.
7121 (libc_fetestexceptl): New.
7122 (HAVE_RM_CTX): New.
7123 (libc_feholdexcept_setround_mips_ctx): New.
7124 (libc_feholdexcept_setround_ctx): New.
7125 (libc_feholdexcept_setroundf_ctx): New.
7126 (libc_feholdexcept_setroundl_ctx): New.
7127 (libc_fesetenv_mips_ctx): New.
7128 (libc_fesetenv_ctx): New.
7129 (libc_fesetenv_ctxf): New.
7130 (libc_fesetenv_ctxl): New.
7131 (libc_feupdateenv_mips_ctx): New.
7132 (libc_feupdateenv_ctx): New.
7133 (libc_feupdateenvf_ctx): New.
7134 (libc_feupdateenvl_ctx): New.
7135 (libc_feholdsetround_mips_ctx): New.
7136 (libc_feholdsetround_ctx): New.
7137 (libc_feholdsetroundf_ctx): New.
7138 (libc_feholdsetroundl_ctx): New.
7139 (libc_feresetround_mips_ctx): New.
7140 (libc_feresetround_ctx): New.
7141 (libc_feresetroundf_ctx): New.
7142 (libc_feresetroundl_ctx): New.
7143
085d0e35
CD
71442014-02-26 Carlos O'Donell <carlos@redhat.com>
7145
f067bf1f
CD
7146 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7147
085d0e35
CD
7148 * manual/ipc.texi: New file.
7149 * manual/Makefile (chapters): Add ipc.
7150 * manual/job.texi: Add "Inter-Process Communication" to next.
7151 * manual/process.texi: Add "Inter-Process Communication" to prev.
7152
86e58c08
AZ
71532014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7154
7155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7156
4248f0da
OB
71572014-02-26 Ondřej Bílka <neleai@seznam.cz>
7158
7159 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7160
cf822e3c
OB
7161 * manual/arith.texi: Fix spaces after sentences.
7162 * manual/charset.texi: Likewise.
7163 * manual/errno.texi: Likewise.
7164 * manual/install.texi: Likewise.
7165 * manual/llio.texi: Likewise.
7166 * manual/locale.texi: Likewise.
7167 * manual/maint.texi: Likewise.
7168 * manual/math.texi: Likewise.
7169 * manual/memory.texi: Likewise.
7170 * manual/message.texi: Likewise.
7171 * manual/probes.texi: Likewise.
7172 * manual/resource.texi: Likewise.
7173 * manual/signal.texi: Likewise.
7174 * manual/socket.texi: Likewise.
7175 * manual/stdio.texi: Likewise.
7176 * manual/string.texi: Likewise.
7177 * manual/time.texi: Likewise.
7178 * manual/users.texi: Likewise.
7179
ade40b10
CD
71802014-02-25 Carlos O'Donell <carlos@redhat.com>
7181
7182 [BZ #16632]
7183 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7184 _DEFAULT_SOURCE is defined.
7185
d0503676
CD
71862014-02-25 Ulrich Drepper <drepper@gmail.com>
7187 Carlos O'Donell <carlos@redhat.com>
7188
7189 [BZ #16613]
7190 * elf/dl-tls.c (_dl_count_modids): New function.
7191 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7192 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7193 audit library and increment generation counter.
7194 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7195 * elf/tst-audit9.c: New file.
7196 * elf/tst-auditmod9a.c: New file.
7197 * elf/tst-auditmod9b.c: New file.
7198 * elf/Makefile: Add rules to build and run tst-audit9.
7199
4cbf380c
FW
72002014-02-25 Florian Weimer <fweimer@redhat.com>
7201
7202 [BZ #15347]
7203 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7204
80a56cc3
WN
72052014-02-25 Will Newton <will.newton@linaro.org>
7206
7207 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7208 (__longjmp): Restore sp and lr before restoring callee
7209 saved registers. Add longjmp and longjmp_target
7210 SystemTap probe point.
7211 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7212 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7213 Define to zero to match jmpbuf layout.
7214 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7215 (__sigsetjmp): Save sp and lr before saving callee
7216 saved registers. Add setjmp SystemTap probe point.
7217
3ea0f74e
SL
72182014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7219
7220 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7221
b04acb26
AS
72222014-02-24 Andreas Schwab <schwab@suse.de>
7223
7224 [BZ #15804]
7225 * elf/pldd.c (wait_for_ptrace_stop): New function.
7226 (main): Call it after attaching.
7227
098ad55c
RM
72282014-02-22 Roland McGrath <roland@hack.frob.com>
7229
d4ec6ae1
RM
7230 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7231 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7232 Versions files is now verboten.
7233 * hurd/Versions (libc: GLIBC_2.0):
7234 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7235 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7236 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7237 * mach/Versions: Likewise.
7238
098ad55c
RM
7239 * csu/Versions: Remove unused %include.
7240 * resolv/Versions: Likewise.
7241
acd7f096
JM
72422014-02-21 Joseph Myers <joseph@codesourcery.com>
7243
f0881698
JM
7244 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7245 ($(objpfx)check-local-headers.out): Likewise.
7246 ($(objpfx)begin-end-check.out): Likewise.
7247 * Makerules (check-abi-%.out): Likewise.
7248 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7249 ($(objpfx)test2.cat): Likewise.
7250 ($(objpfx)de/libc.cat): Likewise.
7251 ($(objpfx)test-gencat.out): Likewise.
7252 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7253 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7254 ($(objpfx)noload-mem): Likewise.
7255 ($(objpfx)tst-pathopt.out): Likewise.
7256 ($(objpfx)tst-rtld-load-self.out): Likewise.
7257 ($(objpfx)tst-array1-cmp.out): Likewise.
7258 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7259 ($(objpfx)tst-array2-cmp.out): Likewise.
7260 ($(objpfx)tst-array3-cmp.out): Likewise.
7261 ($(objpfx)tst-array4-cmp.out): Likewise.
7262 ($(objpfx)tst-array5-cmp.out): Likewise.
7263 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7264 ($(objpfx)check-textrel.out): Likewise.
7265 ($(objpfx)check-execstack.out): Likewise.
7266 ($(objpfx)check-localplt.out): Likewise.
7267 ($(objpfx)order2-cmp.out): Likewise.
7268 ($(objpfx)tst-leaks1-mem): Likewise.
7269 ($(objpfx)tst-leaks1-static-mem): Likewise.
7270 ($(objpfx)tst-initorder-cmp.out): Likewise.
7271 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7272 ($(objpfx)tst-unused-dep.out): Likewise.
7273 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7274 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7275 * iconv/Makefile (test-iconvconfig): Likewise.
7276 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7277 ($(objpfx)iconv-test.out): Likewise.
7278 ($(objpfx)tst-tables.out): Likewise.
7279 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7280 ($(objpfx)tst-gettext.out): Likewise.
7281 ($(objpfx)tst-translit.out): Likewise.
7282 ($(objpfx)tst-gettext2.out): Likewise.
7283 ($(objpfx)tst-gettext4.out): Likewise.
7284 ($(objpfx)tst-gettext6.out): Likewise.
7285 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7286 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7287 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7288 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7289 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7290 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7291 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7292 ($(objpfx)wordexp-tst.out): Likewise.
7293 ($(objpfx)annexc.out): Likewise.
7294 ($(objpfx)tst-fnmatch-mem): Likewise.
7295 ($(objpfx)bug-regex2-mem): Likewise.
7296 ($(objpfx)bug-regex14-mem): Likewise.
7297 ($(objpfx)bug-regex21-mem): Likewise.
7298 ($(objpfx)bug-regex31-mem): Likewise.
7299 ($(objpfx)tst-vfork3-mem): Likewise.
7300 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7301 ($(objpfx)tst-pcre-mem): Likewise.
7302 ($(objpfx)tst-boost-mem): Likewise.
7303 ($(objpfx)tst-getconf.out): Likewise.
7304 ($(objpfx)bug-ga2-mem): Likewise.
7305 ($(objpfx)bug-glob2-mem): Likewise.
7306 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7307 ($(objpfx)mtrace-tst-leaks2): Likewise.
7308 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7309 ($(objpfx)tst-printf.out): Likewise.
7310 ($(objpfx)tst-setvbuf1.out): Likewise.
7311 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7312 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7313 ($(objpfx)tst-fmtmsg.out): Likewise.
7314 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7315 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7316
acd7f096
JM
7317 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7318 * bits/sigaction.h [__USE_MISC]: Likewise.
7319 * bits/waitstatus.h: Update #endif comments.
7320 * ctype/ctype.h: Likewise.
7321 * dirent/dirent.h: Likewise.
7322 [__USE_MISC]: Remove redundant conditionals.
7323 * grp/grp.h: Update #endif comments.
7324 [__USE_GNU]: Remove redundant conditionals.
7325 [__USE_MISC]: Likewise.
7326 * inet/netinet/in.h [__USE_GNU]: Likewise.
7327 * io/sys/stat.h [__USE_MISC]: Likewise.
7328 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7329 * libio/bits/stdio.h: Update #endif comments.
7330 [__USE_MISC]: Remove redundant conditionals.
7331 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7332 * libio/stdio.h: Update #endif comments.
7333 [__USE_MISC]: Remove redundant conditionals.
7334 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7335 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7336 * math/math.h: Update #else and #endif comments.
7337 [__USE_MISC]: Remove redundant conditionals.
7338 * misc/sys/uio.h: Update #endif comments.
7339 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7340 * posix/glob.h [__USE_MISC]: Likewise.
7341 * posix/sys/types.h: Update #endif comments.
7342 [__USE_MISC]: Remove redundant conditionals.
7343 * posix/sys/wait.h: Update #endif comments.
7344 [__USE_MISC]: Remove redundant conditionals.
7345 * posix/unistd.h: Update #endif comments.
7346 [__USE_MISC]: Remove redundant conditionals.
7347 * pwd/pwd.h [__USE_GNU]: Likewise.
7348 [__USE_MISC]: Likewise.
7349 * resolv/netdb.h [__USE_GNU]: Likewise.
7350 * signal/signal.h: Update #endif comments.
7351 [__USE_MISC]: Remove redundant conditionals.
7352 * stdlib/stdlib.h: Update #else and #endif comments.
7353 [__USE_MISC]: Remove redundant conditionals.
7354 [__USE_GNU]: Likewise.
7355 * string/bits/string2.h [__USE_MISC]: Likewise.
7356 * string/string.h: Update #endif comments.
7357 [__USE_MISC]: Remove redundant conditionals.
7358 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7359 Likewise.
7360 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7361 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7362 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7363 Likewise.
7364 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7365 Likewise.
7366 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7367 comments.
7368 [__USE_MISC]: Remove redundant conditionals.
7369 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7370 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7371 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7372 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7373 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7374 Likewise.
7375 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7376 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7377 Likewise.
7378 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7379 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7380 Likewise.
7381 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7382 Likewise.
7383 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7384 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7385 Likewise.
7386 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7387 Likewise.
7388 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7389 * sysdeps/x86/bits/string.h: Update #endif comments.
7390 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7391 conditionals.
7392 * time/sys/time.h: Update #endif comments.
7393 * time/time.h: Likewise.
7394 [__USE_MISC]: Remove redundant conditionals.
7395
a5d82e4e
YG
73962014-02-21 Yury Gribov <y.gribov@samsung.com>
7397
7398 [BZ #16600]
7399 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7400
9a80491d
AS
74012014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7402
7403 * Versions.def (librt): Add GLIBC_2.17.
7404
105fa381
AC
74052014-02-21 Adam Conrad <adconrad@0c3.net>
7406
7407 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7408 synonym for _SYS_AUXV_H to allow direct inclusion.
7409 * sysdeps/sparc/bits/hwcap.h: Likewise.
7410 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7411 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7412 * sysdeps/sparc/sysdep.h: Likewise.
7413
b8cd1c4e
SP
74142014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7415
7416 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7417
bd939d23
RS
74182014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7419
7420 * benchtests/bench-strrchr.c: Print length instead of position.
7421
5d7b57ca
JM
74222014-02-20 Joseph Myers <joseph@codesourcery.com>
7423
bc688c10
JM
7424 [BZ #16611]
7425 * sysdeps/unix/sysv/linux/kernel-features.h
7426 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7427 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7428 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7429 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7430 Likewise.
7431 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7432 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7433 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7434 (__ASSUME_SENDMMSG): Define instead of using previous
7435 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7436 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7437 (__ASSUME_SENDMMSG_SYSCALL): Define.
7438 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7439 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7440 Likewise.
7441 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7442 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7443 Likewise.
7444 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7445 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7446 Likewise.
7447 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7448 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7449 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7450 [__ASSUME_SENDMMSG]: Change conditionals to
7451 [__ASSUME_SENDMMSG_SOCKETCALL].
7452 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7453 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7454 Define.
7455 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7456 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7457 Likewise.
7458 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7459 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7460 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7461 [!__ASSUME_SENDMMSG]: Change conditional to
7462 [!__ASSUME_SENDMMSG_SOCKETCALL].
7463 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7464 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7465 Define.
7466
0e31b18c
JM
7467 [BZ #16610]
7468 * sysdeps/unix/sysv/linux/kernel-features.h
7469 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7470 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7471 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7472 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7473 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7474 [__i386__ || __sparc__]
7475 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7476 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7477 (__ASSUME_RECVMMSG): Define instead of using previous
7478 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7479 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7480 (__ASSUME_RECVMMSG_SYSCALL): Define.
7481 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7482 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7483 Likewise.
7484 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7485 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7486 Likewise.
7487 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7488 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7489 Likewise.
7490 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7491 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7492 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7493 [__ASSUME_RECVMMSG]: Change condition to
7494 [__ASSUME_RECVMMSG_SOCKETCALL].
7495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7496 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7497 Define.
7498 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7499 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7500 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7501 Likewise.
7502 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7503 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7504 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7505 [!__ASSUME_RECVMMSG]: Change condition to
7506 [!__ASSUME_RECVMMSG_SOCKETCALL].
7507 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7508 (__ASSUME_RECVMMSG_SYSCALL): Define.
7509
dd481ccf
JM
7510 [BZ #16609]
7511 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7512 __powerpc__ || __s390__ || __sh__ || __sparc__]
7513 (__ASSUME_SOCKETCALL): Define.
7514 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7515 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7516 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7517 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7518 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7519 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7520 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7521 (__ASSUME_ACCEPT4): Define instead of using previous
7522 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7523 __powerpc__ || __sparc__ || __s390__)] condition.
7524 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7525 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7526 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7527 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7528 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7529 [!__ASSUME_ACCEPT4]: Change condition to
7530 [!__ASSUME_ACCEPT4_SOCKETCALL].
7531 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7532 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7533 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7534 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7535 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7536 __ASSUME_ACCEPT4_SYSCALL.
7537 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7538 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7539 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7540 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7541 __ASSUME_ACCEPT4_SYSCALL.
7542 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7543 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7544 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7545 [__ASSUME_ACCEPT4]: Change condition to
7546 [__ASSUME_ACCEPT4_SOCKETCALL].
7547 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7548 (__ASSUME_SOCKETCALL): Define.
7549 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7550 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7551 (__ASSUME_SOCKETCALL): Define.
7552 (__ASSUME_ACCEPT4): Remove.
7553 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7554 Define.
7555 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7556 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7557 Likewise.
7558 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7559 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7560
5d7b57ca
JM
7561 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7562 macro.
7563 (HWCAP_ARM_LPAE): Likewise.
7564 (HWCAP_ARM_EVTSTRM): Likewise.
7565 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7566 Add vpfd32, lpae and evtstrm.
7567 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7568 Increase to 22.
7569
63689d61
JM
75702014-02-19 Joseph Myers <joseph@codesourcery.com>
7571
7572 * math/auto-libm-test-in: Add tests of clog10.
7573 * math/auto-libm-test-out: Regenerated.
7574 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7575 * sysdeps/i386/fpu/libm-test-ulps: Update.
7576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577
ab09bf61
AS
75782014-02-18 Andreas Schwab <schwab@suse.de>
7579
7580 [BZ #16574]
7581 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7582 Store non-zero if the second buffer was newly allocated.
7583 (send_dg): Likewise.
7584 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7585 to send_vc and send_dg.
7586 (res_nsend): Pass NULL for ansp2_malloced.
7587 * resolv/res_query.c (__libc_res_nquery): Add parameter
7588 answerp2_malloced and pass it down to __libc_res_nsend.
7589 (res_nquery): Pass additional NULL to __libc_res_nquery.
7590 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7591 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7592 second answer buffer if answerp2_malloced was set.
7593 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7594 (__libc_res_nquerydomain): Add parameter
7595 answerp2_malloced and pass it down to __libc_res_nquery.
7596 (res_nquerydomain): Pass additional NULL to
7597 __libc_res_nquerydomain.
7598 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7599 additional NULL to __libc_res_nsend and __libc_res_nquery.
7600 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7601 additional NULL to __libc_res_nsearch.
7602 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7603 parameter of __libc_res_nsearch to check for separately allocated
7604 second buffer.
7605 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7606 __libc_res_nquery.
7607 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7608 additional NULL to __libc_res_nquery.
7609 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7610 __libc_res_nsearch.
7611 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7612 * include/resolv.h: Update prototypes of __libc_res_nquery,
7613 __libc_res_nsearch, __libc_res_nsend.
7614
a4fb7861
JM
76152014-02-18 Joseph Myers <joseph@codesourcery.com>
7616
c6af2d89
JM
7617 * math/auto-libm-test-in: Add tests of fma.
7618 * math/auto-libm-test-out: Regenerated.
7619 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7620 (fma_towardzero_test_data): Likewise.
7621 (fma_downward_test_data): Likewise.
7622 (fma_upward_test_data): Likewise.
7623 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7624 mpc_mode.
7625 (rounding_modes): Add values for new field.
7626 (func_calc_method): Add value mpfr_fff_f.
7627 (func_calc_desc): Add mpfr_fff_f union field.
7628 (test_function): Add field exact_args.
7629 (FUNC): Add macro argument EXACT_ARGS.
7630 (FUNC_mpfr_f_f): Update call to FUNC.
7631 (FUNC_mpfr_f_f): Likewise.
7632 (FUNC_mpfr_ff_f): Likewise.
7633 (FUNC_mpfr_if_f): Likewise.
7634 (FUNC_mpc_c_f): Likewise.
7635 (FUNC_mpc_c_c): Likewise.
7636 (test_functions): Add fma. Update calls to FUNC.
7637 (handle_input_arg): Add argument exact_args.
7638 (add_test): Update call to handle_input_arg.
7639 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7640 (output_for_one_input_case): Update call to calc_generic_results.
7641 Recalculate exact zero results in each rounding mode.
7642
a4fb7861
JM
7643 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7644 non-negative before setting low bit.
7645 * math/auto-libm-test-in: Mark one asin test possibly having
7646 spurious underflow.
7647 * math/auto-libm-test-out: Regenerated.
7648 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7650
ef114eaf
DH
76512014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7652
2b7f4f2c
SP
7653 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7654 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7655 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
7656 * README: Add missing listing for microblaze*-*-linux-gnu.
7657
c70a4b1d
MF
76582014-02-16 Mike Frysinger <vapier@gentoo.org>
7659
7660 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7661 * sysdeps/unix/sysv/linux/ia64: Move directory from
7662 ports/sysdeps/unix/sysv/linux/ia64.
7663 * README: Update listing for ia64-*-linux-gnu.
7664
591aeaf7
TD
76652014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7666 Joseph Myers <joseph@codesourcery.com>
7667
7668 * Makeconfig (test-name): New variable.
7669 (evaluate-test): Likewise.
7670 * Makerules (do-test-clean): Remove .test-result files.
7671 (common-mostlyclean): Likewise.
7672 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7673 * scripts/evaluate-test.sh: New file.
7674
6e89caf1
JM
76752014-02-14 Joseph Myers <joseph@codesourcery.com>
7676
7f98f180
JM
7677 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7678 separate $(objpfx)tst-fopenloc-cmp.out and
7679 $(objpfx)tst-fopenloc-mem.out targets.
7680 (tests): Update dependencies.
7681 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7682 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7683 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7684 (tst-rxspencer-no-utf8-ARGS): New variable.
7685 (tst-rxspencer-no-utf8-ENV): Likewise.
7686 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7687 instead of $(objpfx)tst-rxspencer-mem.
7688 ($(objpfx)tst-rxspencer-mem): Change target to
7689 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7690 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7691 * posix/tst-rxspencer-no-utf8.c: New file.
7692
6e89caf1
JM
7693 * elf/Makefile ($(objpfx)order.out): Remove rule.
7694 [$(run-built-tests) = yes] (tests): Depend on
7695 $(objpfx)order-cmp.out.
7696 ($(objpfx)order-cmp.out): New rule.
7697 [$(run-built-tests) = yes] (tests): Depend on
7698 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7699 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7700 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7701 $(objpfx)tst-array5-static-cmp.out.
7702 ($(objpfx)tst-array1.out): Remove rule.
7703 ($(objpfx)tst-array1-cmp.out): New rule.
7704 ($(objpfx)tst-array1-static.out): Remove rule.
7705 ($(objpfx)tst-array1-static-cmp.out): New rule.
7706 ($(objpfx)tst-array2.out): Remove rule.
7707 ($(objpfx)tst-array2-cmp.out): New rule.
7708 ($(objpfx)tst-array3.out): Remove rule.
7709 ($(objpfx)tst-array3-cmp.out): New rule.
7710 ($(objpfx)tst-array4.out): Remove rule.
7711 ($(objpfx)tst-array4-cmp.out): New rule.
7712 ($(objpfx)tst-array5.out): Remove rule.
7713 ($(objpfx)tst-array5-cmp.out): New rule.
7714 ($(objpfx)tst-array5-static.out): Remove rule.
7715 ($(objpfx)tst-array5-static-cmp.out): New rule.
7716 [$(run-built-tests) = yes] (tests): Depend on
7717 $(objpfx)order2-cmp.out.
7718 ($(objpfx)order2.out): Remove rule.
7719 ($(objpfx)order2-cmp.out): New rule.
7720 ($(objpfx)tst-initorder.out): Remove rule.
7721 [$(run-built-tests) = yes] (tests): Depend on
7722 $(objpfx)tst-initorder-cmp.out.
7723 ($(objpfx)tst-initorder-cmp.out): New rule.
7724 ($(objpfx)tst-initorder2.out): Remove rule.
7725 [$(run-built-tests) = yes] (tests): Depend on
7726 $(objpfx)tst-initorder2-cmp.out.
7727 ($(objpfx)tst-initorder2-cmp.out): New rule.
7728 [$(run-built-tests) = yes] (tests): Depend on
7729 $(objpfx)tst-unused-dep-cmp.out.
7730 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7731 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7732 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7733 on $(objpfx)tst-setvbuf1-cmp.out.
7734 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7735 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7736 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7737 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7738 ($(objpfx)tst-svc.out): Remove rule.
7739 ($(objpfx)tst-svc-cmp.out): New rule.
7740
ed9a38e2
JM
77412014-02-13 Joseph Myers <joseph@codesourcery.com>
7742
7743 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7744 * ctype/ctype.h [__USE_MISC]: Likewise.
7745 * dirent/dirent.h [__USE_MISC]: Likewise.
7746 * grp/grp.h [__USE_MISC]: Likewise.
7747 * io/fcntl.h [__USE_MISC]: Likewise.
7748 * io/sys/stat.h [__USE_MISC]: Likewise.
7749 * libio/stdio.h [__USE_MISC]: Likewise.
7750 * posix/unistd.h [__USE_MISC]: Likewise.
7751 * pwd/pwd.h [__USE_MISC]: Likewise.
7752 * stdlib.h [__USE_MISC]: Likewise.
7753 * string/bits/string2.h [__USE_MISC]: Likewise.
7754 * string/string.h [__USE_MISC]: Likewise.
7755 * time/time.h [__USE_MISC]: Likewise.
7756
d6680619
AS
77572014-02-13 Andreas Schwab <schwab@suse.de>
7758
7759 [BZ #16574]
7760 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7761 second answer buffer if it was separately allocated.
7762
ace614b8
JM
77632014-02-12 Joseph Myers <joseph@codesourcery.com>
7764
743151ae
JM
7765 * sysdeps/mips/math-tests.h: Include <features.h>.
7766 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7767 (ROUNDING_TESTS_long_double): Do not define.
7768 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7769 (EXCEPTION_TESTS_long_double): Likewise.
7770 * sysdeps/mips/mips64/libm-test-ulps: Update.
7771
498afc54
JM
7772 * include/features.h (__USE_BSD): Remove macro definitions.
7773 (__USE_SVID): Likewise.
7774 (_BSD_SOURCE): Likewise.
7775 (_SVID_SOURCE): Likewise.
7776 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7777 from definition of _DEFAULT_SOURCE.
7778 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7779 [_DEFAULT_SOURCE].
7780 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7781 * bits/mman.h [__USE_BSD]: Likewise.
7782 * bits/termios.h [__USE_BSD]: Likewise.
7783 * bits/waitstatus.h [__USE_BSD]: Likewise.
7784 * ctype/ctype.h [__USE_SVID]: Likewise.
7785 * dirent/dirent.h [__USE_BSD]: Likewise.
7786 * grp/grp.h [__USE_SVID]: Likewise.
7787 [__USE_BSD]: Likewise.
7788 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7789 * io/fcntl.h [__USE_BSD]: Likewise.
7790 * io/ftw.h [__USE_BSD]: Likewise.
7791 * io/sys/stat.h [__USE_BSD]: Likewise.
7792 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7793 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7794 * libio/stdio.h [__USE_SVID]: Likewise.
7795 [__USE_BSD]: Likewise.
7796 * math/math.h [__USE_SVID]: Likewise.
7797 [__USE_BSD]: Likewise.
7798 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7799 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7800 * misc/search.h [__USE_SVID]: Likewise.
7801 * misc/sys/mman.h [__USE_BSD]: Likewise.
7802 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7803 * misc/sys/uio.h [__USE_BSD]: Likewise.
7804 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7805 * posix/glob.h [__USE_BSD]: Likewise.
7806 * posix/regex.h [__USE_BSD]: Likewise.
7807 * posix/sys/types.h [__USE_BSD]: Likewise.
7808 [__USE_SVID]: Likewise.
7809 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7810 * posix/sys/wait.h [__USE_BSD]: Likewise.
7811 [__USE_SVID]: Likewise.
7812 * posix/unistd.h [__USE_BSD]: Likewise.
7813 [__USE_SVID]: Likewise.
7814 * pwd/pwd.h [__USE_SVID]: Likewise.
7815 * resolv/netdb.h [__USE_BSD]: Likewise.
7816 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7817 * signal/signal.h [__USE_BSD]: Likewise.
7818 [__USE_SVID]: Likewise.
7819 * socket/sys/socket.h [__USE_BSD]: Likewise.
7820 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7821 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7822 [__USE_SVID]: Likewise.
7823 * string/bits/string2.h [__USE_BSD]: Likewise.
7824 [__USE_SVID]: Likewise.
7825 * string/bits/string3.h [__USE_BSD]: Likewise.
7826 * string/endian.h [__USE_BSD]: Likewise.
7827 * string/string.h [__USE_SVID]: Likewise.
7828 [__USE_BSD]: Likewise.
7829 * string/strings.h [__USE_BSD]: Likewise.
7830 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7831 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7832 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7833 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7834 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7835 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7836 Likewise.
7837 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7838 Likewise.
7839 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7840 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7841 Likewise.
7842 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7843 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7844 Likewise.
7845 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7846 Likewise.
7847 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7848 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7849 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7850 Likewise.
7851 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7852 Likewise.
7853 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7854 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7855 * termios/termios.h [__USE_BSD]: Likewise.
7856 * time/sys/time.h [__USE_BSD]: Likewise.
7857 * time/time.h [__USE_BSD]: Likewise.
7858 [__USE_SVID]: Likewise.
7859
dd7b064c
JM
7860 * Makefile (subdir_targets): Remove subdir_lint.out.
7861
a2c4c199
JM
7862 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7863 (do-tst-printf): Likewise.
7864 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7865 $(objpfx)tst-printf.out.
7866
8756f740
JM
7867 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7868
1b6dd3f1
JM
7869 * Makerules (check-abi-%): Change target to
7870 $(objpfx)check-abi-%.out.
7871 (check-abi target): Update dependencies.
7872 (check-abi-pattern variable): Redirect output of diff to $@.
7873 (check-abi variable): Likewise.
7874 * elf/Makefile (check-abi): Update dependencies.
7875
ace614b8
JM
7876 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7877 unused.
7878 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7879 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7880 subnormal range.
7881 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7882 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7883 value has largest subnormal exponent.
7884 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7885 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7886 * sysdeps/aarch64/soft-fp/sfp-machine.h
7887 (_FP_TININESS_AFTER_ROUNDING): New macro.
7888 * sysdeps/alpha/soft-fp/sfp-machine.h
7889 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7890 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7891 Likewise.
7892 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7893 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7894 * sysdeps/mips/soft-fp/sfp-machine.h
7895 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7896 * sysdeps/powerpc/soft-fp/sfp-machine.h
7897 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7898 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7899 Likewise.
7900 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7901 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7902 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7903 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7904 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7905 Likewise.
7906
fbfdf9cb
DAS
79072014-02-12 Dylan Alex Simon <dylan@dylex.net>
7908
7909 [BZ #16545]
7910 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7911 model 1.
7912
68b7efaa
RH
79132014-02-12 Richard Henderson <rth@redhat.com>
7914
c70a4b1d 7915 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
7916 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7917 * sysdeps/unix/sysv/linux/alpha: Move directory from
7918 ports/sysdeps/unix/sysv/linux/alpha.
7919 * README: Update listing for alpha-*-linux-gnu.
7920
cb4a2928
JM
79212014-02-11 Joseph Myers <joseph@codesourcery.com>
7922
c941736c
JM
7923 * include/features.h: Update comment documenting feature test
7924 macros.
7925 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7926 _DEFAULT_SOURCE.
7927 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7928 (_SVID_SOURCE): Likewise.
7929 (_DEFAULT_SOURCE): Update description of default features.
7930 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7931 with _GNU_SOURCE.
7932 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7933 (S_ISVTX): Likewise.
7934 * manual/math.texi (Mathematical Constants): Likewise.
7935 * manual/signal.texi (Interrupted Primitives): Likewise.
7936 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7937 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7938 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7939 Don't refer to _SVID_SOURCE in warning text.
7940
e8d8d7ec
JM
7941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7942
cb4a2928
JM
7943 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7944 already defined.
7945 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7946 * sysdeps/mips/dl-lookup.c: Remove.
7947 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7948
7e6424e3
AK
79492014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7950
7951 [BZ #16447]
7952 * math/auto-libm-test-in: Add testcase for expl.
7953 * math/auto-libm-test-out: Regenerate.
7954 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7955 calculation of unsafe.
7956 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7957
75eff3fe
MS
79582014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7959
7960 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7961 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7962 ports/sysdeps/unix/sysv/linux/aarch64.
7963 * README: Update listing for aarch64*-*-linux-gnu.
7964
d35f1e80
WN
79652014-02-11 Will Newton <will.newton@linaro.org>
7966
7967 * manual/probes.texi (Mathematical Function Probes): Use
7968 "triggered" instead of "hit".
7969
7b3436d4
WN
7970 * manual/probes.texi (Internal Probes): Add documentation
7971 of setjmp, longjmp and longjmp_target probes.
7972
b4f12ca3
WN
7973 * include/stap-probe.h: Add comment about probe argument
7974 format.
7975
c13a72b7
WN
7976 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7977 definition. (tr_where, tr_freehook, tr_mallochook,
7978 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7979
195b8165
DM
79802014-02-11 David S. Miller <davem@davemloft.net>
7981
7982 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7983 processing int_tests.
7984
2ad7600b
JM
79852014-02-10 Joseph Myers <joseph@codesourcery.com>
7986
7987 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7988 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7989 * sysdeps/unix/sysv/linux/mips: Move directory from
7990 ports/sysdeps/unix/sysv/linux/mips.
7991 * README: Update listing for mips-*-linux-gnu and
7992 mips64-*-linux-gnu.
7993
73588a72
AS
79942014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7995
7996 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7997 * sysdeps/unix/sysv/linux/m68k: Move directory from
7998 ports/sysdeps/unix/sysv/linux/m68k.
7999 * README: Update listing for m68k-*-linux-gnu.
8000
4372980f
CM
80012014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8002
8003 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8004 * sysdeps/unix/sysv/linux/generic: Move directory from
8005 ports/sysdeps/unix/sysv/linux/generic.
8006 * sysdeps/unix/sysv/linux/tile: Move directory from
8007 ports/sysdeps/unix/sysv/linux/tile.
8008 * README: Update listing for tile*-*-linux-gnu.
8009
a1ffb40e
OB
80102014-02-10 Ondřej Bílka <neleai@seznam.cz>
8011
57f41c40
AS
8012 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8013 __builtin_expect.
a1ffb40e
OB
8014 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8015 * catgets/open_catalog.c (__open_catalog): Likewise.
8016 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8017 * debug/confstr_chk.c: Likewise.
8018 * debug/fread_chk.c (__fread_chk): Likewise.
8019 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8020 * debug/getgroups_chk.c: Likewise.
8021 * debug/mbsnrtowcs_chk.c: Likewise.
8022 * debug/mbsrtowcs_chk.c: Likewise.
8023 * debug/mbstowcs_chk.c: Likewise.
8024 * debug/memcpy_chk.c: Likewise.
8025 * debug/memmove_chk.c: Likewise.
8026 * debug/mempcpy_chk.c: Likewise.
8027 * debug/memset_chk.c: Likewise.
8028 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8029 * debug/strcat_chk.c (__strcat_chk): Likewise.
8030 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8031 * debug/strncat_chk.c (__strncat_chk): Likewise.
8032 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8033 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8034 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8035 * debug/wcpncpy_chk.c: Likewise.
8036 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8037 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8038 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8039 * debug/wcsncpy_chk.c: Likewise.
8040 * debug/wcsnrtombs_chk.c: Likewise.
8041 * debug/wcsrtombs_chk.c: Likewise.
8042 * debug/wcstombs_chk.c: Likewise.
8043 * debug/wmemcpy_chk.c: Likewise.
8044 * debug/wmemmove_chk.c: Likewise.
8045 * debug/wmempcpy_chk.c: Likewise.
8046 * debug/wmemset_chk.c: Likewise.
8047 * dirent/scandirat.c (SCANDIRAT): Likewise.
8048 * dlfcn/dladdr1.c (dladdr1): Likewise.
8049 * dlfcn/dladdr.c (dladdr): Likewise.
8050 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8051 * dlfcn/dlerror.c (__dlerror): Likewise.
8052 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8053 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8054 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8055 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8056 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8057 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8058 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8059 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8060 Likewise.
8061 * elf/dl-conflict.c: Likewise.
8062 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8063 * elf/dl-dst.h: Likewise.
8064 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8065 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8066 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8067 * elf/dl-init.c (call_init, _dl_init): Likewise.
8068 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
8069 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8070 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8071 Likewise.
a1ffb40e
OB
8072 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8073 Likewise.
8074 * elf/dl-minimal.c (__libc_memalign): Likewise.
8075 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8076 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8077 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8078 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
8079 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8080 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
8081 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8082 * elf/dl-writev.h (_dl_writev): Likewise.
8083 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
8084 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8085 (dl_main): Likewise.
a1ffb40e
OB
8086 * elf/setup-vdso.h (setup_vdso): Likewise.
8087 * grp/compat-initgroups.c (compat_call): Likewise.
8088 * grp/fgetgrent.c (fgetgrent): Likewise.
8089 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8090 * grp/putgrent.c (putgrent): Likewise.
8091 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8092 Likewise.
8093 * hurd/hurdinit.c: Likewise.
8094 * iconvdata/8bit-gap.c (struct): Likewise.
8095 * iconvdata/ansi_x3.110.c : Likewise.
8096 * iconvdata/big5.c : Likewise.
8097 * iconvdata/big5hkscs.c : Likewise.
8098 * iconvdata/cp1255.c: Likewise.
8099 * iconvdata/cp1258.c : Likewise.
8100 * iconvdata/cp932.c : Likewise.
8101 * iconvdata/euc-cn.c: Likewise.
8102 * iconvdata/euc-jisx0213.c : Likewise.
8103 * iconvdata/euc-jp.c: Likewise.
8104 * iconvdata/euc-jp-ms.c : Likewise.
8105 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8106 * iconvdata/gb18030.c : Likewise.
8107 * iconvdata/gbbig5.c (const): Likewise.
8108 * iconvdata/gbgbk.c: Likewise.
8109 * iconvdata/gbk.c : Likewise.
8110 * iconvdata/ibm1364.c : Likewise.
8111 * iconvdata/ibm930.c : Likewise.
8112 * iconvdata/ibm932.c: Likewise.
8113 * iconvdata/ibm933.c : Likewise.
8114 * iconvdata/ibm935.c : Likewise.
8115 * iconvdata/ibm937.c : Likewise.
8116 * iconvdata/ibm939.c : Likewise.
8117 * iconvdata/ibm943.c: Likewise.
8118 * iconvdata/iso_11548-1.c: Likewise.
8119 * iconvdata/iso-2022-cn.c : Likewise.
8120 * iconvdata/iso-2022-cn-ext.c : Likewise.
8121 * iconvdata/iso-2022-jp-3.c: Likewise.
8122 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8123 * iconvdata/iso-2022-kr.c : Likewise.
8124 * iconvdata/iso646.c (gconv_end): Likewise.
8125 * iconvdata/iso_6937-2.c : Likewise.
8126 * iconvdata/iso_6937.c : Likewise.
8127 * iconvdata/iso8859-1.c: Likewise.
8128 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8129 * iconvdata/shift_jisx0213.c : Likewise.
8130 * iconvdata/sjis.c : Likewise.
8131 * iconvdata/t.61.c : Likewise.
8132 * iconvdata/tcvn5712-1.c : Likewise.
8133 * iconvdata/tscii.c: Likewise.
8134 * iconvdata/uhc.c : Likewise.
8135 * iconvdata/unicode.c (gconv_end): Likewise.
8136 * iconvdata/utf-16.c (gconv_end): Likewise.
8137 * iconvdata/utf-32.c (gconv_end): Likewise.
8138 * iconvdata/utf-7.c (base64): Likewise.
8139 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8140 * iconv/gconv_close.c (__gconv_close): Likewise.
8141 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
8142 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8143 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8144 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8145 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8146 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
8147 * iconv/iconv.c (iconv): Likewise.
8148 * iconv/iconv_close.c: Likewise.
8149 * iconv/loop.c (SINGLE): Likewise.
8150 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8151 * include/atomic.h: Likewise.
8152 * inet/inet6_option.c (option_alloc): Likewise.
8153 * intl/bindtextdom.c (set_binding_values): Likewise.
8154 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8155 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8156 * intl/localealias.c (read_alias_file): Likewise.
8157 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
8158 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8159 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
8160 * libio/fmemopen.c (fmemopen): Likewise.
8161 * libio/iofgets.c (_IO_fgets): Likewise.
8162 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8163 * libio/iofgetws.c (fgetws): Likewise.
8164 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8165 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
8166 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8167 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
8168 * locale/findlocale.c (_nl_find_locale): Likewise.
8169 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8170 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8171 Likewise.
8172 * locale/setlocale.c (setlocale): Likewise.
8173 * login/programs/pt_chown.c (main): Likewise.
8174 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8175 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
8176 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8177 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
8178 * math/e_exp2l.c: Likewise.
8179 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8180 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8181 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8182 * math/s_catan.c (__catan): Likewise.
8183 * math/s_catanf.c (__catanf): Likewise.
8184 * math/s_catanh.c (__catanh): Likewise.
8185 * math/s_catanhf.c (__catanhf): Likewise.
8186 * math/s_catanhl.c (__catanhl): Likewise.
8187 * math/s_catanl.c (__catanl): Likewise.
8188 * math/s_ccosh.c (__ccosh): Likewise.
8189 * math/s_ccoshf.c (__ccoshf): Likewise.
8190 * math/s_ccoshl.c (__ccoshl): Likewise.
8191 * math/s_cexp.c (__cexp): Likewise.
8192 * math/s_cexpf.c (__cexpf): Likewise.
8193 * math/s_cexpl.c (__cexpl): Likewise.
8194 * math/s_clog10.c (__clog10): Likewise.
8195 * math/s_clog10f.c (__clog10f): Likewise.
8196 * math/s_clog10l.c (__clog10l): Likewise.
8197 * math/s_clog.c (__clog): Likewise.
8198 * math/s_clogf.c (__clogf): Likewise.
8199 * math/s_clogl.c (__clogl): Likewise.
8200 * math/s_csin.c (__csin): Likewise.
8201 * math/s_csinf.c (__csinf): Likewise.
8202 * math/s_csinh.c (__csinh): Likewise.
8203 * math/s_csinhf.c (__csinhf): Likewise.
8204 * math/s_csinhl.c (__csinhl): Likewise.
8205 * math/s_csinl.c (__csinl): Likewise.
8206 * math/s_csqrt.c (__csqrt): Likewise.
8207 * math/s_csqrtf.c (__csqrtf): Likewise.
8208 * math/s_csqrtl.c (__csqrtl): Likewise.
8209 * math/s_ctan.c (__ctan): Likewise.
8210 * math/s_ctanf.c (__ctanf): Likewise.
8211 * math/s_ctanh.c (__ctanh): Likewise.
8212 * math/s_ctanhf.c (__ctanhf): Likewise.
8213 * math/s_ctanhl.c (__ctanhl): Likewise.
8214 * math/s_ctanl.c (__ctanl): Likewise.
8215 * math/w_pow.c: Likewise.
8216 * math/w_powf.c: Likewise.
8217 * math/w_powl.c: Likewise.
8218 * math/w_scalb.c (sysv_scalb): Likewise.
8219 * math/w_scalbf.c (sysv_scalbf): Likewise.
8220 * math/w_scalbl.c (sysv_scalbl): Likewise.
8221 * misc/error.c (error_tail): Likewise.
8222 * misc/pselect.c (__pselect): Likewise.
8223 * nis/nis_callback.c (__nis_create_callback): Likewise.
8224 * nis/nis_call.c (__nisfind_server): Likewise.
8225 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8226 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8227 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8228 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8229 * nis/nis_lookup.c (nis_lookup): Likewise.
8230 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
8231 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8232 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 8233 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
8234 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8235 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8236 * nis/nss_compat/compat-initgroups.c (add_group)
8237 (internal_getgrent_r): Likewise.
8238 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8239 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8240 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8241 (internal_getspnam_r): Likewise.
8242 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8243 (_nss_nis_getaliasbyname_r): Likewise.
8244 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8245 (_nss_nis_getntohost_r): Likewise.
8246 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8247 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8248 (_nss_nis_getgrgid_r): Likewise.
8249 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8250 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8251 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8252 (_nss_nis_gethostbyname4_r): Likewise.
8253 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8254 (initgroups_netid): Likewise.
a1ffb40e 8255 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
8256 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8257 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8258 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8259 (_nss_nis_getprotobynumber_r): Likewise.
8260 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8261 (_nss_nis_getsecretkey): Likewise.
8262 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8263 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8264 (_nss_nis_getpwuid_r): Likewise.
8265 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8266 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8267 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8268 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8269 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8270 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
8271 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8272 Likewise.
57f41c40
AS
8273 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8274 (_nss_nisplus_getntohost_r): Likewise.
8275 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8276 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8277 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8278 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 8279 Likewise.
57f41c40
AS
8280 * nis/nss_nisplus/nisplus-initgroups.c
8281 (_nss_nisplus_initgroups_dyn): Likewise.
8282 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8283 (_nss_nisplus_getnetbyaddr_r): Likewise.
8284 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8285 (_nss_nisplus_getprotobynumber_r): Likewise.
8286 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8287 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
8288 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8289 Likewise.
57f41c40
AS
8290 * nis/nss_nisplus/nisplus-service.c
8291 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8292 (_nss_nisplus_getservbyport_r): Likewise.
8293 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8294 (_nss_nisplus_getspnam_r): Likewise.
8295 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8296 Likewise.
a1ffb40e
OB
8297 * nscd/aicache.c (addhstaiX): Likewise.
8298 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
8299 * nscd/connections.c (register_traced_file, send_ro_fd)
8300 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8301 (main_loop_epoll): Likewise.
a1ffb40e
OB
8302 * nscd/grpcache.c (addgrbyX): Likewise.
8303 * nscd/hstcache.c (addhstbyX): Likewise.
8304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8305 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
8306 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8307 (addinnetgrX): Likewise.
8308 * nscd/nscd-client.h (__nscd_acquire_maplock)
8309 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
8310 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8311 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8312 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8313 Likewise.
8314 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8315 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
8316 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8317 (__nscd_get_map_ref): Likewise.
a1ffb40e 8318 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
8319 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8320 Likewise.
a1ffb40e
OB
8321 * nscd/pwdcache.c (addpwbyX): Likewise.
8322 * nscd/selinux.c (preserve_capabilities): Likewise.
8323 * nscd/servicescache.c (addservbyX): Likewise.
8324 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8325 * posix/fnmatch.c (fnmatch): Likewise.
8326 * posix/getopt.c (_getopt_internal_r): Likewise.
8327 * posix/glob.c (glob, glob_in_dir): Likewise.
8328 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
8329 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8330 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
8331 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8332 * resolv/res_init.c: Likewise.
8333 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8334 * resolv/res_query.c (__libc_res_nquery): Likewise.
8335 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8336 Likewise.
8337 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8338 * stdio-common/perror.c (perror): Likewise.
8339 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8340 * stdio-common/tmpnam.c (tmpnam): Likewise.
8341 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8342 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
8343 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8344 Likewise.
a1ffb40e
OB
8345 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8346 * stdlib/putenv.c (putenv): Likewise.
8347 * stdlib/setenv.c (__add_to_environ): Likewise.
8348 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8349 * stdlib/strtol_l.c (INTERNAL): Likewise.
8350 * string/memmem.c (memmem): Likewise.
8351 * string/strerror.c (strerror): Likewise.
8352 * string/strnlen.c (__strnlen): Likewise.
8353 * string/test-memmem.c (simple_memmem): Likewise.
8354 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8355 * sunrpc/pm_getport.c (__get_socket): Likewise.
8356 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8357 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
8358 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8359 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
8360 Likewise.
8361 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8362 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8363 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8364 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8365 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
8366 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8367 Likewise.
8368 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8369 Likewise.
a1ffb40e
OB
8370 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8371 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8372 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8373 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8374 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8376 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8377 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8378 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8379 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8380 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8382 Likewise.
8383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8384 Likewise.
8385 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8386 Likewise.
8387 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8388 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8390 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8391 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8392 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8393 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8397 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
8402 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8403 Likewise.
a1ffb40e
OB
8404 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8405 Likewise.
8406 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8407 Likewise.
8408 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8409 Likewise.
8410 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8411 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8412 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8413 Likewise.
8414 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8415 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8416 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8417 * sysdeps/posix/sleep.c: Likewise.
8418 * sysdeps/posix/tempname.c: Likewise.
8419 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8420 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8421 Likewise.
57f41c40
AS
8422 * sysdeps/powerpc/powerpc32/dl-machine.h
8423 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
8424 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8426 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8427 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8428 Likewise.
8429 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8430 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8431 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8432 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8433 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8434 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8435 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8436 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8437 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8438 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8440 (elf_machine_lazy_rel): Likewise.
a1ffb40e 8441 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8443 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8444 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8445 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8446 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8447 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8448 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8449 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8450 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8451 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8452 Likewise.
8453 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8454 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8455 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8456 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8457 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8458 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8459 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8460 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8461 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8462 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8463 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8464 Likewise.
8465 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8466 (__posix_fallocate64_l64): Likewise.
8467 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8468 (posix_fallocate): Likewise.
57f41c40
AS
8469 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8470 Likewise.
a1ffb40e 8471 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
8472 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8473 (getifaddrs_internal): Likewise.
a1ffb40e
OB
8474 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8475 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8476 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8477 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8478 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8479 (__posix_fallocate64_l64): Likewise.
8480 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8481 Likewise.
8482 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
8483 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8484 (__get_clockfreq): Likewise.
a1ffb40e
OB
8485 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8486 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8487 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8490 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8491 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8492 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8493 Likewise.
8494 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8495 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8496 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8497 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8498 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8499 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8500 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8501 Likewise.
8502 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8503 (posix_fallocate): Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8505 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8506 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8507 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8508 (elf_machine_rela, elf_machine_rela_relative)
8509 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8510 * time/asctime.c (asctime_internal): Likewise.
8511 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8512 * time/tzset.c (__tzset_parse_tz): Likewise.
8513 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8514 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8515 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8516 * wcsmbs/wcsmbsload.h: Likewise.
8517
f3d338c9
OB
8518 [BZ #15894]
8519 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8520
57f41c40
AS
8521 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8522 (arena_get2): Remove THREAD_STATS conditionals.
8523 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8524 (__malloc_stats, int): Likewise.
bdfe308a 8525
d674667c
MF
85262014-02-08 Mike Frysinger <vapier@gentoo.org>
8527
8528 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8529 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8530
6349768c
MF
8531 * manual/setjmp.texi: Fix typos/grammar errors.
8532
0b7c7473
MF
8533 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8534 Only return early when n is <= 0. Delete unused return statement.
8535
ac8cc9e3
MF
8536 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8537 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8538 * debug/tst-longjmp_chk3.c: New file.
8539
c5bb8e23
MF
8540 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8541 (test_main): Replace code with set_fortify_handler call.
8542 * debug/test-strcpy_chk.c: Likewise.
8543 * debug/tst-chk1.c: Likewise.
8544 * debug/tst-longjmp_chk.c: Likewise.
8545 * test-skeleton.c: Include fcntl.h & paths.h
8546 (set_fortify_handler): Define.
8547
10444e42
MF
8548 * debug/tst-longjmp_chk.c: Add header comment and include
8549 ../test-skeleton.c.
8550 (do_test): Mark static.
8551 (TEST_FUNCTION): Define.
8552
1e805e8d
MF
8553 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8554 (IP_PMTUDISC_INTERFACE): Likewise.
8555 (IP_MULTICAST_IF): Likewise.
8556 (IP_MULTICAST_TTL): Likewise.
8557 (IP_MULTICAST_LOOP): Likewise.
8558 (IP_ADD_MEMBERSHIP): Likewise.
8559 (IP_DROP_MEMBERSHIP): Likewise.
8560 (IP_UNBLOCK_SOURCE): Likewise.
8561 (IP_BLOCK_SOURCE): Likewise.
8562 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8563 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8564 (IP_MSFILTER): Likewise.
8565 (MCAST_JOIN_GROUP): Likewise.
8566 (MCAST_BLOCK_SOURCE): Likewise.
8567 (MCAST_UNBLOCK_SOURCE): Likewise.
8568 (MCAST_LEAVE_GROUP): Likewise.
8569 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8570 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8571 (MCAST_MSFILTER): Likewise.
8572 (IP_MULTICAST_ALL): Likewise.
8573 (IP_UNICAST_IF): Likewise.
8574
73f79bb7
MF
8575 * timezone/Makefile: Delete $(have-ksh) check.
8576 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8577 * timezone/tzselect.ksh: Add +x mode bits.
8578
8da79b60
MF
8579 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8580 (ANON_INODE_FS_MAGIC): Likewise.
8581 (BDEVFS_MAGIC): Likewise.
8582 (BINFMTFS_MAGIC): Likewise.
8583 (BTRFS_TEST_MAGIC): Likewise.
8584 (CRAMFS_MAGIC_WEND): Likewise.
8585 (DEBUGFS_MAGIC): Likewise.
8586 (ECRYPTFS_SUPER_MAGIC): Likewise.
8587 (EXT3_SUPER_MAGIC): Likewise.
8588 (EXT4_SUPER_MAGIC): Likewise.
8589 (FUTEXFS_SUPER_MAGIC): Likewise.
8590 (HOSTFS_SUPER_MAGIC): Likewise.
8591 (HUGETLBFS_MAGIC): Likewise.
8592 (MINIX3_SUPER_MAGIC): Likewise.
8593 (MTD_INODE_FS_MAGIC): Likewise.
8594 (NILFS_SUPER_MAGIC): Likewise.
8595 (OPENPROM_SUPER_MAGIC): Likewise.
8596 (PIPEFS_MAGIC): Likewise.
8597 (PSTOREFS_MAGIC): Likewise.
8598 (QNX6_SUPER_MAGIC): Likewise.
8599 (RAMFS_MAGIC): Likewise.
8600 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8601 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8602 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8603 (SECURITYFS_MAGIC): Likewise.
8604 (SELINUX_MAGIC): Likewise.
8605 (SMACK_MAGIC): Likewise.
8606 (SOCKFS_MAGIC): Likewise.
8607 (SQUASHFS_MAGIC): Likewise.
8608 (STACK_END_MAGIC): Likewise.
8609 (TMPFS_MAGIC): Likewise.
8610 (USBDEVICE_SUPER_MAGIC): Likewise.
8611 (V9FS_MAGIC): Likewise.
8612 (XENFS_SUPER_MAGIC): Likewise.
8613 (CRAMFS_MAGIC): Fix typo in comment.
8614 (EXT2_SUPER_MAGIC): Update comment.
8615 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8616
464263cc
JM
86172014-02-08 Joseph Myers <joseph@codesourcery.com>
8618
c6bfe5c4
JM
8619 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8620 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8621 * sysdeps/unix/sysv/linux/arm: Move directory from
8622 ports/sysdeps/unix/sysv/linux/arm.
8623 * README: Update listing for arm-*-linux-gnueabi.
8624
464263cc
JM
8625 * README: Remove mention of am33.
8626
32749f6c
RM
86272014-02-07 Roland McGrath <roland@hack.frob.com>
8628
8629 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8630 than the comma operator, to avoid "rhs of comma has no effect"
8631 compiler warnings.
8632 (__sigfillset, __sigandset, __sigorset): Likewise.
8633 * include/signal.h (__sigemptyset): Likewise.
8634 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8635
d5b396c1
AM
86362014-02-07 Allan McRae <allan@archlinux.org>
8637
8638 * version.h (RELEASE): Set to "development".
8639 (VERSION): Set to "2.19.90"
8640 * NEWS: Add 2.20 section.
8641
3bfff2ed
CD
86422014-02-06 Carlos O'Donell <carlos@redhat.com>
8643
8644 [BZ #16529]
8645 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8646
ee7cc385
SP
86472014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8648
8649 * manual/contrib.texi: Update entry for Carlos O'Donell,
8650 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8651
f877c4f2
CD
86522014-02-05 Carlos O'Donell <carlos@rehdat.com>
8653
27e839f6
CD
8654 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8655
f877c4f2
CD
8656 * sysdeps/unix/sysv/linux/kernel-features.h
8657 [__LINUX_KERNEL_VERSION >= 0x020621]
8658 (__ASSUME_PROC_PID_TASK_COMM): Define.
8659
68159946
SP
86602014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8661
ba17cdbd
SP
8662 [BZ #16398]
8663 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8664 conversion when destination buffer does not have enough space.
8665 * libio/tst-ftell-partial-wide.c: New test case.
8666 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8667
68159946
SP
8668 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8669 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8670 Leonard and Allan McRae.
8671
2b528732
DM
86722014-02-04 David S. Miller <davem@davemloft.net>
8673
8674 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8675 32-bit.
8676
0ff82463
AZ
86772014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8678
57f41c40
AS
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8680 New file
c01603f7
AZ
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8682 New file
57f41c40
AS
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8684 New file.
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8686 New file.
c01603f7
AZ
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8688 New file.
57f41c40
AS
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8690 New file.
8691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8692 New file.
c01603f7
AZ
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8694 New file.
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8696 New file.
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8698 New file.
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8700 New file.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8702 New file.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8704 New file.
8705
87062014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8707
0ff82463
AZ
8708 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8709 * shlib-versions: Likewise.
8710
1695c773
AZ
87112014-02-04 Roland McGrath <roland@hack.frob.com>
8712 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8713
8714 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8715 (abilist-pattern): New variable, set to %-le.abilist.
8716
8717 * Makerules (abilist-pattern): New variable.
8718 (vpath): Use $(abilist-pattern) in place of %.abilist.
8719 (check-abi-% pattern rule): Likewise.
8720 (check-abi, update-abi): Likewise.
8721
6c0ce4b4
EW
87222014-02-04 Eric Wong <normalperson@yhbt.net>
8723
8724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8725
481e3524
CD
87262014-02-03 Carlos O'Donell <carlos@redhat.com>
8727
8728 * manual/startup.texi: Add next, previous, and top entries for
8729 the `Program Arguments' and `Environment Variables' nodes.
8730
375592d3
AO
87312014-02-03 Alexandre Oliva <aoliva@redhat.com>
8732
8733 * manual/macros.texi: Add comments before MTASC-safety macros.
8734
f54838ba
AO
8735 * manual/users.texi: Document MTASC-safety properties.
8736
57f41c40
AS
8737 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8738 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
8739 @deftypefun, and add @safety note.
8740 * manual/signal.texi: Move comments that analyze the above
8741 functions to their home place.
8742
fd3daba4
AM
87432014-02-03 Allan McRae <allan@archlinux.org>
8744
8745 * po/sl.po: Update Slovenian translation from translation project.
8746
597636d7
AO
87472014-02-02 Alexandre Oliva <aoliva@redhat.com>
8748
8749 * manual/time.texi (timegm): Add missing blank after @c.
8750 Reported by Joseph Myers <joseph@codesourcery.com>.
8751
ee196e3c
AO
87522014-02-01 Alexandre Oliva <aoliva@redhat.com>
8753
8754 * manual/check-safety.sh: New.
8755 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8756
f8d529d5
AO
8757 * manual/terminal.texi: Document MTASC-safety properties.
8758
de55fdf4
AO
8759 * manual/filesys.texi: Document MTASC-safety properties.
8760
c3299c08
AO
8761 * manual/errno.texi: Document MTASC-safety properties.
8762
06e90b14
AO
8763 * manual/intro.texi: Document safety identifiers and
8764 conditionals.
8765
1acd4371
AO
8766 * manual/string.texi (wcstok): Fix prototype.
8767 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8768
23e5b8cb
AO
8769 * manual/time.texi: Document MTASC-safety properties.
8770
11087373
AO
8771 * manual/string.texi: Document MTASC-safety properties.
8772
5da2c93d
AO
8773 * manual/threads.texi: Document MTASC-safety properties.
8774
171e9210
AO
8775 * manual/stdio.texi: Document MTASC-safety properties.
8776
d9e02532
AO
8777 * manual/syslog.texi: Document MTASC-safety properties.
8778
6af8bab7
AO
8779 * manual/sysinfo.texi: Document MTASC-safety properties.
8780
663b02d7
AO
8781 * manual/startup.texi: Document MTASC-safety properties.
8782
973f180b
AO
8783 * manual/socket.texi: Document MTASC-safety properties.
8784
8f3c25c8
AO
8785 * manual/signal.texi: Document MTASC-safety properties.
8786
542210fb
AO
87872014-01-31 Alexandre Oliva <aoliva@redhat.com>
8788
8789 * manual/setjmp.texi: Document MTASC-safety properties.
8790
433c45a2
AO
8791 * manual/search.texi: Document MTASC-safety properties.
8792
c8ce789c
AO
8793 * manual/resource.texi: Document MTASC-safety properties.
8794
19f5d29c
AO
8795 * manual/process.texi: Document MTASC-safety properties.
8796
e2dfb7f4
AO
8797 * manual/platform.texi: Document MTASC-safety properties.
8798
8c1413f5
AO
8799 * manual/pipe.texi: Document MTASC-safety properties.
8800
03483ada
AO
8801 * manual/pattern.texi: Document MTASC-safety properties.
8802
29e7e2df
AO
8803 * manual/message.texi: Document MTASC-safety properties.
8804
9f529d7c
AO
8805 [BZ #12751]
8806 * manual/memory.texi: Document MTASC-safety properties.
8807
27aaa791
AO
8808 * manual/math.texi: Document MTASC-safety properties.
8809
f2d58726
AO
8810 * manual/locale.texi: Document MTASC-safety properties.
8811
2cc3615c
AO
8812 * manual/llio.texi: Document MTASC-safety properties.
8813
d9f0ec97
AO
8814 * manual/libdl.texi: New.
8815
e7c4409a
AO
8816 * manual/lang.texi: Document MTASC-safety properties.
8817
27bdc63c
AO
8818 * manual/job.texi: Document MTASC-safety properties.
8819
a7b90ea9
AO
8820 * manual/getopt.texi: Document MTASC-safety properties.
8821
c49130e3
AO
8822 * manual/ctype.texi: Document MTASC-safety properties.
8823
0d23a5c1
MR
88242014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8825
8826 [BZ #16046]
8827 * csu/libc-tls.c (static_map): Remove variable.
8828 (__libc_setup_tls): Use main executable's link map for TLS data.
8829 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8830 casing for LM_ID_BASE and GL(dl_nns).
8831 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8832 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8833 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8834 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8835 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8836 member.
8837 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8838 l_phnum members.
8839
0037bb60
AO
88402014-01-30 Alexandre Oliva <aoliva@redhat.com>
8841
8842 * manual/debug.texi: Document MTASC-safety properties.
8843
409e00bd
L
88442014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8845
8846 [BZ #16510]
8847 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8848 of __x86_64__ when disabling x87 inline functions.
8849
86e60666
AO
88502014-01-29 Alexandre Oliva <aoliva@redhat.com>
8851
8852 * manual/charset.texi: Document MTASC-safety properties.
8853
76167637
AO
8854 * manual/crypt.texi: Document MTASC-safety properties.
8855
e567f2a0
AO
8856 * manual/conf.texi: Document MTASC-safety properties.
8857
b719dafd
AO
8858 * manual/arith.texi: Document MTASC-safety properties.
8859
4a16c662
AO
8860 * manual/argp.texi: Document MTASC-safety properties.
8861
0a57b83e
AO
8862 * manual/macros.texi: Introduce macros to document multi
8863 thread, asynchronous signal and asynchronous cancellation
8864 safety properties.
8865 * manual/intro.texi: Introduce the properties themselves.
8866
feab2397
KK
88672014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8868
8869 * sysdeps/sh/sh4/Makefile: New file.
8870
1c0d11bc
AS
88712014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8872
8873 * math/gen-libm-test.pl ($srcdir): New variable.
8874 ($auto_input): Use it.
8875
af37a8a3
SP
88762014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8877
d7b00f98
SP
8878 [BZ #16506]
8879 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8880 access beyond array bounds when parsing netgroups file.
8881
af37a8a3
SP
8882 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8883 the old buffer before realloc.
8884
0c00f062
AM
88852014-01-27 Allan McRae <allan@archlinux.org>
8886
8887 * po/fr.po: Update French translation from translation project.
8888
7d69a1b0
KK
88892014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8890
8891 * sysdeps/sh/libm-test-ulps: Regenerate.
8892
6e697ff7
DM
88932014-01-24 David S. Miller <davem@davemloft.net>
8894
8895 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8896
9cadb35c
KK
88972014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8898
8899 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8900 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8901
5d41dadf
SP
89022013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8903
8904 [BZ #16474]
8905 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8906 string pointers after reallocation.
8907
0bad441c
KK
89082014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8909
8910 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8911 __SH4A__ instead of __SH_FPU_ANY__.
8912
7007c661
KK
89132014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8914
8915 * sysdeps/sh/fpu_control.h: New file.
8916 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8917 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8918 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8919 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8920 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8921 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8922 * sysdeps/sh/sys/ucontext.h: Remove.
8923 * sysdeps/sh/sys: Remove directory.
8924
0f0c35e4
AK
89252014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8926
8927 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8928 s390/sys/ucontext.h.
8929 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8930 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8931
4959e284
L
89322014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8933
8934 [BZ #15605]
8935 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8936
d98720e0
AZ
89372014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8938
8939 [BZ#16431]
8940 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8941 Adjust the vDSO correctly for internal calls.
8942 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8943
91cbd0bc
AM
89442014-01-20 Allan McRae <allan@archlinux.org>
8945
8946 * po/ca.po: Update Catalan translation from translation project.
8947
7a02cfad
MF
89482014-01-16 Mike Frysinger <vapier@gentoo.org>
8949
8950 * sysdeps/s390/sotruss-lib.c: New file.
8951
736c304a
AZ
89522014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8953
8954 [BZ#16430]
6e077ee5 8955 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
8956 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8957 local calls issues by not having a PLT stub required for IFUNC calls.
8958 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8959
94d0cea0
JM
89602014-01-16 Joseph Myers <joseph@codesourcery.com>
8961
8962 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8963 * math/test-fpucw-static.c: Likewise.
8964
980cb518
SP
89652013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8966
8967 [BZ #16453]
8968 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8969
2393fc01
AZ
89702014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8971
8972 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8973 implementation for powerpc.
8974
d359bcc2
OB
89752014-01-15 Ondřej Bílka <neleai@seznam.cz>
8976
8977 [BZ #14782]
8978 * sysdeps/posix/system.c (__libc_system): Do not enable
8979 asynchronous cancellation.
8980
7beb48cb
AK
89812014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8982
8983 [BZ #16427]
8984 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8985 handling only for numbers special also in the IEEE case.
8986
c20d5bf5
AK
89872014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8988
8989 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8990
e83bd4ee
AM
89912014-01-11 Allan McRae <allan@archlinux.org>
8992
76d0ea69
AM
8993 * po/bg.po: Update Bulgarian translation from translation project.
8994
e83bd4ee
AM
8995 * po/de.po: Update German translation from translation project.
8996
bc2ba20a
RM
89972014-01-10 Roland McGrath <roland@hack.frob.com>
8998
8999 * sysdeps/generic/gcc-compat.h: New file.
9000
649ecea2
SP
90012014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9002
9003 * benchtests/asin-inputs: Correct slow inputs.
9004 * benchtests/acos-inputs: Likewise.
9005
1b19c006
AM
90062014-01-10 Allan McRae <allan@archlinux.org>
9007
a46dab08
AM
9008 * po:sv.po: Update Swedish translation from translation project.
9009
421df74a
AM
9010 * po/vi.po: Update Vietnamese translation from translation project.
9011
d61c51a7
AM
9012 * po/eo.po: Update Esperanto translation from translation project.
9013
0339a319
AM
9014 * po/cs.po: Update Czech translation from translation project.
9015
94ad3e99
AM
9016 * po/nl.po: Update Dutch translation from translation project.
9017
e349ca71
AM
9018 * po/pl.po: Update Polish translation from translation project.
9019
ddf930c1
AM
9020 * po/ru.po: Update Russian translation from translation project.
9021
1b19c006
AM
9022 * po/uk.po: Update Ukrainian translation from translation project.
9023
9f236c49
BM
90242014-01-08 Brooks Moses <bmoses@google.com>
9025
9026 * elf/dl-load.c: Fix comment typo.
9027
cd6701cf
CD
90282014-01-08 Carlos O'Donell <carlos@redhat.com>
9029
9030 * po/header.pot: Rename to...
9031 * po/pot.header: ... this.
9032 * po/Makefile: Use pot.header.
9033
66671c84
YK
90342014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9035 Maxim Kuvyrkov <maxim@kugelworks.com>
9036
9037 [BZ #16394]
cd6701cf
CD
9038 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9039 SRC and DEST against LEN.
66671c84 9040
38f34581
AZ
90412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9042
9043 [BZ #16414]
9044 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9045 implementation.
9046 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9047
90482014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
9049
9050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9051
4c327f2a
JM
90522014-01-08 Joseph Myers <joseph@codesourcery.com>
9053
9054 [BZ #16408]
9055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9056 for large positive arguments.
9057
b821f414
JM
90582014-01-07 Joseph Myers <joseph@codesourcery.com>
9059
1f0f2067
JM
9060 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9061
a5a326f6
JM
9062 * math/auto-libm-test-in: Mark various tests with
9063 xfail-rounding:ldbl-128ibm.
9064 * math/auto-libm-test-out: Regenerated.
9065
b821f414
JM
9066 [BZ #16407]
9067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9068 Increase overflow threshold.
9069
94c8a4bc
OB
90702014-01-07 Ondřej Bílka <neleai@seznam.cz>
9071
9072 [BZ #14286]
9073 * stdio-common/vfprintf.c: Check for integer overflow.
9074
87ded0c3
AK
90752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9076
9077 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9078 the first argument and return value of __tls_get_addr_internal.
9079
c5eebdd0
AK
90802014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9081
9082 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9083 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9084
05d138ef
AK
90852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9086
9087 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9088 * sysdeps/s390/rtld-global-offsets.sym: New file.
9089 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9090 GLIBC_2.19 symbol.
9091 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9092 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9093 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9094 ... this.
9095 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9096 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9097 ... this.
9098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9099 Regenerate.
9100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9101 Regenerate.
9102 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9103 halfs of GPRs for high_gprs contexts.
9104 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9105 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9106 field.
9107 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9108 uc_flags field.
9109 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9110 64 bit versions:
9111 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9112 for high GPRs (uc_high_gprs) and for future extensions
9113 (__reserved).
9114 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9115 for future extensions (__reserved).
9116 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9117 64 bit versions:
9118 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9119 SC_HIGHGPRS offset definition.
9120 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9121 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9122
93a45ff1
AK
9123 * Versions.def: Add GLIBC_2.19 for libpthread.
9124 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9125 siglongjmp for libpthread with GLIBC_2.19 symver.
9126 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9127 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9128 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9129 * sysdeps/s390/__longjmp.c: New file.
9130 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9131 * sysdeps/s390/longjmp.c: New file.
9132 * sysdeps/s390/setjmp.S: New file.
9133 * sysdeps/s390/sigjmp.S: New file.
9134 * sysdeps/s390/v1-longjmp.c: New file.
9135 * sysdeps/s390/v1-setjmp.h: New file.
9136 * sysdeps/s390/v1-sigjmp.c: New file.
9137 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9138 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9139 GLIBC_2.19 version.
9140 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9141 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9142 versioned symbols for ____longjmp_chk.
9143 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9144 Likewise.
9145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9146 Regenerate.
9147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9148 Regenerate.
9149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9150 Regenerate.
9151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9152 Regenerate.
9153 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9154 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9155 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9156 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9157 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9158 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9159 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9160 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9161 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9162 * sysdeps/s390/rtld-__longjmp.c: New file.
9163 * sysdeps/s390/rtld-setjmp.S: New file.
9164
eb3fc44b
JM
91652014-01-06 Joseph Myers <joseph@codesourcery.com>
9166
9167 [BZ #16400]
9168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9169 Return -__logl (x) for small positive arguments without evaluating
9170 a polynomial.
9171
9341dde4
MF
91722014-01-06 Mike Frysinger <vapier@gentoo.org>
9173
9174 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9175 Rename to ...
9176 (__ptrace_peeksiginfo_args): ... this.
9177 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9178 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9179 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9180
4cff0293
AM
91812014-01-06 Allan McRae <allan@archlinux.org>
9182
9183 * inet/netinet/in.h: Fix typo in comment.
9184
75595dcf
AJ
91852014-01-05 Andreas Jaeger <aj@suse.de>
9186
9187 * sysdeps/i386/fpu/libm-test-ulps: Update.
9188
79c1e109
AM
91892014-01-05 Allan McRae <allan@archlinux.org>
9190
dd804818
AM
9191 * po/libc.pot: Regenerated.
9192
79c1e109
AM
9193 * malloc/memusagestat.c: Fix gettext call formatting.
9194
0c813d1f
SK
91952014-01-04 Sami Kerola <kerolasa@iki.fi>
9196
9197 * nscd/nscd.c: Improve usage() output.
9198
20f4a8d9
MF
91992014-01-04 Mike Frysinger <vapier@gentoo.org>
9200
9201 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9202 * sysdeps/unix/sysv/linux/configure: Regenerated.
9203 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9204 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9205
22562bb2
JM
92062014-01-03 Joseph Myers <joseph@codesourcery.com>
9207
9208 [BZ #16390]
9209 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9210 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9211
d7ad2d9b
AZ
92122014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9213
9214 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9215 extra tokens at end of #undef directive.
9216 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9217 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9218 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9219
7dd009d8
JM
92202014-01-03 Joseph Myers <joseph@codesourcery.com>
9221
24db925a
JM
9222 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9223
7dd009d8
JM
9224 * math/auto-libm-test-in: Mark various tests with
9225 xfail-rounding:ldbl-128ibm.
9226 * math/auto-libm-test-out: Regenerated.
9227
396e3ecf
JM
92282014-01-02 Joseph Myers <joseph@codesourcery.com>
9229
819e5d50
JM
9230 [BZ #16386]
9231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9232 numbers with subnormal high part when calculating exponent.
9233
90b6a1e5
JM
9234 [BZ #16385]
9235 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9236 fabs.
9237
396e3ecf
JM
9238 [BZ #16384]
9239 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9240 M_LN2l.
9241 (__ieee754_acoshl): Use __log1pl not __log1p.
9242
6c8dbf00
OB
92432013-01-02 Ondřej Bílka <neleai@seznam.cz>
9244
57f41c40
AS
9245 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9246 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9247 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9248 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9249 (reused_arena, arena_get2): Convert to GNU style.
9250 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9251 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9252 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 9253 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
9254 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9255 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9256 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9257 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9258 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9259 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 9260 * malloc/malloc.h: Likewise.
57f41c40
AS
9261 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9262 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 9263 * malloc/mcheck.h: Likewise.
57f41c40
AS
9264 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9265 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
9266 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9267 * malloc/morecore.c (__default_morecore): Likewise.
9268 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
9269 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9270 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9271 (print_and_abort): Likewise.
6c8dbf00
OB
9272 * malloc/obstack.h: Likewise.
9273 * malloc/set-freeres.c (__libc_freeres): Likewise.
9274 * malloc/tst-mallocstate.c (main): Likewise.
9275 * malloc/tst-mtrace.c (main): Likewise.
9276 * malloc/tst-realloc.c (do_test): Likewise.
9277
d4124212
SP
92782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9279
9a3c6a6f
SP
9280 [BZ #16366]
9281 * nscd/netgroupcache.c (do_notfound): New function.
9282 (addgetnetgrentX): Use it.
9283
d4124212
SP
9284 [BZ # 16365]
9285 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9286 NSS_STATUS_NOTFOUND.
9287
97b9a009
JM
92882014-01-01 Joseph Myers <joseph@codesourcery.com>
9289
9290 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9292
d4697bc9
AM
92932014-01-01 Allan McRae <allan@archlinux.org>
9294
ddb3687f
AM
9295 * scripts/update-copyrights: Update configure input file suffix.
9296
88726d48
AM
9297 * NEWS: Update copyright year.
9298 * catgets/gencat.c: Likewise.
9299 * csu/version.c: Likewise.
9300 * debug/catchsegv.sh: Likewise.
9301 * debug/pcprofiledump.c: Likewise.
9302 * debug/xtrace.sh: Likewise.
9303 * elf/ldconfig.c: Likewise.
9304 * elf/ldd.bash.in: Likewise.
9305 * elf/pldd.c: Likewise.
9306 * elf/sotruss.ksh: Likewise.
9307 * elf/sprof.c: Likewise.
9308 * iconv/iconv_prog.c: Likewise.
9309 * iconv/iconvconfig.c: Likewise.
9310 * locale/programs/locale.c: Likewise.
9311 * locale/programs/localedef.c: Likewise.
9312 * login/programs/pt_chown.c: Likewise.
9313 * malloc/memusage.sh: Likewise.
9314 * malloc/memusagestat.c: Likewise.
9315 * malloc/mtrace.pl: Likewise.
9316 * manual/libc.texinfo: Likewise.
9317 * nscd/nscd.c: Likewise.
9318 * nss/getent.c: Likewise.
9319 * nss/makedb.c: Likewise.
9320 * posix/getconf.c: Likewise.
9321 * scripts/test-installation.pl: Likewise.
9322
d4697bc9
AM
9323 * All files with FSF copyright notices: Update copyright dates
9324 using scripts/update-copyrights.
9325 * intl/plural.c: Regenerated.
9326 * locale/programs/charmap-kw.h: Likewise.
9327 * locale/programs/locfile-kw.h: Likewise.
9328
c8590f9d
MF
93292013-12-31 Mike Frysinger <vapier@gentoo.org>
9330
9331 * sysdeps/unix/sysv/linux/configure: Regenerated.
9332 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9333 the linux/fanotify.h header.
9334 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9335 HAVE_LINUX_FANOTIFY_H is defined.
9336
b19221b9
SP
93372013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9338
dd1d85e5
SP
9339 * benchtests/cos-inputs: New inputs.
9340 * benchtests/sin-inputs: Likewise.
9341
1acbb90f
SP
9342 * benchtests/atan-inputs: New inputs. Fix name of multiple
9343 precision fallback inputs.
9344
4c012ed3
SP
9345 * benchtests/atanh-inputs: New inputs.
9346 * benchtests/tanh-inputs: Likewise.
9347
eff98324
SP
9348 * benchtests/acosh-inputs: New inputs.
9349 * benchtests/asinh-inputs: Likewise.
9350
ce641152
SP
9351 * benchtests/cosh-inputs: New inputs.
9352 * benchtests/sinh-inputs: Likewise.
9353
b19221b9
SP
9354 * benchtests/acos-inputs: Add more inputs.
9355 * benchtests/asin-inputs: Likewise.
9356
030a4976 93572013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 9358
030a4976 9359 [BZ #16375]
9dcc8f11
VS
9360 * manual/arith.texi: Fix spelling.
9361 * manual/charset.texi: Likewise.
9362 * manual/errno.texi: Likewise.
9363 * manual/filesys.texi: Likewise.
9364 * manual/lang.texi: Likewise.
9365 * manual/llio.texi: Likewise.
9366 * manual/locale.texi: Likewise.
9367 * manual/message.texi: Likewise.
9368 * manual/resource.texi: Likewise.
9369 * manual/search.texi: Likewise.
9370 * manual/setjmp.texi: Likewise.
9371 * manual/stdio.texi: Likewise.
9372 * manual/string.texi: Likewise.
9373 * manual/sysinfo.texi: Likewise.
9374 * manual/time.texi: Likewise.
9375
11520a57
CD
93762013-12-27 Carlos O'Donell <carlos@redhat.com>
9377
9378 * po/sl.po: New file.
9379
471103ae
MF
93802013-12-27 Mike Frysinger <vapier@gentoo.org>
9381
9382 * .gitignore: Add core/.gdbinit/.gdb_history.
9383
6c9642ed
AM
93842013-12-27 Allan McRae <allan@archlinux.org>
9385
9386 [BZ #16369]
9387 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9388 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9389
3f637079
BM
93902013-12-24 Brooks Moses <bmoses@google.com>
9391
9392 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9393 all compilers that claim C++98 compliance, not just GCC.
9394 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9395 Likewise.
9396
abc26e99
MK
93972013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9398
9399 * NEWS: Restore accidentally deleted bug-fix entries.
9400
362b47fe
MK
94012013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9402 Ondřej Bílka <neleai@seznam.cz>
9403
9404 [BZ #15073]
9405 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 9406 have_lock.
362b47fe 9407
b9bcbbcb
OB
94082013-12-23 Ondřej Bílka <neleai@seznam.cz>
9409
9410 [BZ #12986]
9411 * manual/stdio.texi (String Input Conversions): Clarify that character
9412 classes are not supported.
9413
fb55fcd2
AZ
94142013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9415
9416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9417
ef7344f0
JM
94182013-12-22 Joseph Myers <joseph@codesourcery.com>
9419
4f40e4b3
JM
9420 [BZ #16337]
9421 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9422 Calculate results for small negative arguments directly rather
9423 than using reflection formula with special underflow handling.
9424
ef7344f0
JM
9425 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9426 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9427 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9428 (fchflags): Likewise.
9429 (revoke): Likewise.
9430 (setlogin): Likewise.
9431 (sigaltstack): Likewise.
9432 (wait4): Likewise.
9433 (sigblock): Remove.
9434 (sigsetmask): Likewise.
9435 (wait3): Likewise.
9436 (waitpid): Likewise.
9437 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9438 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9439 file.
9440 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9441 * sysdeps/unix/bsd/Makefile: ... here.
9442 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9443 * sysdeps/unix/bsd/Versions: ... here.
9444 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9445 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9446 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9447 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9448 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9449 * sysdeps/unix/bsd/sigblock.c: ... here.
9450 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9451 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9452 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9453 * sysdeps/unix/bsd/sigvec.c: ... here.
9454 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9455 * sysdeps/unix/bsd/tcdrain.c: ... here.
9456 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9457 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9458 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9459 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9460 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9461 * sysdeps/unix/bsd/wait.c: ... here.
9462 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9463 * sysdeps/unix/bsd/wait3.c: ... here.
9464 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9465 * sysdeps/unix/bsd/waitpid.c: ... here.
9466
5b0626b9
JM
94672013-12-21 Joseph Myers <joseph@codesourcery.com>
9468
9469 [BZ #16356]
9470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9471 round-to-nearest for [!USE_AS_EXPM1L].
9472 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9473 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9474 more tests of exp and exp10. Expect some exp10 tests to miss
9475 exceptions or fail in directed rounding modes.
9476 * math/auto-libm-test-out: Regenerated.
9477 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9478 (exp10_test_tonearest): New function.
9479 (exp10_towardzero_test_data): New array.
9480 (exp10_test_towardzero): New function.
9481 (exp10_downward_test_data): New array.
9482 (exp10_test_downward): New function.
9483 (exp10_upward_test_data): New array.
9484 (exp10_test_upward): New function.
9485 (main): Call the new functions.
9486 * sysdeps/i386/fpu/libm-test-ulps: Update.
9487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9488
7fda5682
JM
94892013-12-20 Joseph Myers <joseph@codesourcery.com>
9490
31e3a405
JM
9491 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9492 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9493 * math/auto-libm-test-out: Regenerated.
9494 * math/libm-test.inc (acosh_test_data): Add more tests.
9495 (atanh_test_data): Likewise.
9496 (ceil_test_data): Likewise.
9497 (copysign_test_data): Likewise.
9498 * sysdeps/i386/fpu/libm-test-ulps: Update.
9499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9500
85bff96a
JM
9501 * timezone/checktab.awk: Update from tzcode 2013i.
9502 * timezone/private.h: Likewise.
9503 * timezone/scheck.c: Likewise.
9504 * timezone/tzfile.h: Likewise.
9505 * timezone/tzselect.ksh: Likewise.
9506 * timezone/zdump.c: Likewise.
9507 * timezone/zic.c: Likewise.
9508
b7867a3b
JM
9509 * math/auto-libm-test-in: Add tests of cpow.
9510 * math/auto-libm-test-out: Regenerated.
9511 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 9512 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
9513 mpc_cc_c.
9514 (func_calc_desc): Add mpc_cc_c union field.
9515 (test_functions): Add cpow.
9516 (special_fill_2pi): New function.
9517 (special_real_inputs): Add 2pi.
9518 (calc_generic_results): Handle mpc_cc_c.
9519 * sysdeps/i386/fpu/libm-test-ulps: Update.
9520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9521
7fda5682
JM
9522 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9523 csqrt, ctan and ctanh.
9524 * math/auto-libm-test-out: Regenerated.
9525 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9526 (TEST_COND_x86): Likewise.
9527 (ccos_test_data): Use AUTO_TESTS_c_c.
9528 (ccosh_test_data): Likewise.
9529 (cexp_test_data): Likewise.
9530 (clog_test_data): Likewise.
9531 (csqrt_test_data): Likewise.
9532 (ctan_test_data): Likewise.
9533 (ctan_tonearest_test_data): Likewise.
9534 (ctan_towardzero_test_data): Likewise.
9535 (ctan_downward_test_data): Likewise.
9536 (ctan_upward_test_data): Likewise.
9537 (ctanh_test_data): Likewise.
9538 (ctanh_tonearest_test_data): Likewise.
9539 (ctanh_towardzero_test_data): Likewise.
9540 (ctanh_downward_test_data): Likewise.
9541 (ctanh_upward_test_data): Likewise.
9542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9543 mpc_c_c.
9544 (func_calc_desc): Add mpc_c_c union field.
9545 (FUNC_mpc_c_c): New macro.
9546 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9547 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9548 ctanh.
9549 (special_fill_min_subnorm_p120): New function.
9550 (special_real_inputs): Add min_subnorm_p120.
9551 (calc_generic_results): Handle mpc_c_c.
9552 * sysdeps/i386/fpu/libm-test-ulps: Update.
9553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9554
5ff8d60e
SP
95552013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9556
57f41c40
AS
9557 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9558 (do_sin_slow): New functions.
9559 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9560 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 9561
84ba214c
SP
9562 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9563 Use M to change sign of result instead of X. Assume X is
9564 positive.
9565 (csloww1): Likewise.
9566 (__sin): Adjust.
9567 (__cos): Adjust.
9568
975195e4
SP
9569 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9570 arguments A and DA.
9571 (__sin): Adjust.
9572 (__cos): Likewise.
9573
5ff8d60e
SP
9574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9575 (__cos): Likewise.
9576 (sloww1): Don't adjust sign of DX.
9577 (csloww1): Likewise.
9578 (sloww2): Use X directly and don't adjust sign of DX.
9579 (csloww2): Likewise.
9580
eb983568
JM
95812013-12-19 Joseph Myers <joseph@codesourcery.com>
9582
64a17f1a
JM
9583 * math/auto-libm-test-in: Add tests of cabs and carg.
9584 * math/auto-libm-test-out: Regenerated.
9585 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9586 (carg_test_data): Likewise.
9587 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9588 mpc_c_f.
9589 (func_calc_desc): Add mpc_c_f union field.
9590 (test_functions): Add cabs and carg.
9591 (calc_generic_results): Handle mpc_c_f.
9592
eb983568
JM
9593 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9594 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9595 as a macro and a compat symbol.
9596 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9597 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9598 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9599 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9600 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9601 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9602 not use .hidden.
9603 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9604 Likewise.
9605 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9606 Likewise.
9607 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9608 Likewise.
9609 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9610 Likewise.
9611 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9612 Likewise.
9613 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9614 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9615 from GLIBC_2.3.2.
9616
6eeb678a
AZ
96172013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9618
9619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9620
6f6fc482
JM
96212013-12-19 Joseph Myers <joseph@codesourcery.com>
9622
21fea2e2
JM
9623 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9624 trailing whitespace removed.
9625 * scripts/config.guess: Update to version 2013-11-29.
9626 * scripts/config.sub: Update to version 2013-10-01.
9627
6f6fc482
JM
9628 * math/auto-libm-test-in: Add tests of sincos.
9629 * math/auto-libm-test-out: Regenerated.
9630 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9631 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9632 mpfr_f_11.
9633 (func_calc_desc): Add mpfr_f_11 union field.
9634 (test_functions): Add sincos.
9635 (calc_generic_results): Handle mpfr_f_11.
9636 * sysdeps/i386/fpu/libm-test-ulps: Update.
9637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9638
83f5c32d
AS
96392013-12-19 Andreas Schwab <schwab@suse.de>
9640
9641 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9642 CALL_MCOUNT.
9643 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9644 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9645 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9646
c688b419
JM
96472013-12-19 Joseph Myers <joseph@codesourcery.com>
9648
335ee092
JM
9649 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9650 * sysdeps/i386/fpu/libm-test-ulps: Update.
9651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9652
f88acd39
JM
9653 [BZ #16293]
9654 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9655 round-to-nearest mode when using frndint.
9656 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9657 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9658 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9659 Likewise.
9660 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9661 sinh test to fail.
9662 * math/auto-libm-test-out: Regenerated.
9663 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9664 (TEST_COND_x86): Likewise.
9665 (expm1_tonearest_test_data): New array.
9666 (expm1_test_tonearest): New function.
9667 (expm1_towardzero_test_data): New array.
9668 (expm1_test_towardzero): New function.
9669 (expm1_downward_test_data): New array.
9670 (expm1_test_downward): New function.
9671 (expm1_upward_test_data): New array.
9672 (expm1_test_upward): New function.
9673 (main): Run the new test functions.
9674 * sysdeps/i386/fpu/libm-test-ulps: Update.
9675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9676
c688b419
JM
9677 * include/features.h: Update comment documenting feature test
9678 macros. Mention _DEFAULT_SOURCE in comment.
9679 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9680 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9681 _BSD_SOURCE and _SVID_SOURCE.
9682 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9683 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9684 !_SVID_SOURCE]: Likewise.
9685 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9686 (__USE_POSIX_IMPLICITLY): Define.
9687 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9688 (_POSIX_SOURCE): Undefine and redefine.
9689 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9690 (_POSIX_C_SOURCE): Likewise.
9691 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9692 (Feature Test Macros): Update documentation of default features.
9693
9f6e964c
RS
96942013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9695
9696 * benchtests/Makefile: Add bench-strtok.
9697 * benchtests/bench-strtok.c: New file: strtok benchtest.
9698
ee0a148a
AM
96992013-12-19 Allan McRae <allan@archlinux.org>
9700
9701 * manual/install.texi: Suppress menu for plain text output.
9702 * INSTALL: Regenerated.
9703
b9ab448f
BM
97042013-12-18 Brooks Moses <bmoses@google.com>
9705
9706 [BZ #15846]
9707 * misc/getauxval.c: Include errno.h.
9708 (__getauxval): Set errno to ENOENT if the requested type is not
9709 found.
9710 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9711 don't declare with __attribute_const__.
9712 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9713 * manual/startup.texi: Document that getauxval sets errno.
9714
23776487
JM
97152013-12-18 Joseph Myers <joseph@codesourcery.com>
9716
f889953b
JM
9717 * math/auto-libm-test-in: Add tests of jn and yn.
9718 * math/auto-libm-test-out: Regenerated.
9719 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9720 (yn_test_data): Likewise.
9721 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9722 mpfr_if_f.
9723 (func_calc_desc): Add mpfr_if_f union field.
9724 (FUNC_mpfr_if_f): New macro.
9725 (test_functions): Add jn and yn.
9726 (calc_generic_results): Assert type of second input for
9727 mpfr_ff_f. Handle mpfr_if_f.
9728 (output_for_one_input_case): Disable all checking for arguments
9729 fitting floating-point types in case of an integer argument.
9730 * sysdeps/i386/fpu/libm-test-ulps: Update.
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9732
23776487
JM
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9734 Don't expect fegetround reference in libm.so.
9735
cb756c6d
MS
97362013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9737
9738 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9739 $(config-cflags-nofma).
9740
2dec468f
JM
97412013-12-18 Joseph Myers <joseph@codesourcery.com>
9742
5953eb3a
JM
9743 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9744 * math/auto-libm-test-out: Regenerated.
9745
2dec468f
JM
9746 [BZ #16338]
9747 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9748 to determine exponent and adjust argument to have exponent of -1.
9749 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9750 log2.
9751 * math/auto-libm-test-out: Regenerated.
9752 * sysdeps/i386/fpu/libm-test-ulps: Update.
9753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9754
4d84e6ad
OB
97552013-12-18 Ondřej Bílka <neleai@seznam.cz>
9756
9757 * manual/probes.texi: Remove cases when per-thread arenas are
9758 disabled.
9759
1818483b
AS
97602013-12-18 Andreas Schwab <schwab@suse.de>
9761
9762 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9763 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9764 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9765 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9766 * sysdeps/i386/i686/multiarch/Makefile: Update.
9767 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9768
25de95bf
JM
97692013-12-17 Joseph Myers <joseph@codesourcery.com>
9770
9771 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9772 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9773
674762d9
PE
97742013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9775
ed27ed83 9776 [BZ #15968]
0748546f
PE
9777 Support TZ transition times < 00:00:00.
9778 This is needed for version-3 tz-format files; it supports time
9779 stamps past 2037 for America/Godthab (the only entry in the tz
9780 database for which this change is relevant).
9781 * manual/time.texi (TZ Variable): Document transition times
9782 from -167:59:59 through -00:00:01.
9783 * time/tzset.c (tz_rule): Time of day is now signed.
9784 (__tzset_parse_tz): Parse negative time of day.
9785
4480e934
PE
9786 Document TZ transition times >= 25:00:00.
9787 * manual/time.texi (TZ Variable): Document transition times from
9788 25:00:00 through 167:59:59. These are already supported, and this
9789 support will help with version-3 tz-format files.
9790
69947401
PE
9791 * manual/time.texi (TZ Variable): Modernize North America example
9792 to reflect current (i.e., 2007-and-later) daylight saving rules.
9793
674762d9
PE
9794 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9795
7011c262
JM
97962013-12-17 Joseph Myers <joseph@codesourcery.com>
9797
2fc6557e
JM
9798 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9799 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9802 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9803 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9804 * sysdeps/unix/bsd/clock.c: Likewise.
9805 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9806 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9807 * sysdeps/unix/bsd/init-posix.c: Likewise.
9808 * sysdeps/unix/bsd/poll.c: Likewise.
9809 * sysdeps/unix/bsd/ptsname.c: Likewise.
9810 * sysdeps/unix/bsd/seekdir.c: Likewise.
9811 * sysdeps/unix/bsd/setegid.c: Likewise.
9812 * sysdeps/unix/bsd/seteuid.c: Likewise.
9813 * sysdeps/unix/bsd/setgid.c: Likewise.
9814 * sysdeps/unix/bsd/setrgid.c: Likewise.
9815 * sysdeps/unix/bsd/setruid.c: Likewise.
9816 * sysdeps/unix/bsd/setsid.c: Likewise.
9817 * sysdeps/unix/bsd/setuid.c: Likewise.
9818 * sysdeps/unix/bsd/sigaction.c: Likewise.
9819 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9820 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9821 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9822 * sysdeps/unix/bsd/telldir.c: Likewise.
9823 * sysdeps/unix/bsd/times.c: Likewise.
9824 * sysdeps/unix/bsd/usleep.c: Likewise.
9825
029c7b25
JM
9826 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9827 ($(objpfx)libbsd-compat.a): Remove rule.
9828
7011c262
JM
9829 * include/features.h (__FAVOR_BSD): Do not define.
9830 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9831 features conflicting with POSIX.
9832 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9833 (_BSD_SOURCE): Remove description of not being a subset of other
9834 feature test macros.
9835 * manual/job.texi (getpgrp): Do not document BSD version.
9836 (getpgid): Do not document by reference to BSD getpgrp.
9837 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9838 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9839 * signal/signal.h [__FAVOR_BSD]: Likewise.
9840 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9841 instead of making contents conditional on [__FAVOR_BSD].
9842 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9843
affb6f78
AZ
98442013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9845
9846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9847
c88769dd
JM
98482013-12-17 Joseph Myers <joseph@codesourcery.com>
9849
6432a540
JM
9850 [BZ #16314]
9851 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9852 values below 2**-450, not 2**-500.
9853 * math/auto-libm-test-in: Don't allow spurious underflow from
9854 hypot.
9855 * math/auto-libm-test-out: Regenerated.
9856
c88769dd
JM
9857 [BZ #16316]
9858 [BZ #16330]
9859 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9860 values of ha and hb and sort them after adjusting subnormal
9861 arguments.
9862 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9863 Likewise.
9864 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9865 values of ea and eb and sort them after adjusting subnormal
9866 arguments.
9867 * math/auto-libm-test-in: Do not expect some hypot tests of
9868 subnormals to fail. Add more hypot tests.
9869 * math/auto-libm-test-out: Regenerated.
9870
29618f6b
KK
98712013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9872
9873 [BZ #13304]
9874 * sysdeps/sh/s_fma.c: New file.
9875 * sysdeps/sh/s_fmaf.c: New file.
9876 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9877 version.
9878 * sysdeps/sh/Implies: Add sh/soft-fp.
9879
eacfdfbf
RM
98802013-12-16 Roland McGrath <roland@hack.frob.com>
9881
9882 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9883 level of indirection to members `objname', `errstring', `malloced'.
9884 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9885 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9886 it as the __longjmp argument (just pass 1 instead).
9887 (_dl_catch_error): Initialize C with argument pointers and address of
9888 volatile local ERRCODE rather than copying values out of C at return.
9889
ff362e5b
JM
98902013-12-16 Joseph Myers <joseph@codesourcery.com>
9891
9892 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9893 * math/auto-libm-test-out: Regenerated.
9894 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9895 (hypot_test_data): Likewise.
9896 (pow_test_data): Likewise.
9897 (pow_tonearest_test_data): Likewise.
9898 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9899 mpfr_ff_f.
9900 (func_calc_desc): Add mpfr_ff_f union field.
9901 (FUNC_mpfr_ff_f): New macro.
9902 (test_functions): Add atan2, hypot and pow.
9903 (special_fill_min): New function.
9904 (special_fill_minus_min): Likewise.
9905 (special_fill_min_subnorm): Likewise.
9906 (special_fill_minus_min_subnorm): Likewise.
9907 (special_real_inputs): Add min, -min, min_subnorm and
9908 -min_subnorm.
9909 (calc_generic_results): Handle mpfr_ff_f.
9910 * sysdeps/i386/fpu/libm-test-ulps: Update.
9911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9912
5764c27f
WN
99132013-12-16 Will Newton <will.newton@linaro.org>
9914
9915 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9916 (Aligned Memory Blocks): Add documentation for aligned_alloc
9917 and suggest it as an alternative to posix_memalign.
9918 (Hooks for Malloc): Document __memalign_hook is also called
9919 for aligned_alloc. (Summary of Malloc): Add summary for
9920 aligned alloc. Document __memalign_hook is also called
9921 for aligned_alloc.
9922
0a096e44
WN
99232013-12-16 Will Newton <will.newton@linaro.org>
9924
9925 * manual/memory.texi (Malloc Examples): Clarify default
9926 alignment documentation. Suggest posix_memalign rather
9927 than memalign or valloc.
9928 (Aligned Memory Blocks): Remove suggestion to use memalign
9929 or valloc. Remove obsolete comment about BSD.
9930 Document memalign errno values and mark the function obsolete.
9931 Document posix_memalign returned error codes. Mark valloc
9932 as obsolete. (Hooks for Malloc): __memalign_hook is also
9933 called for posix_memalign and valloc.
9934 (Summary of Malloc): Add posix_memalign to function summary.
9935 __memalign_hook is also called for posix_memalign and valloc.
9936
8d561986
SP
99372013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9938
9939 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9940 TAYLOR_SIN.
9941 (__sin): Adjust.
9942 (__cos): Likewise.
9943 (sloww): Use mynumber union. Expand ternary operator into
9944 if-else statements.
9945 (cslow): use mynumber union.
9946
73616a74
AM
99472013-12-16 Allan McRae <allan@archlinux.org>
9948
9e8ac24b
AM
9949 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9950 * configure: Regenerated.
9951
6f8e37eb
AM
9952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9953
8894bad3
AM
9954 [BZ #14120]
9955 * configure.ac: Added --enable-maintainer-mode. Check for
9956 autoconf when enabled.
9957 * configure: Regenerated.
9958
73616a74
AM
9959 * nscd/nscd.service: New file.
9960 * nscd/nscd.tmpfiles: New file.
9961
584b18eb
OB
99622013-12-14 Ondřej Bílka <neleai@seznam.cz>
9963
9964 [BZ #12100]
9965 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9966 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9967 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9968 (strstr): Add __strstr_sse2_unaligned ifunc.
9969 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9970 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9971 (strcasestr): Remove __strcasestr_sse42 ifunc.
9972 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9975
8a5c7897
KK
99762013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9977
9978 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9979 * sysdeps/sh/bits/fenv.h: ... here.
9980 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9981
fd712ef3
AZ
99822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9983
9984 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9985
42fcb46c
AZ
9986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9987 hypotf multiarch implementations.
9988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9989 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9990 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9991 multiarch hypot for PPC64.
9992 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9993 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9994 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9995 multiarch hypotf for PPC64.
9996
83efded4
AZ
9997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9998 modff multiarch implementations.
9999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10002 multiarch modf for PPC64.
10003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10006 multiarch modff for PPC64.
10007
43e246d2
AZ
10008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10009 and logl multiarch implementations.
10010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10013 multiarch logb for PPC64.
10014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10017 multiarch logb for PPC64.
10018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10021 multiarch logb for PPC64.
10022
8fdad123
AZ
10023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10024 isinff multiarch implementation.
10025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10026 file.
10027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10029 multiarch isinf for PPC64.
10030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10031 file.
10032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10033 multiarch isinff for PPC64.
10034
1481d706
AZ
10035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10036 finitef multiarch implementation.
10037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10038 file.
10039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10041 multiarch finite for PPC64.
10042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10043 file.
10044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10045 multiarch finitef for PPC64.
10046
5ccd5fc8
AZ
10047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10048 lrint multiarch implementation.
10049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10050 file.
10051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10053 multiarch llrint for PPC64.
10054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10055 multiarch lrint for PPC64.
10056
2568f3fa
AZ
10057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10058 copysignf multiarch implementation.
10059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10060 file.
10061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10062 file.
10063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10064 multiarch copysign for PPC64.
10065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10066 multiarch copysignf for PPC64.
10067
1cb341fd
AZ
10068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10069 multiarch implementation.
10070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10071 file.
10072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10073 file.
10074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10075 file.
10076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10077 file.
10078 multiarch llround for PPC64.
10079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10080 multiarch trunc for PPC64.
10081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10082 multiarch truncf for PPC64.
10083
59a3e194
AZ
10084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10085 multiarch implementation.
10086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10087 file.
10088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10089 file.
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10091 file.
10092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10093 file.
10094 multiarch llround for PPC64.
10095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10096 multiarch round for PPC64.
10097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10098 multiarch roundf for PPC64.
10099
357fd3b4
AZ
10100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10101 multiarch implementation.
10102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10103 file.
10104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10105 file.
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10107 file.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10109 file.
10110 multiarch llround for PPC64.
10111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10112 multiarch floor for PPC64.
10113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10114 multiarch floorf for PPC64.
10115
96770f12
AZ
10116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10117 multiarch implementation.
10118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10119 file.
10120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10121 file.
10122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10123 file.
10124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10125 file.
10126 multiarch llround for PPC64.
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10128 multiarch ceil for PPC64.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10130 multiarch ceilf for PPC64.
10131
c3627f6e
AZ
10132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10133 multiarch implementation.
10134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10135 file.
10136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10137 file.
10138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10139 file.
10140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10141 multiarch llround for PPC64.
10142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10143 multiarch lround for PPC64.
10144
b2284ad7
AZ
10145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10146 multiarch implementation.
10147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10150 file.
10151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10154 multiarch isnan for PPC64.
10155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10156 multiarch isnanf for PPC64.
10157
69bbc63d
AZ
10158 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10159 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10160 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10161 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10162 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10164
c24517c9
AZ
10165 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10166 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10169
a52374e8
AZ
10170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10171 multiarch implementations.
10172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10173 (__libc_ifunc_impl_list): Likewise.
10174 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10175 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10176 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10177 multiarch stpcpy for PPC64.
10178
7f5ec113
AZ
10179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10180 multiarch implementations.
10181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10182 (__libc_ifunc_impl_list): Likewise.
10183 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10184 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10185 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10186 multiarch strcpy for PPC64.
10187
e28bcd42
AZ
10188 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10189 redefine function name.
10190 (_wordcopy_fwd_dest_aligned): Likewise.
10191 (_wordcopy_bwd_aligned): Likewise.
10192 (_wordcopy_bwd_dest_aligned): Likewise.
10193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10194 multiarch implementations.
10195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10196 (__libc_ifunc_impl_list): Likewise.
10197 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10198 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10199 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10200 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10201 multiarch wcscpy for PPC64.
10202
92cacfce
AZ
10203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10204 multiarch implementations.
10205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10206 (__libc_ifunc_impl_list): Likewise.
10207 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10208 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10209 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10210 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10211 multiarch wcscpy for PPC64.
10212
7b714620
AZ
10213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10214 multiarch implementations.
10215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10216 (__libc_ifunc_impl_list): Likewise.
10217 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10218 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10219 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10220 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10221 multiarch wcsrchr for PPC64.
10222
16fd2ae3
AZ
10223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10224 multiarch implementations.
10225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10226 (__libc_ifunc_impl_list): Likewise.
10227 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10228 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10229 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10230 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10231 multiarch wcschr for PPC64.
10232
9ee2969b
AZ
10233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10234 multiarch implementations.
10235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10236 (__libc_ifunc_impl_list): Likewise.
10237 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10238 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10239 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10240 multiarch strchrnul for PPC64.
10241
372dc060
AZ
10242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10243 implementations.
10244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10245 (__libc_ifunc_impl_list): Likewise.
10246 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10247 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10248 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10249 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10250 strchr for PPC64.
10251
24c2c3b9
AZ
10252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10253 implementations.
10254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10255 (__libc_ifunc_impl_list): Likewise.
10256 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10257 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10258 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10259 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10260 strncmp for PPC64.
10261
1c92d9a0
AZ
10262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10263 multiarch implementations.
10264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10265 (__libc_ifunc_impl_list): Likewise.
10266 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10267 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10268 strncasecmp for PPC64.
10269 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10270 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10271 multiarch strncasecmp_l for PPC64.
10272
17de3ee3
AZ
10273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10274 multiarch implementations.
10275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10276 (__libc_ifunc_impl_list): Likewise.
10277 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10278 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10279 multiarch strcasecmp for PPC64.
10280 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10281 file.
10282 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10283 multiarch strcasecmp_l for PPC64.
10284
62982bf9
AZ
10285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10286 implementations.
10287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10288 (__libc_ifunc_impl_list): Likewise.
10289 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10290 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10291 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10292 strnlen for PPC64.
10293
a65f4904
AZ
10294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10295 implementations.
10296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10297 (__libc_ifunc_impl_list): Likewise.
10298 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10299 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10300 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10301 strlen for PPC64.
10302
1fd005ad
AZ
10303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10304 implementations.
10305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10306 (__libc_ifunc_impl_list): Likewise.
10307 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10308 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10309 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10310 rawmemrchr for PPC64.
10311
cd05ba91
AZ
10312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10313 implementation.
10314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10315 (__libc_ifunc_impl_list): Likewise.
10316 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10317 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10318 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10319 memrchr for PPC64.
10320
870f8676
AZ
10321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10322 implementation.
10323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10324 (__libc_ifunc_impl_list): Likewise.
10325 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10326 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10327 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10328 memchr for PPC64.
10329
f00be62b
AZ
10330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10331 implementation.
10332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10333 (__libc_ifunc_impl_list): Likewise.
10334 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10335 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10336 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10337 mempcpy for PPC64.
10338
8a29a3d0
AZ
10339 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10340 avoid cretion of __bzero symbol.
10341 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10342 Likewise.
10343 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10344 Likewise.
10345 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10346 Likewise.
10347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10348 multiarch implementations.
10349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10350 (__libc_ifunc_impl_list): Likewise.
10351 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10352 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10353 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10354 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10355 bzero for PPC32.
10356 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10357 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10358 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10359 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10360 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10361 memset for PPC64.
10362 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10363
07253fcf
AZ
10364 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10366 implementations.
10367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10368 (__libc_ifunc_impl_list): Likewise.
10369 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10370 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10371 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10372 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10373 memcmp for PPC64.
10374
b5beafbc
AZ
10375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10376 multiarch for POWER/PPC64.
10377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10378 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10379 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10380 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10381 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10382 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10383 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10384 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10385 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10386 memcpy for PPC64.
10387
5e6a4d4b
AZ
10388 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10389 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10390 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10391 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10392 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10393 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10394 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10395 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10396 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10397 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10398 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10399 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10400 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10401 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10402 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10410
ddfab6dc
KK
104112013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10412
10413 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10414
19b5525e
SP
104152013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10416
10417 * benchtests/Makefile (bench): Add exp2 and log2.
10418 (LDLIBS-bench-exp2): Add -lm.
10419 (LDLIBS-bench-log2): Likewise.
10420 * benchtests/exp2-inputs: New inputs file.
10421 * benchtests/log2-inputs: New inputs file.
10422 * benchtests/log-inputs: Add new inputs.
10423 * benchtests/tan-inputs: Likewise.
10424
196f7f5d
SP
104252013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10426
7a74607f
SP
10427 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10428 definition...
57f41c40
AS
10429 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10430 (csloww2): ... from here.
7a74607f 10431
196f7f5d
SP
10432 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10433 instead of structures.
10434 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10435 (POLYNOMIAL): Likewise.
10436 (TAYLOR_SLOW): Likewise.
10437 (__sin): Likewise.
10438 (__cos): Likewise.
10439 (slow1): Likewise.
10440 (slow2): Likewise.
10441 (sloww): Likewise.
10442 (sloww1); Likewise.
10443 (sloww2): Likewise.
10444 (bsloww1): Likewise.
10445 (bsloww2): Likewise.
10446 (cslow2): Likewise.
10447 (csloww): Likewise.
10448 (csloww1): Likewise.
10449 (csloww2): Likewise.
10450
0dfa665c
OB
104512013-12-10 Ondřej Bílka <neleai@seznam.cz>
10452
10453 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
10454 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10455 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
10456 * malloc/hooks.c (realloc_check): Likewise.
10457
5782a80f
OB
10458 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10459 * malloc/arena.c: Remove PER_THREAD conditional.
10460 [!PER_THREAD]: Remove code.
10461 (ptmalloc_unlock_all2): Likewise.
10462 (ptmalloc_init): Likewise.
10463 (_int_new_arena): Likewise.
10464 (arena_get2): Likewise.
10465 * malloc/hooks.c (__malloc_get_state): Likewise.
10466 (__malloc_set_state): Likewise.
10467 * malloc/malloc.c: Likewise.
10468 (struct malloc_state): Likewise.
10469 (struct malloc_par): Likewise.
10470 (__libc_realloc): Likewise.
10471 (__libc_mallopt): Likewise.
10472
aeb95445
AZ
104732013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10474
10475 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10476
e8349efd
OB
104772013-12-09 Ondřej Bílka <neleai@seznam.cz>
10478
10479 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10480 macro to a function. Check for zero perturb_byte.
10481 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10482
f3eeb3fc 10483 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
10484 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10485 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
10486 force_reg by atomic_forced_read.
10487 * malloc/arena.c (ptmalloc_init): Likewise.
10488 * malloc/hooks.c (top_check): Likewise.
10489
be2f9009
AZ
104902013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10491
10492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10493
e7b914bd
MT
104942013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10495
10496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10497
9f0be4f8
JM
104982013-12-08 Joseph Myers <joseph@codesourcery.com>
10499
10500 * math/auto-libm-test-in: Add tests of lgamma.
10501 * math/auto-libm-test-out: Regenerated.
10502 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10503 (M_LOG_2_SQRT_PIl): Likewise.
10504 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10505 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10506 mpfr_f_f1.
10507 (func_calc_desc): Add mpfr_f_f1 union field.
10508 (ARGS1): New macro.
10509 (ARGS2): Likewise.
10510 (ARGS3): Likewise.
10511 (ARGS4): Likewise.
10512 (RET1): Likewise.
10513 (RET2): Likewise.
10514 (CALC): Likewise.
10515 (FUNC): Likewise.
10516 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10517 (test_functions): Add lgamma.
10518 (calc_generic_results): Handle mpfr_f_f1.
10519 * sysdeps/i386/fpu/libm-test-ulps: Update.
10520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10521
24eeafdb
AZ
105222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10523
10524 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10525 __mpn_add_n for PowerPC64/POWER7.
10526 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10527 __mpn_sub_n for PowerPC64/POWER7.
10528
4a2c0fd4
AZ
10529 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10530 __mpn_addmul_1 for PowerPC64.
10531 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10532 __mpn_submul_1 for PowerPC64.
10533 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10534 for PowerPC64.
10535 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10536 for PowerPC64.
10537
4b5b548c
FS
105382013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10539
10540 [BZ #15089]
10541 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10542
0a3ac0aa
AZ
105432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10544
10545 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10546
ccdc8438
AZ
10547 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10548 add multiarch folders.
10549 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10550 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10551 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10552 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10553 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10554 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10555 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10556 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10557 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10558 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10559 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10566
2e973d99
AZ
10567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10568 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10570 New file.
10571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10572 New file.
10573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10574 multiarch __ieee754_hypot for PowerPC32.
10575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10576 New file.
10577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10578 New file.
10579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10580 multiarch __ieee754_hypotf for PowerPC32.
10581
2d9470b2
AZ
10582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10583 long_double_symbol only if __logbl is defined.
10584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10585 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10587 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10589 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10590 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10591 path for implementation.
10592 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10595 logb, and logbl multiarch implementations for PowerPC32.
10596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10597 file.
10598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10599 file.
10600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10601 multiarch logb for PowerPC32.
10602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10603 file.
10604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10605 file.
10606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10607 multiarch logbf for PowerPC32.
10608 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10610 file.
10611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10612 multiarch logbl implementation for PowerPC32.
10613
5212ffce
AZ
10614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10615 and modff multiarch implementations.
10616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10617 New file.
10618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10619 New file.
10620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10621 multiarch modf for PowerPC32.
10622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10623 New file.
10624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10625 New file.
10626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10627 multiarch modff for PowerPC32.
10628
79dccf31
AZ
10629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10630 and lrintf multiarch implementations.
10631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10632 New file.
10633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10634 New file.
10635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10636 multiarch lrint for PowerPC32.
10637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10638 file: multiarch lrintf for PowerPC32.
10639
deb66480
AZ
10640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10641 and lroundf multiarch implementations.
10642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10643 New file.
10644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10645 New file.
10646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10647 New file.
10648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10649 multiarch lround for PowerPC32.
10650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10651 file: multiarch lroundf for PowerPC32.
10652
264b036b
AZ
10653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10654 copysign and copysignf multiarch implementations.
10655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10656 New file.
10657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10658 New file.
10659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10660 file: multiarch copysign for PowerPC32.
10661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10662 file: multiarch copysignf for PowerPC32.
10663
d47db6c9
AZ
10664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10665 and truncf multiarch implementations.
10666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10667 New file.
10668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10669 file.
10670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10671 multiarch trunc for PowerPC32.
10672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10673 New file.
10674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10675 New file.
10676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10677 multiarch truncf for PowerPC32.
10678
ddb60b5a
AZ
10679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10680 and roundf multiarch implementations.
10681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10682 New file.
10683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10684 file.
10685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10686 multiarch round for PowerPC32.
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10688 New file.
10689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10690 New file.
10691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10692 multiarch roundf for PowerPC32.
10693
bedcf49b
AZ
10694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10695 and floorf multiarch implementations.
10696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10697 New file.
10698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10699 file.
10700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10701 multiarch floor for PowerPC32.
10702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10703 New file.
10704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10705 New file.
10706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10707 multiarch floorf for PowerPC32.
10708
35ae5b40
AZ
10709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10710 and ceilf multiarch implementations.
10711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10712 New file.
10713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10714 file.
10715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10716 multiarch ceil for PowerPC32.
10717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10718 New file.
10719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10720 file.
10721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10722 multiarch ceilf for PowerPC32.
10723
ae1a4cd9
AZ
10724 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10725 is defined.
10726 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10727 FINITEF is defined.
10728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10729 and finitef multiarch implementations.
10730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10731 New file.
10732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10733 file.
10734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10735 multiarch finite for PowerPC32.
10736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10737 New file.
10738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10739 file: multiarch finitef for PowerPC32.
10740
64fffd65
AZ
10741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10742 and isinff multiarch implementations.
10743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10744 file.
10745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10746 file.
10747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10748 multiarch isinf for PowerPC32.
10749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10750 New file.
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10752 multiarch isinff for PowerPC32.
10753
8e4e7ba2
AZ
10754 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10755 alias when __isnan is defined.
10756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10757 and isnanf multiarch implementations.
10758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10759 file.
10760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10761 file.
10762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10763 file.
10764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10765 file.
10766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10767 multiarch isnan for PowerPC32.
10768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10769 New file.
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10771 New file.
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10773 multiarch isnanf for PowerPC32.
10774
ddba588e
AZ
10775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10776 and sqrtf multiarch implementations.
10777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10778 file.
10779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10780 file.
10781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10782 multiarch sqrt for PowerPC32.
10783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10784 file.
10785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10786 file.
10787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10788 multiarch sqrtf for PowerPC32.
10789
0f96a2f0
AZ
10790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10791 and llroundf multiarch implementations.
10792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10793 New file.
10794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10795 New file.
10796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10797 New file.
10798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10799 file: multiarch llround for PowerPC32.
10800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10801 file: multiarch llroundf for PowerPC32.
10802
c9b5d79e
AZ
10803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10804 multiarch PowerPC32 fpu implementations.
10805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10806 New file.
10807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10808 New file.
10809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10810 multiarch llrint for PowerPC32.
10811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10812 New file.
10813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10814 New file.
10815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10816 file.
10817
9cbb3aab
AZ
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10819
ea5a72f8
AZ
10820 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10821 file.
10822 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10823 file.
10824 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10825 file.
10826 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10827 multiarch wordcopy for PPC32.
10828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10829 wordcopy objects.
10830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10831 (__libc_ifunc_impl_list): Likewise.
10832 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10833 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10834 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10835 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10836 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10837 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10838
93be09e7
AZ
10839 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10841 file.
10842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10843 file.
10844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10845 file.
10846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10847 multiarch wcscpy for PPC32.
10848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10849 multiarch objects.
10850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10851 (__libc_ifunc_impl_list): Likewise.
10852 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10853 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10854 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10855 sysdeps/powerpc/power6/wcscpy.c.
10856
bb04e529
AZ
10857 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10859 file.
10860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10861 file.
10862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10863 file.
10864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10865 multiarch wcsrchr for PPC32.
10866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10867 multiarch objects.
10868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10869 (__libc_ifunc_impl_list): Likewise.
10870 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10871 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10872 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10873 sysdeps/powerpc/power6/wcsrchr.c.
10874
05b5cd1c
AZ
10875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10876 file.
10877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10878 file.
10879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10880 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10881 multiarch wcschr for PPc32.
10882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10883 multiarch objects.
10884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10885 (__libc_ifunc_impl_list): Likewise.
10886 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10887 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10888 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10889 sysdeps/powerpc/power6/wcschr.c.
10890
ba964147
AZ
10891 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10892 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10893 file.
10894 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10895 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10896 file: multiarch strchr for PPC32.
10897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10898 multiarch objects.
10899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10900 (__libc_ifunc_impl_list): Likewise.
10901
31c81aaa
AZ
10902 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10903 name.
10904 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10905 file.
10906 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10907 file.
10908 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10909 multiarch strchrnul for PPC32.
10910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10911 multiarch objects.
10912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10913 (__libc_ifunc_impl_list): Likewise.
10914
0d0607d9
AZ
10915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10916 file.
10917 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10918 multiarch strncasecmp for PPC32.
10919 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10920 file.
10921 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10922 multiarch strncasecmp_l for PPC32.
10923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10924 strncasecmp multiarch objects.
10925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10926 (__libc_ifunc_impl_list): Likewise.
10927
4dfd5c86
AZ
10928 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10929 file.
10930 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10931 multiarch strncasecmp for PPC32.
10932 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10933 New file.
10934 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10935 multiarch strcasecmp_l for PPC32.
10936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10937 multiarch objects.
10938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10939 (__libc_ifunc_impl_list): Likewise.
10940
a19e01a3
AZ
10941 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10942 file.
10943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10944 file.
10945 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10946 multiarch strncmp for PPC32.
10947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10948 multiarch objects.
10949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10950 (__libc_ifunc_impl_list): Likewise.
10951
ae9cf7a2
AZ
10952 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10953 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10954 file.
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10956 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10958 multiarch objects.
10959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10960 (__libc_ifunc_impl_list): Likewise.
10961
3148bb7d
AZ
10962 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10963 file.
10964 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10965 file.
10966 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10968 multiarch objects.
10969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10970 (__libc_ifunc_impl_list): Likewise.
10971
7af8b946
AZ
10972 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10973 file.
10974 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10975 file.
10976 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10977 multiarch rawmemchr for PPC32.
10978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10979 multiarch objects.
10980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10981 (__libc_ifunc_impl_list): Likewise.
10982
03a6aa6a
AZ
10983 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10984 file.
10985 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10986 file.
10987 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10988 file: memrchr multiarch for PPC32.
10989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10990 multiarch objects.
10991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10992 (__libc_ifunc_impl_list): Likewise.
10993
1c62e6d9
AZ
10994 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10996 file.
10997 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10998 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10999 multiarch memchr for PPC32.
11000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11001 multiarch objects.
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11003 (__libc_ifunc_impl_list): Likewise.
11004
87da8bdb
AZ
11005 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11006 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11007 file.
11008 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11009 file.
11010 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11011 file: multiarch mempcpy for PPC32.
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11013 multiarch objects.
11014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11015 (__libc_ifunc_impl_list): Likewise.
11016
20ed4714
AZ
11017 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11018 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11019 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11021 multiarch bzero for PPC32.
11022 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11023 file.
11024 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11025 file.
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11027 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11028 file: multiarch memset for PPC32.
11029 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11031 memset multiarch objects.
11032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11033 (__libc_ifunc_impl_list): Likewise.
11034
ab3e3a46
AZ
11035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11036 file.
11037 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11039 memcmp for PPC32.
11040 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11042 multiarch objects.
11043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11044 (__libc_ifunc_impl_list): Likewise.
11045
930de6f0
AZ
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11048 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11049 file.
11050 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11051 file.
11052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11053 file.
11054 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11055 multiarch memcpy for PPC32.
11056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11057 multiarch objects.
11058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11059 (__libc_ifunc_impl_list): Likewise.
11060
4c628e00
AZ
11061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11062 support multiarch for POWER/PPC32.
11063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11064 Likewise.
11065 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11067 Implies file to make multiarch folder appers before the fpu and
11068 default folder for power4 configuration.
11069
f4479220
SP
110702013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11071
11072 * scripts/bench.pl: Append volatile keyword to type.
11073
8517800f
KK
110742013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11075
11076 * sysdeps/sh/sotruss-lib.c: New file.
11077 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11078
180138f1
AZ
110792013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11080
11081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11082
bbf37bdc
JM
110832013-12-05 Joseph Myers <joseph@codesourcery.com>
11084
e47cc4e0
JM
11085 [BZ #6810]
11086 * math/w_tgamma.c: Include <errno.h>.
11087 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11088 * math/w_tgammaf.c: Include <errno.h>.
11089 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11090 * math/w_tgammal.c: Include <errno.h>.
11091 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11092 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11093 underflow. Add more tgamma tests.
11094 * math/auto-libm-test-out: Regenerated.
11095 * sysdeps/i386/fpu/libm-test-ulps: Update.
11096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11097
bbf37bdc
JM
11098 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11099 sin, sinh, tan, tanh, tgamma, y0 and y1.
11100 * math/auto-libm-test-out: Regenerated.
11101 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11102 (TEST_COND_x86): Likewise.
11103 (M_E2l): Remove macro.
11104 (M_E3l): Likewise.
11105 (M_2_SQRT_PIl): Likewise.
11106 (M_SQRT_PIl): Likewise.
11107 (M_1_DIV_El): Likewise.
11108 (log_test_data): Use AUTO_TESTS_f_f.
11109 (log10_test_data): Likewise.
11110 (log1p_test_data): Likewise.
11111 (log2_test_data): Likewise.
11112 (sin_test_data): Likewise.
11113 (sin_tonearest_test_data): Likewise.
11114 (sin_towardzero_test_data): Likewise.
11115 (sin_downward_test_data): Likewise.
11116 (sin_upward_test_data): Likewise.
11117 (sinh_test_data): Likewise.
11118 (sinh_tonearest_test_data): Likewise.
11119 (sinh_towardzero_test_data): Likewise.
11120 (sinh_downward_test_data): Likewise.
11121 (sinh_upward_test_data): Likewise.
11122 (tan_test_data): Likewise.
11123 (tan_tonearest_test_data): Likewise.
11124 (tan_towardzero_test_data): Likewise.
11125 (tan_downward_test_data): Likewise.
11126 (tan_upward_test_data): Likewise.
11127 (tanh_test_data): Likewise.
11128 (tgamma_test_data): Likewise.
11129 (y0_test_data): Likewise.
11130 (y1_test_data): Likewise.
11131 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11132 (special_real_inputs): Add pi/4.
11133 * sysdeps/i386/fpu/libm-test-ulps: Update.
11134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11135
eb5ad6b9
AZ
111362013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11137
11138 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11139 "longjmp_target" static probes.
11140 (__longjmp): Rename to __longjmp_symbol.
11141 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11142 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11143 on which longjmp to generate.
11144 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11145 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11146 probe.
11147 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11148 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11149 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11150 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11151 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11152 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11154 __longjmp_symbol based on which __longjmp to generate.
11155 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11156 probe.
11157 (setjmp): Rename to setjmp_symbol.
11158 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11159 (_setjmp): Rename to _setjmp_symbol.
11160 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11161 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11162 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11163 which setjmp to generate.
11164 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11165 "longjmp_target" static probes.
11166
d136c6dc
SP
111672013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11168
9298ecba
SP
11169 * benchtests/README: Add note about output arguments.
11170 * benchtests/bench-sincos.c: Remove file.
11171 * benchtests/sincos-inputs: New file.
11172 * scripts/bench.pl: Identify output arguments and define
11173 static variables for them.
11174
232983e9
SP
11175 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11176
d136c6dc
SP
11177 [BZ #15941]
11178 * Makefile (INSTALL): Add install-plain.texi as the primary
11179 dependency.
11180 * manual/install-plain.texi: New file.
11181 * manual/install.texi: Include node directive only for
11182 non-plaintext output.
11183
699ff837
JM
111842013-12-04 Joseph Myers <joseph@codesourcery.com>
11185
ab07cea8
JM
11186 * stdlib/longlong.h: Update from GCC.
11187
699ff837
JM
11188 [BZ #6807]
11189 [BZ #15901]
11190 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11191 * math/w_j0f.c (y0f): Likewise.
11192 * math/w_j0l.c (__y0l): Likewise.
11193 * math/w_j1.c (y1): Likewise.
11194 * math/w_j1f.c (y1f): Likewise.
11195 * math/w_j1l.c (__y1l): Likewise
11196 * math/w_jn.c (yn): Likewise.
11197 * math/w_jnf.c (ynf): Likewise.
11198 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11199 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11200 value for Bessel function domain errors outside _SVID_ mode.
11201 Adjust sign of return value for yn (negative integer, 0).
11202 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11203 by zero in return for negative x and set sign appropriately for
11204 negative n.
11205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11206 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11207 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11208 expectations in error cases.
11209 (y1_test_data): Likewise.
11210 (yn_test_data): Likewise.
11211 * sysdeps/i386/fpu/libm-test-ulps: Update.
11212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11213
5b118558
UW
112142013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11215
11216 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11217 "64" to "64-v1". Add "64-v2".
11218 (abi-64-options): Rename to ...
11219 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11220 (abi-64-condition): Rename to ...
11221 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11222 (abi-64-ld-soname): Rename to ...
11223 (abi-64-v1-ld-soname): ... this.
11224 (abi-64-v2-options): Define.
11225 (abi-64-v2-condition): Likewise.
11226 (abi-64-v2-ld-soname): Likewise.
11227 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11228 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11232
61cd8fe4
UW
112332013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11234 Alan Modra <amodra@gmail.com>
11235
11236 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11237 New versions for use with the ELFv2 ABI.
11238 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11239 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11240 declaration.
11241 (struct La_ppc64v2_retval): Likewise.
11242 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11243 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11244 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11245 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11246 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11247 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11248 Do not save or restore CR.
11249 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11250 (_dl_profile_resolve): Do no save or restore CR. Support extended
11251 return values for ELFv2 ABI. Fix location of FPR return registers.
11252 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11253 updated values for _CALL_ELF == 2.
11254 (La_regs, La_retval, int_retval): Likewise.
11255
8b8a692c
UW
112562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11257
11258 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11259 (FRAME_MIN_SIZE_PARM): Likewise.
11260 (FRAME_BACKCHAIN): Likewise.
11261 (FRAME_CR_SAVE): Likewise.
11262 (FRAME_LR_SAVE): Likewise.
11263 (FRAME_TOC_SAVE): Likewise.
11264 (FRAME_PARM_SAVE): Likewise.
11265 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11266 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11267 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11268 (call_mcount_parm_offset): New macro.
11269 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11270 (PROF): Use symbolic stack frame offsets.
11271 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11272 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11273 Redefine in terms of FRAME_MIN_SIZE.
11274 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11275 (_dl_profile_resolve): Likewise. Update comment.
11276 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11277 symbols stack frame offsets.
11278 (__sigsetjmp): Likewise.
11279 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11280 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11281 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11282 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11283
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11285 (FRAME_BACKCHAIN): Remove.
11286 (FRAME_CR_SAVE): Likewise.
11287 (FRAME_LR_SAVE): Likewise.
11288 (FRAME_COMPILER_DW): Likewise.
11289 (FRAME_LINKER_DW): Likewise.
11290 (FRAME_TOC_SAVE): Likewise.
11291 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
11292 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11293 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11294 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11296 (CHECK_SP): Use symbolic stack frame offsets.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11298 zone" instead of caller's parameter save area for temp storage.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11300 Likewise. Also, use symbolic stack frame offsets.
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11302 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11303 our own stack frame instead of the caller's.
11304 (__socket): Use symbolic stack frame offsets.
11305
122b66de
UW
113062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11307 Alan Modra <amodra@gmail.com>
11308
11309 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11310 Define.
57f41c40
AS
11311 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11312 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
11313 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11314 New function.
11315 (elf_machine_fixup_plt): Call it.
11316 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11317 reloc arguments.
11318 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
11319 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11320 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
11321 r2 before calling target.
11322
696caf1d
UW
113232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11324 Alan Modra <amodra@gmail.com>
11325
11326 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11327 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11328 versions of macros to support ELFv2 ABI.
11329 (LOCALENTRY): New macro.
11330 (ENTRY, EALIGN): Use it.
11331 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11332 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11333 fall through into ENTRY entry point.
11334 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11335 Only define if _CALL_ELF != 2.
11336
11337 (elf_machine_matches_host): Verify ABI version matches.
11338 (RTLD_START): Use LOCALENTRY.
11339 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11340 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11341 (PLT_ENTRY_WORDS): New macro.
11342 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11343 (elf_machine_runtime_setup): Support ELFv2 ABI.
11344 (elf_machine_fixup_plt): Likewise.
11345 (elf_machine_plt_conflict): Likewise.
11346 (resolve_ifunc): Likewise.
11347 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11348 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11349 Likewise.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11351 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11353 (makecontext): Support ELFv2 ABI.
11354 * elf/elf.h (EF_PPC64_ABI): Define.
11355
d31beafa
UW
113562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11357
57f41c40
AS
11358 * sysdeps/powerpc/powerpc64/sysdep.h
11359 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11360 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11361 (ENTRY) [ASSEMBLER]: ... but instead here ...
11362 (EALIGN) [ASSEMBLER]: ... and here.
11363 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11364 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11365 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
11366 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11367 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
11368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11369 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
11370 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11372 Use PPC64_LOAD_FUNCPTR.
11373
b525166b
UW
11374 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11375
7ec07d9a
AM
113762013-12-04 Alan Modra <amodra@gmail.com>
11377
11378 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11379 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11380 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11381 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11382
11383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11384 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11385 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11386 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11387 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11388 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11389
5162e7dd
UW
113902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11391
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11393 (__makecontext): Fix incorrect CFI when backtracing out of
11394 context created via makecontext.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11396 (__setcontext): Fix incorrect CFI during switch to new context.
11397 (__novec_setcontext): Likewise.
11398
19e3372b
OB
113992013-12-04 Ondřej Bílka <neleai@seznam.cz>
11400
11401 [BZ #4772]
11402 * time/strptime_l.c (__strptime_internal): Allow modifiers
11403 in strptime.
11404 * time/tst-strptime.c (day_tests): Add testcase.
11405
ecaf142d
SP
114062013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11407
11408 * scripts/bench.pl: Skip over blank lines.
11409
fbf964ae
PE
114102013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11411
11412 [BZ #926]
11413 * manual/time.texi (Calendar Time): Clarify what timezone functions
11414 use.
11415
fa60a674
AZ
114162013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11417
11418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11419
d674f0ef
OB
114202013-12-04 Ondřej Bílka <neleai@seznam.cz>
11421
11422 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11423 implementation.
11424 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11425 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11426 * debug/memset_chk.c (__memset_chk): Likewise.
11427 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11428 * debug/strncpy_chk.c: Likewise.
11429
17dea188
JM
114302013-12-03 Joseph Myers <joseph@codesourcery.com>
11431
749008ff
JM
11432 [BZ #15268]
11433 [BZ #15425]
11434 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11435 (__ieee754_exp): For possibly underflowing results, check size of
11436 result and force underflow exception if required.
11437 * math/auto-libm-test-in: Add more tests of exp.
11438 * math/auto-libm-test-out: Regenerated.
11439 * sysdeps/i386/fpu/libm-test-ulps: Update.
11440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11441
17dea188
JM
11442 [BZ #16283]
11443 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11444 * math/w_exp2f.c (__exp2f): Likewise.
11445 * math/w_exp2l.c (__exp2l): Likewise.
11446 * math/auto-libm-test-in: Do not allow missing errno on exp2
11447 underflow.
11448 * math/auto-libm-test-out: Regenerated.
11449
b20de2c3
OB
114502013-12-03 Ondřej Bílka <neleai@seznam.cz>
11451
11452 [BZ #16274]
11453 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11454 handle filename validation.
11455 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11456 (do_open): Delete.
11457
d8e2dbe3
JM
114582013-12-03 Joseph Myers <joseph@codesourcery.com>
11459
34e16df5
JM
11460 [BZ #6786]
11461 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11462 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11463 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11464 <float.h>.
11465 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11466 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11467 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11468 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11469 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11470 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11471 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11472 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11473 Add more erfc tests.
11474 * math/auto-libm-test-out: Regenerated.
11475 * sysdeps/i386/fpu/libm-test-ulps: Update.
11476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11477
d8e2dbe3
JM
11478 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11479 exp2, expm1, j0 and j1.
11480 * math/auto-libm-test-out: Regenerated.
11481 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11482 (erfc_test_data): Likewise.
11483 (exp_test_data): Likewise.
11484 (exp_tonearest_test_data): Likewise.
11485 (exp_towardzero_test_data): Likewise.
11486 (exp_downward_test_data): Likewise.
11487 (exp_upward_test_data): Likewise.
11488 (exp10_test_data): Likewise.
11489 (exp2_test_data): Likewise.
11490 (expm1_test_data): Likewise.
11491 (j0_test_data): Likewise.
11492 (j1_test_data): Likewise.
11493 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11494 (input_flag_type): Add flag_xfail_rounding.
11495 (input_flags): Add xfail-rounding.
11496 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11497 (output_for_one_input_case): Handle flag_xfail_rounding.
11498 * sysdeps/i386/fpu/libm-test-ulps: Update.
11499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11500
18d14251
AJ
115012013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11502
3d2e6075 11503 [BZ #16289]
18d14251
AJ
11504 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11505 division by 0.
11506
520d437b
SP
115072013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11508
11509 [BZ #16195]
11510 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11511 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11512 (STAP_PROBE0): New macro.
11513 (STAP_PROBE1): Likewise.
11514 (STAP_PROBE2): Likewise.
11515 (STAP_PROBE3): Likewise.
11516 (STAP_PROBE4): Likewise.
11517
416e0145
OB
115182013-12-02 Ondřej Bílka <neleai@seznam.cz>
11519
11520 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11521
9d17796a
SE
115222013-12-02 Steve Ellcey <sellcey@mips.com>
11523
11524 * benchtests/Makefile (bench): Add sqrt.
11525 (LDLIBS-bench-sqrt): New.
11526 * benchtests/sqrt-input: New.
11527
f524d6a8
PS
115282013-12-02 Pavel Simerda <psimerda@redhat.com>
11529
639a0ef8
PS
11530 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11531 (GAIH_EAI): Likewise.
11532 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11533 (gaih_inet): Likewise.
11534 (getaddrinfo): Don't use GAIH_EAI.
11535
f524d6a8
PS
11536 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11537 (struct gaih): Remove definition.
11538
df3aedaf
SP
115392013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11540
11541 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11542 Use HERRNOP directly.
11543
1ab19dec
AZ
115442013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11545
b42ad38d 11546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 11547
176b0c79
JM
115482013-11-30 Joseph Myers <joseph@codesourcery.com>
11549
11550 * math/gen-auto-libm-tests.c (test_functions): Add more
11551 single-argument functions.
11552 (special_fill_pi_2): New function.
11553 (special_fill_minus_pi_2): Likewise.
11554 (special_fill_pi_6): Likewise.
11555 (special_fill_minus_pi_6): Likewise.
11556 (special_fill_pi_3): Likewise.
11557 (special_fill_2pi_3): Likewise.
11558 (special_fill_e): Likewise.
11559 (special_fill_1_e): Likewise.
11560 (special_fill_e_minus_1): Likewise.
11561 (special_real_inputs): Add more special inputs.
11562 (output_for_one_input_case): Do not require ERANGE on underflow to
11563 zero if round-to-nearest result does not underflow to zero, unless
11564 exact results required.
11565 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11566 atan, atanh, cbrt, cos and cosh.
11567 * math/auto-libm-test-out: Regenerated.
11568 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11569 (acos_tonearest_test_data): Likewise.
11570 (acos_towardzero_test_data): Likewise.
11571 (acos_downward_test_data): Likewise.
11572 (acos_upward_test_data): Likewise.
11573 (acosh_test_data): Likewise.
11574 (asin_test_data): Likewise.
11575 (asin_tonearest_test_data): Likewise.
11576 (asin_towardzero_test_data): Likewise.
11577 (asin_upward_test_data): Likewise.
11578 (asinh_test_data): Likewise.
11579 (atan_test_data): Likewise.
11580 (atanh_test_data): Likewise.
11581 (cbrt_test_data): Likewise.
11582 (cos_test_data): Likewise.
11583 (cos_tonearest_test_data): Likewise.
11584 (cos_towardzero_test_data): Likewise.
11585 (cos_downward_test_data): Likewise.
11586 (cos_upward_test_data): Likewise.
11587 (cosh_test_data): Likewise.
11588 (cosh_tonearest_test_data): Likewise.
11589 (cosh_towardzero_test_data): Likewise.
11590 (cosh_downward_test_data): Likewise.
11591 (cosh_upward_test_data): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11594
ffb536d0
JM
115952013-11-29 Joseph Myers <joseph@codesourcery.com>
11596
2a77a467
JM
11597 [BZ #6787]
11598 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11599 * math/w_exp10f.c (__exp10f): Likewise.
11600 * math/w_exp10l.c (__exp10l): Likewise.
11601 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11602 errno settings in existing tests.
11603
ea3bc4e8
JM
11604 [BZ #14032]
11605 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11606 precision control set to double precision.
11607 * sysdeps/i386/fpu/w_sqrt.c: New file.
11608 * math/auto-libm-test-in: Add more tests.
11609 * math/auto-libm-test-out: Update.
11610
0712c9d8
JM
11611 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11612 (sqrt_test_tonearest): New function.
11613 (sqrt_towardzero_test_data): New variable.
11614 (sqrt_test_towardzero): New function.
11615 (sqrt_downward_test_data): New variable.
11616 (sqrt_test_downward): New function.
11617 (sqrt_upward_test_data): New variable.
11618 (sqrt_test_upward): New function.
11619 (main): Call the new functions.
11620
ffb536d0
JM
11621 * math/gen-auto-libm-tests.c: New file.
11622 * math/auto-libm-test-in: Likewise.
11623 * math/auto-libm-test-out: New generated file.
11624 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11625 variables.
11626 (%beautify): Add generated representations of zero.
11627 (top level): Set $auto_input and call parse_auto_input.
11628 (beautify): Remove trailing "f" from hex float constants.
11629 (parse_args): Handle XFAIL_TEST.
11630 (convert_condition): New function.
11631 (or_value): Likewise.
11632 (or_cond_value): Likewise.
11633 (generate_testfile): Handle AUTO_TESTS_* lines.
11634 (parse_auto_input): New function.
11635 * math/libm-test.inc (XFAIL_TEST): New macro.
11636 (ERRNO_UNCHANGED): Update value.
11637 (ERRNO_EDOM): Likewise.
11638 (ERRNO_ERANGE): Likewise.
11639 (IGNORE_RESULT): Likewise.
11640 (TEST_COND_flt_32): New macro.
11641 (TEST_COND_dbl_64): Likewise.
11642 (TEST_COND_ldbl_96_intel): Likewise.
11643 (TEST_COND_ldbl_96_m68k): Likewise.
11644 (TEST_COND_ldbl_128): Likewise.
11645 (TEST_COND_ldbl_128ibm): Likewise.
11646 (TEST_COND_long32): Likewise.
11647 (TEST_COND_long64): Likewise.
11648 (TEST_COND_before_rounding): Likewise.
11649 (TEST_COND_after_rounding): Likewise.
11650 (enable_test): Handle XFAIL_TEST flag.
11651 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11652 with finite results.
11653 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11654 auto-libm-test-out.
11655
acd98a8e
AK
116562013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11657 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11658
11659 [BZ #16214]
11660 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11661 __tls_get_addr_internal instead of __tls_get_offset in order to
11662 avoid GOT pointer dependency. Make rtld export
11663 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11664 __tls_get_addr since we are a __tls_get_offset platform.
11665 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11666 GOT pointer being set up before.
11667 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11668
3c1c46a6
JM
116692013-11-28 Joseph Myers <joseph@codesourcery.com>
11670
7475aef5
JM
11671 * manual/math.texi (Errors in Math Functions): Document accuracy
11672 goals.
11673
8bca7cd8
JM
11674 [BZ #15004]
11675 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11676 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11679 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11681 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11691
91a1f3fe
JM
11692 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11693 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11694 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11695 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11696 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11697 Likewise.
11698 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11699 Likewise.
11700 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11701 Likewise.
11702 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11703 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11704 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11705 atomic-feupdateenv and flt-rounds.
11706 * sysdeps/powerpc/nofpu/Versions (libc): Add
11707 __atomic_feholdexcept, __atomic_feclearexcept,
11708 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11709 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11710 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11711 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11712 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11713 here.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11715 Update.
11716
c5df7609
JM
11717 * manual/arith.texi (FP Exceptions): Document that exceptions may
11718 not be raised when matherr is used.
11719 (Math Error Reporting): Document overflow in directed rounding
11720 modes. Document that errno may not be set when finite values are
11721 returned on overflow. Document intent to set errno on underflow
11722 only for underflow to zero.
11723
3c1c46a6
JM
11724 [BZ #16271]
11725 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11726 round-to-nearest then adjust result for other rounding modes.
11727 * include/fenv.h (fegetround): Use libm_hidden_proto.
11728 * math/fegetround.c (fegetround): Use libm_hidden_def.
11729 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11730 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11731 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11732 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11733 Likewise.
11734 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11735 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11736 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11737 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11738
5a4c6d53
SP
117392013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11740
11741 [BZ #16077]
11742 * nss/Versions (libnss_files): Add
11743 _nss_files_gethostbyname3_r.
11744 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11745 New function.
11746 (HOST_DB_LOOKUP): Remove macro.
11747 (_nss_files_gethostbyname_r): Implement function without the
11748 HOST_DB_LOOKUP macro.
11749 (_nss_files_gethostbyname2_r): Likewise.
11750
897b98ba
OB
117512013-11-28 Ondřej Bílka <neleai@seznam.cz>
11752
11753 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11754
6f476861
UB
117552013-11-26 Uros Bizjak <ubizjak@gmail.com>
11756
11757 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11758 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11759 warning.
11760
bd12ab55
AZ
117612013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11762
11763 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11764 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11765 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11766 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11767 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11768 __fe_nomask_env_priv and attribute_hidden.
11769 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11770 (libc_feupdateenv_test_ppc): Likewise.
11771 (libc_feresetround_ppc): Likewise.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11773 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11774 compat_symbol macro.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11776 (__fe_nomask_env): Likewise.
11777 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11778
52bb6543
OB
117792013-11-26 Ondřej Bílka <neleai@seznam.cz>
11780
11781 * string/Makefile: Remove ifunc tests.
11782 * string/test-string.h: Define TEST_IFUNC.
11783 * string/test-bcopy-ifunc.c: Remove.
11784 * string/test-bzero-ifunc.c: Likewise.
11785 * string/test-memccpy-ifunc.c: Likewise.
11786 * string/test-memchr-ifunc.c: Likewise.
11787 * string/test-memcmp-ifunc.c: Likewise.
11788 * string/test-memcpy-ifunc.c: Likewise.
11789 * string/test-memmem-ifunc.c: Likewise.
11790 * string/test-memmove-ifunc.c: Likewise.
11791 * string/test-mempcpy-ifunc.c: Likewise.
11792 * string/test-memrchr-ifunc.c: Likewise.
11793 * string/test-memset-ifunc.c: Likewise.
11794 * string/test-rawmemchr-ifunc.c: Likewise.
11795 * string/test-stpcpy-ifunc.c: Likewise.
11796 * string/test-stpncpy-ifunc.c: Likewise.
11797 * string/test-strcasecmp-ifunc.c: Likewise.
11798 * string/test-strcasestr-ifunc.c: Likewise.
11799 * string/test-strcat-ifunc.c: Likewise.
11800 * string/test-strchr-ifunc.c: Likewise.
11801 * string/test-strchrnul-ifunc.c: Likewise.
11802 * string/test-strcmp-ifunc.c: Likewise.
11803 * string/test-strcpy-ifunc.c: Likewise.
11804 * string/test-strcspn-ifunc.c: Likewise.
11805 * string/test-strlen-ifunc.c: Likewise.
11806 * string/test-strncasecmp-ifunc.c: Likewise.
11807 * string/test-strncat-ifunc.c: Likewise.
11808 * string/test-strncmp-ifunc.c: Likewise.
11809 * string/test-strncpy-ifunc.c: Likewise.
11810 * string/test-strnlen-ifunc.c: Likewise.
11811 * string/test-strpbrk-ifunc.c: Likewise.
11812 * string/test-strrchr-ifunc.c: Likewise.
11813 * string/test-strspn-ifunc.c: Likewise.
11814 * string/test-strstr-ifunc.c: Likewise.
11815
ab260039 118162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
11817
11818 * benchtests/Makefile: Remove ifunc tests.
11819 * benchtests/bench-string.h: Define TEST_IFUNC.
11820 * benchtests/bench-bcopy-ifunc.c: Remove.
11821 * benchtests/bench-bzero-ifunc.c: Likewise.
11822 * benchtests/bench-memccpy-ifunc.c: Likewise.
11823 * benchtests/bench-memchr-ifunc.c: Likewise.
11824 * benchtests/bench-memcmp-ifunc.c: Likewise.
11825 * benchtests/bench-memcpy-ifunc.c: Likewise.
11826 * benchtests/bench-memmem-ifunc.c: Likewise.
11827 * benchtests/bench-memmove-ifunc.c: Likewise.
11828 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11829 * benchtests/bench-memrchr-ifunc.c: Likewise.
11830 * benchtests/bench-memset-ifunc.c: Likewise.
11831 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11832 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11833 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11834 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11835 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11836 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11837 * benchtests/bench-strcat-ifunc.c: Likewise.
11838 * benchtests/bench-strchr-ifunc.c: Likewise.
11839 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11840 * benchtests/bench-strcmp-ifunc.c: Likewise.
11841 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11842 * benchtests/bench-strcpy-ifunc.c: Likewise.
11843 * benchtests/bench-strcspn-ifunc.c: Likewise.
11844 * benchtests/bench-strlen-ifunc.c: Likewise.
11845 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11846 * benchtests/bench-strncat-ifunc.c: Likewise.
11847 * benchtests/bench-strncmp-ifunc.c: Likewise.
11848 * benchtests/bench-strncpy-ifunc.c: Likewise.
11849 * benchtests/bench-strnlen-ifunc.c: Likewise.
11850 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11851 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 11852 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
11853 * benchtests/bench-strspn-ifunc.c: Likewise.
11854 * benchtests/bench-strstr-ifunc.c: Likewise.
11855
118562013-11-26 Ondřej Bílka <neleai@seznam.cz>
11857
ab260039
OB
11858 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11859
d1d9eaf4 118602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 11861
d1d9eaf4
OB
11862 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11863 * rt/aio.h: Likewise.
11864 * sysdeps/gnu/bits/utmp.h: Likewise.
11865 * sysdeps/gnu/bits/utmpx.h: Likewise.
11866 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11867 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11868 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11869 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11870 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11871 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11872 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11873 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11874 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11875 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11876 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11877 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11878 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11880 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11881 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11882 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11883 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11884 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11885 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11886 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11887 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11888 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11889 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11890 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11892 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11893 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11894 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11895 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11896 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11897 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11898 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11899 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11900 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11901 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11902 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11903 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11904 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11905 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11906 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11907 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11908
a7624ed9
CD
119092013-11-25 Carlos O'Donell <carlos@redhat.com>
11910
11911 [BZ #16245]
11912 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11913 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11914
63cfe52b
JM
119152013-11-25 Joseph Myers <joseph@codesourcery.com>
11916
11917 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11918 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11919 Likewise.
11920
41e8926a
AZ
119212013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11922
11923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11924 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11925 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11926 (__fesetround): Remove define.
11927 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11928 rounding and exceptions handling.
11929 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11930 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11931 (__fe_nomask_env): Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11933 __fegetround instead of fegetround.
11934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11936
6851bd4d
RM
119372013-11-21 Roland McGrath <roland@hack.frob.com>
11938
070906ff
RM
11939 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11940 it's there.
11941
6851bd4d
RM
11942 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11943
84ae135d
MI
119442013-11-21 Meador Inge <meadori@codesourcery.com>
11945
11946 [BZ #11157]
11947 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11948 (encrypt_r): Likewise.
11949 * malloc/obstack.h (obstack_free): Likewise.
11950 * posix/unistd.h (encrypt): Likewise.
11951
daf75146
GM
119522013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11953
11954 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11955 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11956 DL_CALL_DT_FINI() that call the functions directly.
11957 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11958 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11959 * elf/dl-fini.c: Likewise.
11960
10ad46bc
OB
119612013-11-20 Ondřej Bílka <neleai@seznam.cz>
11962
11963 * malloc/hooks.c (memalign_check): Add alignment rounding.
11964 * malloc/malloc.c (_mid_memalign): New function.
11965 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11966 Implement by calling _mid_memalign.
11967 * manual/probes.texi (Memory Allocation Probes): Remove
11968 memory_valloc_retry and memory_pvalloc_retry.
11969
f3fd2628
SP
119702013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11971
4712799f
SP
11972 * locale/programs/locarchive.c (open_archive): Add const
11973 qualifier to ARCHIVEFNAME and copy default fname to
11974 DEFAULT_FNAME.
11975
0417b20f
SP
11976 [BZ #15601]
11977 * libio/tst-widetext.input: Rename Oriya to Odia.
11978 * locale/iso-639.def: Likewise.
11979
f3fd2628
SP
11980 * manual/probes.texi (Mathematical Function Probes): Add
11981 documentation for sin, cos, asin and acos probes.
11982 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11983 (__sin32): Add slowasin probe.
11984 (__cos32): Add slowacos probe.
11985 (__mpsin): Add slowsin probe.
11986 (__mpcos): Add slowcos probe.
11987
73c1ce4f
JM
119882013-11-19 Joseph Myers <joseph@codesourcery.com>
11989
11990 [BZ #15483]
11991 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11992 thread-local __sim_exceptions_thread and global
11993 __sim_exceptions_global.
11994 (__sim_disabled_exceptions): Change to thread-local
11995 __sim_disabled_exceptions_thread and global
11996 __sim_disabled_exceptions_global.
11997 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11998 and global __sim_round_mode_global.
11999 (__simulate_exceptions): Use thread-local floating-point state and
12000 set global state from it as needed.
12001 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12002 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12003 __sim_round_mode_thread.
12004 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12005 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12006 and global __sim_exceptions_global.
12007 (__sim_disabled_exceptions): Change to thread-local
12008 __sim_disabled_exceptions_thread and global
12009 __sim_disabled_exceptions_global.
12010 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12011 and global __sim_round_mode_global.
12012 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12013 (SIM_SET_GLOBAL): Likewise.
12014 * sysdeps/powerpc/soft-fp/sfp-machine.h
12015 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12016 __sim_round_mode_thread.
12017 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12018 __sim_disabled_exceptions_thread.
12019 (__sim_exceptions): Change to __sim_exceptions_thread.
12020 (__sim_disabled_exceptions): Change to
12021 __sim_disabled_exceptions_thread.
12022 (__sim_round_mode): Change to __sim_round_mode_thread.
12023 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12024 thread-local floating-point state and set global state from it as
12025 needed.
12026 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12027 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12028 (__sim_disabled_exceptions): Remove extern declaration.
12029 (feenableexcept): Use thread-local floating-point state and set
12030 global state from it as needed.
12031 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12032 extern declaration.
12033 (__sim_disabled_exceptions): Likewise.
12034 (__sim_round_mode): Likewise.
12035 (__fegetenv): Use thread-local floating-point state.
12036 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12037 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12038 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12039 floating-point state and set global state from it as needed.
12040 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12041 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12042 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12043 Likewise.
12044 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12045 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12046 Likewise.
12047 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12048 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12049 Use __sim_round_mode_thread.
12050 * math/test-fenv-tls.c: New file.
12051 * math/Makefile (tests): Add test-fenv-tls.
12052 ($(objpfx)test-fenv-tls): Depend on
12053 $(common-objpfx)nptl/libpthread.so.
12054
b5449b12
AS
120552013-11-19 Andreas Schwab <schwab@suse.de>
12056
12057 * locale/programs/locale.c (show_info): Decode wordarray elements.
12058 * locale/categories.def (LC_MONETARY): Add element for
12059 _NL_MONETARY_CRNCYSTR.
12060 * locale/C-monetary.c (conversion_rate): New variable.
12061 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12062 element.
12063
e186536b
CM
120642013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12065
12066 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12067 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12068
5c349950
PP
120692013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12070
12071 * elf/Makefile (tst-auxv): New test.
12072 * elf/tst-auxv.c: New
12073 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12074
699df45b
JM
120752013-11-18 Joseph Myers <joseph@codesourcery.com>
12076
12077 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12078 (hidden_proto): Caller changed.
12079 (hidden_tls_proto): New macro.
12080 (libc_hidden_tls_proto): Likewise.
12081 (rtld_hidden_tls_proto): Likewise.
12082 (libm_hidden_tls_proto): Likewise.
12083 (libresolv_hidden_tls_proto): Likewise.
12084 (librt_hidden_tls_proto): Likewise.
12085 (libdl_hidden_tls_proto): Likewise.
12086 (libnss_files_hidden_tls_proto): Likewise.
12087 (libnsl_hidden_tls_proto): Likewise.
12088 (libnss_nisplus_hidden_tls_proto): Likewise.
12089 (libutil_hidden_tls_proto): Likewise.
12090
b7589107
OB
120912013-11-18 Ondřej Bílka <neleai@seznam.cz>
12092
12093 [BZ #10253]
12094 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12095 (decompose_rpath): Defer expansion to fillin_rpath.
12096 (_dl_init_paths): Pass linkmap to fillin_rpath.
12097
250c23bd
RS
120982013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12099
12100 * benchtests/Makefile: Add strsep.
12101 * benchtests/bench-strsep.c: New file: strsep benchtest.
12102 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12103
a7931fcf
AS
121042013-11-18 Andreas Schwab <schwab@suse.de>
12105
12106 * locale/programs/locale.c (show_info) [case byte]: Check for
12107 '\377' instead of '\177'.
12108 * locale/C-monetary.c (not_available): Always use "\377".
12109 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12110 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12111 detect unavailable sign_posn locale elements.
12112 * locale/localeconv.c (__localeconv): For grouping and
12113 mon_grouping handle "\177" and "\377" like no grouping.
12114 (INT_ELEM): New macro. Use it to set all numeric members.
12115 * locale/programs/ld-monetary.c (monetary_read)
12116 <tok_mon_grouping>: Normalize single -1 to the empty string.
12117 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12118 Likewise.
12119
728dab0e
OB
121202013-11-07 Ondřej Bílka <neleai@seznam.cz>
12121
12122 [BZ #16055]
12123 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12124 when we match (nil).
12125 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12126
66294491
JM
121272013-11-16 Joseph Myers <joseph@codesourcery.com>
12128
ce665817
JM
12129 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12130 (NO_TEST_INLINE): Update value.
12131 (ERRNO_UNCHANGED): Likewise.
12132 (ERRNO_EDOM): Likewise.
12133 (ERRNO_ERANGE): Likewise.
12134 (IGNORE_RESULT): Likewise.
12135 (check_float_internal): Check signs of NaN results if
12136 TEST_NAN_SIGN used.
12137 (check_complex): Pass TEST_NAN_SIGN flag through to second
12138 check_float_internal call.
12139 (copysign_test_data): Add tests with quiet NaNs as second
12140 argument. Use TEST_NAN_SIGN.
12141 (fabs_test_data): Add test of negative quiet NaN argument. Use
12142 TEST_NAN_SIGN.
12143 (signbit_test_data): Add tests of quiet NaN argument.
12144 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12145
ee1466a9
JM
12146 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12147 $ignore_result.
12148 (parse_args): Handle function results specified as IGNORE.
12149 * math/libm-test.inc (IGNORE_RESULT): New macro.
12150 (check_float_internal): Do not check numerical result if flag
12151 IGNORE_RESULT set.
12152 (check_complex): Pass through IGNORE_RESULT to second
12153 check_float_internal call.
12154 (check_int): Do not check numerical result if flag IGNORE_RESULT
12155 set.
12156 (check_long): Likewise.
12157 (check_bool): Likewise.
12158 (check_longlong): Likewise.
12159 (lrint_test_data): Add tests of infinite and NaN arguments.
12160 (lrint_tonearest_test_data): Likewise.
12161 (lrint_towardzero_test_data): Likewise.
12162 (lrint_downward_test_data): Likewise.
12163 (lrint_upward_test_data): Likewise.
12164 (llrint_test_data): Likewise.
12165 (llrint_tonearest_test_data): Likewise.
12166 (llrint_towardzero_test_data): Likewise.
12167 (llrint_downward_test_data): Likewise.
12168 (llrint_upward_test_data): Likewise.
12169 (lround_test_data): Likewise.
12170 (llround_test_data): Likewise.
12171
14407b7e
JM
12172 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12173 (ERRNO_UNCHANGED): Update value.
12174 (ERRNO_EDOM): Likewise.
12175 (ERRNO_ERANGE): Likewise.
12176 (NO_TEST_INLINE_FLOAT): New macro.
12177 (NO_TEST_INLINE_DOUBLE): Likewise.
12178 (enable_test): New function.
12179 (RUN_TEST_f_f): Check enable_test before running test.
12180 (RUN_TEST_2_f): Likewise.
12181 (RUN_TEST_fff_f): Likewise.
12182 (RUN_TEST_c_f): Likewise.
12183 (RUN_TEST_f_f1): Likewise.
12184 (RUN_TEST_fF_f1): Likewise.
12185 (RUN_TEST_fI_f1): Likewise.
12186 (RUN_TEST_ffI_f1): Likewise.
12187 (RUN_TEST_c_c): Likewise.
12188 (RUN_TEST_cc_c): Likewise.
12189 (RUN_TEST_f_i): Likewise.
12190 (RUN_TEST_f_i_tg): Likewise.
12191 (RUN_TEST_ff_i_tg): Likewise.
12192 (RUN_TEST_f_b): Likewise.
12193 (RUN_TEST_f_b_tg): Likewise.
12194 (RUN_TEST_f_l): Likewise.
12195 (RUN_TEST_f_L): Likewise.
12196 (RUN_TEST_fFF_11): Likewise.
12197 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12198 conditionals.
12199 (cosh_test_data): Likewise.
12200 (exp_test_data): Likewise.
12201 (expm1_test_data): Likewise.
12202 (hypot_test_data): Likewise.
12203 (pow_test_data): Likewise.
12204 (sinh_test_data): Likewise.
12205 (tanh_test_data): Likewise.
12206 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12207 flags argument.
12208
ca07f197
JM
12209 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12210 tests with quiet NaN input and output.
12211 (acosh_test_data): Likewise.
12212 (asin_test_data): Likewise.
12213 (asinh_test_data): Likewise.
12214 (atan_test_data): Likewise.
12215 (atanh_test_data): Likewise.
12216 (atan2_test_data): Likewise.
12217 (cbrt_test_data): Likewise.
12218 (cos_test_data): Likewise.
12219 (cosh_test_data): Likewise.
12220 (erf_test_data): Likewise.
12221 (erfc_test_data): Likewise.
12222 (exp_test_data): Likewise.
12223 (exp10_test_data): Likewise.
12224 (exp2_test_data): Likewise.
12225 (expm1_test_data): Likewise.
12226 (hypot_test_data): Likewise.
12227 (j0_test_data): Likewise.
12228 (j1_test_data): Likewise.
12229 (jn_test_data): Likewise.
12230 (lgamma_test_data): Likewise.
12231 (log_test_data): Likewise.
12232 (log10_test_data): Likewise.
12233 (log1p_test_data): Likewise.
12234 (log2_test_data): Likewise.
12235 (pow_test_data): Likewise.
12236 (scalb_test_data): Likewise.
12237 (sin_test_data): Likewise.
12238 (sincos_test_data): Likewise.
12239 (sinh_test_data): Likewise.
12240 (tan_test_data): Likewise.
12241 (tanh_test_data): Likewise.
12242 (tgamma_test_data): Likewise.
12243 (y0_test_data): Likewise.
12244 (y1_test_data): Likewise.
12245 (yn_test_data): Likewise.
12246
66294491
JM
12247 [BZ #16167]
12248 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12249 argument being NaN and avoid computations with second argument in
12250 that case.
12251 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12252 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12253 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12254
1820b143
CL
122552013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12256
12257 * locale/iso-639.def: Add Chitwani Tharu (the).
12258
714bd261
AS
122592013-11-14 Andreas Schwab <schwab@suse.de>
12260
12261 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12262 word instead of empty string.
12263
7ab44563
AZ
122642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12265
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12267 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12269 (__fe_nomask_env): Likewise.
12270
e8470ea2
SE
122712013-11-13 Steve Ellcey <sellcey@mips.com>
12272
12273 * benchtests/bench-timing.h: Include time.h.
12274
17c1d9f0
L
122752013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12276
12277 [BZ #15997]
12278 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12279 to 3.4.0 for x32.
12280 * sysdeps/unix/sysv/linux/configure: Regenerated.
12281
9310c284
JM
122822013-11-13 Joseph Myers <joseph@codesourcery.com>
12283
12284 [BZ #16151]
12285 * stdlib/strtod_l.c (round_and_return): Do not consider
12286 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12287 exponent one less than half the least subnormal exponent.
12288 * stdlib/test-strtod-round-data: Add more tests.
12289 * stdlib/tst-strtod-round.c (tests): Regenerated.
12290
7a2ad8cf
AZ
122912013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12292
12293 [BZ #14143]
12294 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12295 (__fe_mask_env): Likewise.
12296 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12297 libm_hidden_proto and add function prototype.
12298 (__fe_mask_env): Add function prototype.
12299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12300 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12302 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12304 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12305
50727aa7
MS
123062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12307
b2f386c1 12308 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
12309 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12310
a615be46
MS
123112013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12312
12313 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12314 of htab_find_slot().
12315
7ddace62
DM
123162013-11-11 David S. Miller <davem@davemloft.net>
12317
12318 [BZ #16150]
12319 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12320 symbol in the non-vis3 case in static builds.
12321 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12322 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12323 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12324 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12325
9182aa67
JK
123262013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12327
12328 [BZ #387]
12329 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12330 it is empty.
12331
450a2e2d
AZ
123322013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12333
b2f386c1
SP
12334 * benchtests/Makefile: Add bench-strtod.
12335 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 12336
8ec3f656
AS
123372013-11-11 Andreas Schwab <schwab@suse.de>
12338
12339 [BZ #16153]
12340 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12341 terminating NUL in key length.
12342
76a9b998
AZ
123432013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12344
12345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12346 Add artificial ODP entry for vDSO symbol for PPC64.
12347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12348 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12349
e4368156
OB
123502013-11-07 Ondřej Bílka <neleai@seznam.cz>
12351
12352 [BZ #15374]
12353 * nss/getent.c (services_keys): Recognize services starting with digit.
12354
8d6bb57c
DM
123552013-11-06 David S. Miller <davem@davemloft.net>
12356
12357 [BZ #15985]
12358 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12359 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12360
e256c421
WN
123612013-11-06 Will Newton <will.newton@linaro.org>
12362
12363 * manual/memory.texi (Malloc Examples): Remove register
12364 keyword from examples.
12365
f6e12daa 123662013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 12367
f6e12daa 12368 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 12369
9d880655
AS
123702013-11-04 Joseph Myers <joseph@codesourcery.com>
12371
fd2f9486 12372 [BZ #6981]
9d880655
AS
12373 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12374 depending on [__GCC_IEC_559 > 0].
12375 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12376 depending on [__GCC_IEC_559_COMPLEX > 0].
12377
ae129d3c
CL
123782013-11-03 Chris Leonard <cjl@sugarlabs.org>
12379
12380 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12381 to iso-639.def.
12382
4a15c2a4 123832013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
12384
12385 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12386
8b35e35d
OB
123872013-11-01 Ondřej Bílka <neleai@seznam.cz>
12388
12389 [BZ #16112]
12390 * malloc/malloc (malloc_info): Do not handle first bin as
12391 special case.
12392
1d70fd6c
CL
123932013-11-01 Chris Leonard <cjl@sugarlabs.org>
12394
12395 * locale/iso-639.def: Add Central Nahuatl (nhn).
12396
8c5c2600
BH
123972013-11-01 Bruno Haible <bruno@clisp.org>
12398
12399 [BZ #7003]
12400 * manual/math.texi (BSD Random): Specify range upper bound as
12401 in POSIX.
12402
da5579c2
CL
124032013-10-31 Chris Leonard <cjl@sugarlabs.org>
12404
12405 * locale/iso-639.def: Add Meadow Mari (mhr).
12406
5d30d853
OB
124072013-10-31 Ondřej Bílka <neleai@seznam.cz>
12408
12409 [BZ #14752], [BZ #15763]
12410 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12411 Validate name.
12412 * rt/tst_shm.c: Add test for escaping directory.
12413
a4966c61
AS
124142013-10-31 Andreas Schwab <schwab@suse.de>
12415
8a43e768 12416 [BZ #15917]
a4966c61
AS
12417 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12418 followed by 'x' as part of digit sequence.
12419 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12420
28d708c4
MAP
124212013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12422
12423 [BZ #16037]
12424 * configure.ac: allow GNU Make 4.0 and greater.
12425 * configure: Regenerated.
12426
a56ee40b
WN
124272013-10-30 Will Newton <will.newton@linaro.org>
12428
12429 [BZ #16038]
12430 * malloc/hooks.c (memalign_check): Limit alignment to the
12431 maximum representable power of two.
12432 * malloc/malloc.c (__libc_memalign): Likewise.
12433 * malloc/tst-memalign.c (do_test): Add test for very
12434 large alignment values.
12435 * malloc/tst-posix_memalign.c (do_test): Likewise.
12436
c6e4925d
OB
124372013-10-30 Ondřej Bílka <neleai@seznam.cz>
12438
12439 [BZ #11087]
12440 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12441 (munmap_chunk): Likewise.
12442 (mremap_chunk): Likewise.
12443
124442013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 12445
8a43e768 12446 [BZ #15799]
bbea82f7
OB
12447 * stdlib/div.c (div): Remove obsolete code.
12448 * stdlib/ldiv.c (ldiv): Likewise.
12449 * stdlib/lldiv.c (lldiv): Likewise.
12450
977f4b31
SP
124512013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12452
12453 [BZ #16071]
12454 * nss/nss_files/files-XXX.c (get_contents_ret): New
12455 enumerator.
12456 (get_contents): New function.
12457 (internal_getent): Use it. Expand size of LINEBUFLEN.
12458
cb8a6dbd
MF
124592013-10-30 Mike Frysinger <vapier@gentoo.org>
12460
12461 * configure.in: Moved to ...
12462 * configure.ac: ... here. Change reference to configure.in
12463 to configure.ac.
12464 * sysdeps/arm/preconfigure.ac: ... here.
12465 configure.in to configure.ac.
12466 * sysdeps/gnu/configure.in: Moved to ...
12467 * sysdeps/gnu/configure.ac: ... here.
12468 * sysdeps/i386/configure.in: Moved to ...
12469 * sysdeps/i386/configure.ac: ... here.
12470 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12471 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12472 * sysdeps/mach/configure.in: Moved to ...
12473 * sysdeps/mach/configure.ac: ... here.
12474 * sysdeps/mach/hurd/configure.in: Moved to ...
12475 * sysdeps/mach/hurd/configure.ac: ... here.
12476 * sysdeps/powerpc/configure.in: Moved to ...
12477 * sysdeps/powerpc/configure.ac: ... here.
12478 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12479 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12480 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12481 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12482 * sysdeps/s390/s390-32/configure.in: Moved to ...
12483 * sysdeps/s390/s390-32/configure.ac: ... here.
12484 * sysdeps/s390/s390-64/configure.in: Moved to ...
12485 * sysdeps/s390/s390-64/configure.ac: ... here.
12486 * sysdeps/sh/configure.in: Moved to ...
12487 * sysdeps/sh/configure.ac: ... here.
12488 * sysdeps/sparc/configure.in: Moved to ...
12489 * sysdeps/sparc/configure.ac: ... here.
12490 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12491 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12492 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12493 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12494 * sysdeps/x86_64/configure.in: Moved to ...
12495 * sysdeps/x86_64/configure.ac: ... here.
12496 * sysdeps/x86_64/preconfigure.in: Moved to ...
12497 * sysdeps/x86_64/preconfigure.ac: ... here.
12498 * aclocal.m4: Change reference to configure.in to configure.ac.
12499 * config.h.in: Likewise.
12500 * manual/install.texi: Likewise.
12501 * manual/maint.texi: Likewise.
12502 * Makefile: Likewise.
12503 * malloc/Makefile: Likewise.
12504 * nscd/Makefile: Likewise.
12505 * Makeconfig: Change reference to configure.in and
12506 preconfigure.in to configure.ac and preconfigure.ac
12507 respectively.
12508 * INSTALL: Regenerated.
12509 * configure: Likewise.
12510 * sysdeps/gnu/configure: Likewise.
12511 * sysdeps/i386/configure: Likewise.
12512 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12513 * sysdeps/mach/configure: Likewise.
12514 * sysdeps/mach/hurd/configure: Likewise.
12515 * sysdeps/powerpc/configure: Likewise.
12516 * sysdeps/powerpc/powerpc32/configure: Likewise.
12517 * sysdeps/powerpc/powerpc64/configure: Likewise.
12518 * sysdeps/s390/s390-32/configure: Likewise.
12519 * sysdeps/s390/s390-64/configure: Likewise.
12520 * sysdeps/sh/configure: Likewise.
12521 * sysdeps/sparc/configure: Likewise.
12522 * sysdeps/unix/sysv/linux/configure: Likewise.
12523 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12524 * sysdeps/x86_64/configure: Likewise.
12525 * sysdeps/x86_64/preconfigure: Likewise.
12526
36a4953a
AS
125272013-10-29 Andreas Schwab <schwab@suse.de>
12528
12529 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12530
c79a1204
SP
125312013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12532
dfa1b402
SP
12533 * benchtests/pow-inputs: Add new inputs.
12534
54f73d9c
SP
12535 * benchtests/exp-inputs: Add new inputs.
12536
c79a1204
SP
12537 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12538 conditional check for return value.
12539 (__cos32): Likewise.
12540
67beb545 125412013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12542
12543 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12544 to provide a boost for large inputs with word alignment.
12545 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12546 implementation based on optimized PPC64 strcpy.
12547 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12548 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12549 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12550 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12551
151659f6
OB
125522013-10-25 Ondřej Bílka <neleai@seznam.cz>
12553
482a077e 12554 [BZ #2801]
151659f6
OB
12555 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12556
10b0f26b
OB
125572013-10-25 Ondřej Bílka <neleai@seznam.cz>
12558
12559 [BZ #14876]
12560 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12561 * time/tst-strptime.c (day_tests): Add testcase.
12562
ca42d35e
OB
125632013-10-25 Ondřej Bílka <neleai@seznam.cz>
12564
482a077e 12565 [BZ #14029]
ca42d35e
OB
12566 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12567
52e6d801
FB
125682013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12569
12570 [BZ #16074]
12571 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12572 MAP_FAILED on error.
12573
7cbcdb36
SP
125742013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12575
12576 [BZ #16072]
12577 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12578 heap for large requests.
12579
894f3f10
AM
125802013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12581
12582 [BZ #9954]
12583 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12584 result if the result has no associated interface.
12585 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12586 interface for all 127.X.Y.Z addresses.
12587
b85545a6
CL
125882013-10-24 Chris Leonard <cjl@sugarlabs.org>
12589
12590 * locale/iso-639.def: Add Ligurian (lij)
12591
d1f23d46
OB
125922013-10-21 Ondřej Bílka <neleai@seznam.cz>
12593
12594 [BZ #15825]
12595 * sunrpc/rpc_main.c: Document rpcgen -5.
12596
4db5b08f
MS
125972013-10-19 Michael Stahl <mstahl@redhat.com>
12598
12599 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12600
a471e96a
OB
126012013-10-19 Ondřej Bílka <neleai@seznam.cz>
12602
d1f23d46 12603 [BZ #10278]
a471e96a
OB
12604 * posix/glob.c: Match only directories when trailing slash is present.
12605 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12606 (main): Add testcase.
12607
45c30c61
OB
126082013-10-19 Ondřej Bílka <neleai@seznam.cz>
12609
12610 [BZ #15670]
12611 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12612
484c12fb
CD
126132013-10-18 Carlos O'Donell <carlos@redhat.com>
12614
3d7dc513
CD
12615 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12616 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12617 AUTH_DES and cindex for FIPS 140-2.
12618 (DES Encryption): Add cindex FIPS 46-3.
12619
484c12fb
CD
12620 * locale/locarchive.h (struct locarhandle): Add fname.
12621 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12622 if an optional argument was specified to --list-archive,
12623 otherwise NULL.
12624 * locale/programs/locarchive.c (show_archive_content): Take new
12625 argument fname and pass it via ah.fname to open_archive.
12626 * locale/programs/localedef.h: Update decl.
12627 (open_archive): If AH->fname is non-null, open that file
12628 rather than the default file name, and don't ignore ENOENT.
12629 (create_archive): Set AH.fname to NULL.
12630 (delete_locales_from_archive): Likewise.
12631 (add_locales_to_archive): Likewise.
12632 * locale/programs/locfile.c (write_all_categories): Likewise.
12633
3c8325fb
JM
126342013-10-18 Joseph Myers <joseph@codesourcery.com>
12635 Aldy Hernandez <aldyh@redhat.com>
12636
12637 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12638 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12639 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12640 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12641 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12642 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12643 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12644 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12645 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12646 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12647 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12648 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12649 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12650 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12651 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12652 Likewise.
12653 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12654 Likewise.
12655 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12656 Likewise.
12657 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12658 Likewise.
12659 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12660 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12661 Likewise.
12662 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12663 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12664 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12665 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12666 Likewise.
12667 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12668 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12669 * sysdeps/powerpc/preconfigure: Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12671 Likewise.
12672 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12673 Replace contents of file by #include of <fenv_libc.h>.
12674 * sysdeps/powerpc/soft-fp/sfp-machine.h
12675 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12676 and <sys/prctl.h>.
12677 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12678 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12684 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12690 Allow copysignl PLT reference to be missing.
12691
5abe0682
RS
126922013-10-18 Richard Sandiford <richard@codesourcery.com>
12693 Joseph Myers <joseph@codesourcery.com
12694
12695 [BZ #15948]
12696 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12697 single character.
12698 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12699
c7738d08
SP
127002013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12701
12702 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12703 * elf/tst-tls1.c: Likewise.
12704 * elf/tst-tls10.h: Likewise.
12705 * elf/tst-tls14.c: Likewise.
12706 * elf/tst-tls2.c: Likewise.
12707 * elf/tst-tls3.c: Likewise.
12708 * elf/tst-tls4.c: Likewise.
12709 * elf/tst-tls5.c: Likewise.
12710 * elf/tst-tls6.c: Likewise.
12711 * elf/tst-tls7.c: Likewise.
12712 * elf/tst-tls8.c: Likewise.
12713 * elf/tst-tls9.c: Likewise.
12714 * elf/tst-tlsmod1.c: Likewise.
12715 * elf/tst-tlsmod13.c: Likewise.
12716 * elf/tst-tlsmod13a.c: Likewise.
12717 * elf/tst-tlsmod14a.c: Likewise.
12718 * elf/tst-tlsmod16a.c: Likewise.
12719 * elf/tst-tlsmod16b.c: Likewise.
12720 * elf/tst-tlsmod2.c: Likewise.
12721 * elf/tst-tlsmod3.c: Likewise.
12722 * elf/tst-tlsmod4.c: Likewise.
12723 * elf/tst-tlsmod5.c: Likewise.
12724 * elf/tst-tlsmod6.c: Likewise.
12725
0bfcf2c7
OB
127262013-10-18 Ondřej Bílka <neleai@seznam.cz>
12727
12728 [BZ #12486]
12729 * malloc/malloc.c: remove checks for statistics.
12730
264aad1e
OB
127312013-10-17 Ondřej Bílka <neleai@seznam.cz>
12732
12733 [BZ #15277]
12734 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12735 * inet/tst-network.c: Add testcase.
12736
b957ced8
AS
127372013-10-17 Andreas Schwab <schwab@suse.de>
12738
12739 [BZ #15218]
12740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12741 to determine canonical name.
12742
c5d5d574
OB
127432013-10-17 Ondřej Bílka <neleai@seznam.cz>
12744
12745 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12746 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12769 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12770 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12775 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12803
e5c2c2d0
JM
128042013-10-17 Joseph Myers <joseph@codesourcery.com>
12805
12806 [BZ #16041]
12807 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12808 make result into a quiet NaN.
12809
51ca9e29
JM
128102013-10-16 Joseph Myers <joseph@codesourcery.com>
12811
12812 * soft-fp/adddf3.c: Fix horizontal whitespace.
12813 * soft-fp/addsf3.c: Likewise.
12814 * soft-fp/addtf3.c: Likewise.
12815 * soft-fp/divdf3.c: Likewise.
12816 * soft-fp/divsf3.c: Likewise.
12817 * soft-fp/divtf3.c: Likewise.
12818 * soft-fp/double.h: Likewise.
12819 * soft-fp/eqdf2.c: Likewise.
12820 * soft-fp/eqsf2.c: Likewise.
12821 * soft-fp/eqtf2.c: Likewise.
12822 * soft-fp/extenddftf2.c: Likewise.
12823 * soft-fp/extended.h: Likewise.
12824 * soft-fp/extendsfdf2.c: Likewise.
12825 * soft-fp/extendsftf2.c: Likewise.
12826 * soft-fp/extendxftf2.c: Likewise.
12827 * soft-fp/fixdfdi.c: Likewise.
12828 * soft-fp/fixdfsi.c: Likewise.
12829 * soft-fp/fixdfti.c: Likewise.
12830 * soft-fp/fixsfdi.c: Likewise.
12831 * soft-fp/fixsfsi.c: Likewise.
12832 * soft-fp/fixsfti.c: Likewise.
12833 * soft-fp/fixtfdi.c: Likewise.
12834 * soft-fp/fixtfsi.c: Likewise.
12835 * soft-fp/fixtfti.c: Likewise.
12836 * soft-fp/fixunsdfdi.c: Likewise.
12837 * soft-fp/fixunsdfsi.c: Likewise.
12838 * soft-fp/fixunsdfti.c: Likewise.
12839 * soft-fp/fixunssfdi.c: Likewise.
12840 * soft-fp/fixunssfsi.c: Likewise.
12841 * soft-fp/fixunssfti.c: Likewise.
12842 * soft-fp/fixunstfdi.c: Likewise.
12843 * soft-fp/fixunstfsi.c: Likewise.
12844 * soft-fp/fixunstfti.c: Likewise.
12845 * soft-fp/floatdidf.c: Likewise.
12846 * soft-fp/floatdisf.c: Likewise.
12847 * soft-fp/floatditf.c: Likewise.
12848 * soft-fp/floatsidf.c: Likewise.
12849 * soft-fp/floatsisf.c: Likewise.
12850 * soft-fp/floatsitf.c: Likewise.
12851 * soft-fp/floattidf.c: Likewise.
12852 * soft-fp/floattisf.c: Likewise.
12853 * soft-fp/floattitf.c: Likewise.
12854 * soft-fp/floatundidf.c: Likewise.
12855 * soft-fp/floatundisf.c: Likewise.
12856 * soft-fp/floatunditf.c: Likewise.
12857 * soft-fp/floatunsidf.c: Likewise.
12858 * soft-fp/floatunsisf.c: Likewise.
12859 * soft-fp/floatunsitf.c: Likewise.
12860 * soft-fp/floatuntidf.c: Likewise.
12861 * soft-fp/floatuntisf.c: Likewise.
12862 * soft-fp/floatuntitf.c: Likewise.
12863 * soft-fp/fmadf4.c: Likewise.
12864 * soft-fp/fmasf4.c: Likewise.
12865 * soft-fp/fmatf4.c: Likewise.
12866 * soft-fp/gedf2.c: Likewise.
12867 * soft-fp/gesf2.c: Likewise.
12868 * soft-fp/getf2.c: Likewise.
12869 * soft-fp/ledf2.c: Likewise.
12870 * soft-fp/lesf2.c: Likewise.
12871 * soft-fp/letf2.c: Likewise.
12872 * soft-fp/muldf3.c: Likewise.
12873 * soft-fp/mulsf3.c: Likewise.
12874 * soft-fp/multf3.c: Likewise.
12875 * soft-fp/negdf2.c: Likewise.
12876 * soft-fp/negsf2.c: Likewise.
12877 * soft-fp/negtf2.c: Likewise.
12878 * soft-fp/op-1.h: Likewise.
12879 * soft-fp/op-2.h: Likewise.
12880 * soft-fp/op-4.h: Likewise.
12881 * soft-fp/op-8.h: Likewise.
12882 * soft-fp/op-common.h: Likewise.
12883 * soft-fp/quad.h: Likewise.
12884 * soft-fp/single.h: Likewise.
12885 * soft-fp/soft-fp.h: Likewise.
12886 * soft-fp/sqrtdf2.c: Likewise.
12887 * soft-fp/sqrtsf2.c: Likewise.
12888 * soft-fp/sqrttf2.c: Likewise.
12889 * soft-fp/subdf3.c: Likewise.
12890 * soft-fp/subsf3.c: Likewise.
12891 * soft-fp/subtf3.c: Likewise.
12892 * soft-fp/truncdfsf2.c: Likewise.
12893 * soft-fp/trunctfdf2.c: Likewise.
12894 * soft-fp/trunctfsf2.c: Likewise.
12895 * soft-fp/trunctfxf2.c: Likewise.
12896 * soft-fp/unorddf2.c: Likewise.
12897 * soft-fp/unordsf2.c: Likewise.
12898 * soft-fp/unordtf2.c: Likewise.
12899
9ebb0332
JM
129002013-10-15 Joseph Myers <joseph@codesourcery.com>
12901
12902 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12903 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12904
4b1a6d8b
OB
129052013-10-15 Ondřej Bílka <neleai@seznam.cz>
12906
12907 * elf/dl-libc.c: Clear initfini list after freeing.
12908
1e145589
JM
129092013-10-14 Joseph Myers <joseph@codesourcery.com>
12910
12911 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12912 * soft-fp/addsf3.c: Likewise.
12913 * soft-fp/addtf3.c: Likewise.
12914 * soft-fp/divdf3.c: Likewise.
12915 * soft-fp/divsf3.c: Likewise.
12916 * soft-fp/divtf3.c: Likewise.
12917 * soft-fp/double.h: Likewise.
12918 * soft-fp/eqdf2.c: Likewise.
12919 * soft-fp/eqsf2.c: Likewise.
12920 * soft-fp/eqtf2.c: Likewise.
12921 * soft-fp/extenddftf2.c: Likewise.
12922 * soft-fp/extended.h: Likewise.
12923 * soft-fp/extendsfdf2.c: Likewise.
12924 * soft-fp/extendsftf2.c: Likewise.
12925 * soft-fp/extendxftf2.c: Likewise.
12926 * soft-fp/fixdfdi.c: Likewise.
12927 * soft-fp/fixdfsi.c: Likewise.
12928 * soft-fp/fixdfti.c: Likewise.
12929 * soft-fp/fixsfdi.c: Likewise.
12930 * soft-fp/fixsfsi.c: Likewise.
12931 * soft-fp/fixsfti.c: Likewise.
12932 * soft-fp/fixtfdi.c: Likewise.
12933 * soft-fp/fixtfsi.c: Likewise.
12934 * soft-fp/fixtfti.c: Likewise.
12935 * soft-fp/fixunsdfdi.c: Likewise.
12936 * soft-fp/fixunsdfsi.c: Likewise.
12937 * soft-fp/fixunsdfti.c: Likewise.
12938 * soft-fp/fixunssfdi.c: Likewise.
12939 * soft-fp/fixunssfsi.c: Likewise.
12940 * soft-fp/fixunssfti.c: Likewise.
12941 * soft-fp/fixunstfdi.c: Likewise.
12942 * soft-fp/fixunstfsi.c: Likewise.
12943 * soft-fp/fixunstfti.c: Likewise.
12944 * soft-fp/floatdidf.c: Likewise.
12945 * soft-fp/floatdisf.c: Likewise.
12946 * soft-fp/floatditf.c: Likewise.
12947 * soft-fp/floatsidf.c: Likewise.
12948 * soft-fp/floatsisf.c: Likewise.
12949 * soft-fp/floatsitf.c: Likewise.
12950 * soft-fp/floattidf.c: Likewise.
12951 * soft-fp/floattisf.c: Likewise.
12952 * soft-fp/floattitf.c: Likewise.
12953 * soft-fp/floatundidf.c: Likewise.
12954 * soft-fp/floatundisf.c: Likewise.
12955 * soft-fp/floatunsidf.c: Likewise.
12956 * soft-fp/floatunsisf.c: Likewise.
12957 * soft-fp/floatuntidf.c: Likewise.
12958 * soft-fp/floatuntisf.c: Likewise.
12959 * soft-fp/floatuntitf.c: Likewise.
12960 * soft-fp/fmadf4.c: Likewise.
12961 * soft-fp/fmasf4.c: Likewise.
12962 * soft-fp/fmatf4.c: Likewise.
12963 * soft-fp/gedf2.c: Likewise.
12964 * soft-fp/gesf2.c: Likewise.
12965 * soft-fp/getf2.c: Likewise.
12966 * soft-fp/ledf2.c: Likewise.
12967 * soft-fp/lesf2.c: Likewise.
12968 * soft-fp/letf2.c: Likewise.
12969 * soft-fp/muldf3.c: Likewise.
12970 * soft-fp/mulsf3.c: Likewise.
12971 * soft-fp/multf3.c: Likewise.
12972 * soft-fp/negdf2.c: Likewise.
12973 * soft-fp/negsf2.c: Likewise.
12974 * soft-fp/negtf2.c: Likewise.
12975 * soft-fp/op-1.h: Likewise.
12976 * soft-fp/op-2.h: Likewise.
12977 * soft-fp/op-4.h: Likewise.
12978 * soft-fp/op-8.h: Likewise.
12979 * soft-fp/op-common.h: Likewise.
12980 * soft-fp/quad.h: Likewise.
12981 * soft-fp/single.h: Likewise.
12982 * soft-fp/soft-fp.h: Likewise.
12983 * soft-fp/sqrtdf2.c: Likewise.
12984 * soft-fp/sqrtsf2.c: Likewise.
12985 * soft-fp/sqrttf2.c: Likewise.
12986 * soft-fp/subdf3.c: Likewise.
12987 * soft-fp/subsf3.c: Likewise.
12988 * soft-fp/subtf3.c: Likewise.
12989 * soft-fp/truncdfsf2.c: Likewise.
12990 * soft-fp/trunctfdf2.c: Likewise.
12991 * soft-fp/trunctfsf2.c: Likewise.
12992 * soft-fp/trunctfxf2.c: Likewise.
12993 * soft-fp/unorddf2.c: Likewise.
12994 * soft-fp/unordsf2.c: Likewise.
12995 * soft-fp/unordtf2.c: Likewise.
12996
17c48a60
OB
129972013-10-14 Ondřej Bílka <neleai@seznam.cz>
12998
12999 [BZ #15672]
13000 * misc/error.c (error_tail): Fix possible buffer overflow.
13001
cabba934
OB
130022013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13003
13004 [BZ #13028]
13005 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13006 address.
13007
94bf958a
PM
130082013-10-14 P. J. McDermott <pj@pehjota.net>
13009
13010 [BZ #832]
13011 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13012 testing pipefail option.
13013
71b4dea7
JM
130142013-10-12 Joseph Myers <joseph@codesourcery.com>
13015
13016 * soft-fp/double.h: Indent preprocessor directives inside #if.
13017 * soft-fp/extended.h: Likewise.
13018 * soft-fp/op-2.h: Likewise.
13019 * soft-fp/op-4.h: Likewise.
13020 * soft-fp/op-common.h: Likewise.
13021 * soft-fp/quad.h: Likewise.
13022 * soft-fp/single.h: Likewise.
13023 * soft-fp/soft-fp.h: Likewise.
13024
55602758
YC
130252013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13026
13027 * iconv/iconv_prog.c: Fix typos.
13028 * stdio-common/psiginfo-data.h: Likewise.
13029
9cd83302
RT
130302013-10-12 Reuben Thomas <rrt@sc3d.org>
13031
13032 [BZ #15764]
13033 * locale/setlocale.c: Fix typo.
13034
99fd9f47
JM
130352013-10-12 Joseph Myers <joseph@codesourcery.com>
13036
b7ea74f0
JM
13037 [BZ #16036]
13038 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13039 signaling NaN arguments.
13040 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13041 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13042
8a509447
JM
13043 [BZ #14910]
13044 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13045 unordered operands.
13046 * soft-fp/gesf2.c (__gesf2): Likewise.
13047 * soft-fp/getf2.c (__getf2): Likewise.
13048 * soft-fp/ledf2.c (__ledf2): Likewise.
13049 * soft-fp/lesf2.c (__lesf2): Likewise.
13050 * soft-fp/letf2.c (__letf2): Likewise.
13051
98998e9f
JM
13052 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13053 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13054 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13055 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13056 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13057 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13058 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13059 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13060 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13061 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13062 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13063 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13064 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13065 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13066 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13067 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13068 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13069 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13070 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13071 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13072 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13073 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13074 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13075 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13076 * soft-fp/floattidf.c (__floattidf): Likewise.
13077 * soft-fp/floattisf.c (__floattisf): Likewise.
13078 * soft-fp/floattitf.c (__floattitf): Likewise.
13079 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13080 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13081 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13082 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13083 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13084 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13085 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13086 * soft-fp/gesf2.c (__gesf2): Likewise.
13087 * soft-fp/getf2.c (__getf2): Likewise.
13088 * soft-fp/ledf2.c (__ledf2): Likewise.
13089 * soft-fp/lesf2.c (__lesf2): Likewise.
13090 * soft-fp/letf2.c (__letf2): Likewise.
13091
8edc4a11
JM
13092 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13093 Undefine and redefine.
13094 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13095 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13096 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13097 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13098 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13099 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13100 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13101 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13102 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13103 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13104 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13105 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13106 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13107 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13108 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13109
8399acaf
JM
13110 [BZ #16032]
13111 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13112 without decrementing exponent if mantissa >= that for the
13113 denominator, not >.
13114 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13115 denominator, not >. Decrement exponent in < case instead of
13116 incrementing in >= case.
13117 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13118 without decrementing exponent if mantissa >= that for the
13119 denominator, not >.
13120
99fd9f47
JM
13121 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13122 computing saturated result for unsigned overflow.
13123
10e1cf6b
SP
131242013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13125 Jeff Law <law@redhat.com>
13126
13127 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13128 (atan2Mp): Add systemtap probe marker.
13129 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13130 (__ieee754_log): Add systemtap probe marker.
13131 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13132 (atanMp): Add systemtap probe marker.
13133 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13134 (tanMp): Add systemtap probe marker.
13135 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13136 (__slowexp): Add systemtap probe marker.
13137 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13138 (__slowpow): Add systemtap probe marker.
13139 * manual/probes.texi: Document probes.
13140
3d110c7c
EB
131412013-10-11 Eric Biggers <ebiggers3@gmail.com>
13142
13143 [BZ #15362]
13144 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13145 written.
13146 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13147 written.
13148 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13149 written to buffer but not flushed.
13150 * libio/iofwrite_u.c: Likewise.
13151 * libio/iopadn.c: Return bytes returned even if EOF was
13152 encountered.
13153 * libio/iowpadn.c: Likewise.
13154 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13155 if _IO_padn does not write the whole buffer.
13156 [!COMPILE_WPRINTF] (PAD): Likewise.
13157
75b4202a
DM
131582013-10-10 David S. Miller <davem@davemloft.net>
13159
13160 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13161 directory block.
13162
6c6352e6
JM
131632013-10-10 Joseph Myers <joseph@codesourcery.com>
13164
33b853c3
JM
13165 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13166 instead of FSF address.
13167 * soft-fp/fixdfti.c: Likewise.
13168 * soft-fp/fixsfti.c: Likewise.
13169 * soft-fp/fixtfti.c: Likewise.
13170 * soft-fp/fixunsdfti.c: Likewise.
13171 * soft-fp/fixunssfti.c: Likewise.
13172 * soft-fp/fixunstfti.c: Likewise.
13173 * soft-fp/floattidf.c: Likewise.
13174 * soft-fp/floattisf.c: Likewise.
13175 * soft-fp/floattitf.c: Likewise.
13176 * soft-fp/floatuntidf.c: Likewise.
13177 * soft-fp/floatuntisf.c: Likewise.
13178 * soft-fp/floatuntitf.c: Likewise.
13179 * soft-fp/trunctfxf2.c: Likewise.
13180
6c6352e6
JM
13181 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13182 * soft-fp/fixdfti.c: Likewise.
13183 * soft-fp/fixsfti.c: Likewise.
13184 * soft-fp/fixtfti.c: Likewise.
13185 * soft-fp/fixunsdfti.c: Likewise.
13186 * soft-fp/fixunssfti.c: Likewise.
13187 * soft-fp/fixunstfti.c: Likewise.
13188 * soft-fp/floattidf.c: Likewise.
13189 * soft-fp/floattisf.c: Likewise.
13190 * soft-fp/floattitf.c: Likewise.
13191 * soft-fp/floatuntidf.c: Likewise.
13192 * soft-fp/floatuntisf.c: Likewise.
13193 * soft-fp/floatuntitf.c: Likewise.
13194 * soft-fp/trunctfxf2.c: Likewise.
13195
3bf78b71
DM
131962013-10-10 David S. Miller <davem@davemloft.net>
13197
13198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13199
6f10289e
JM
132002013-10-10 Joseph Myers <joseph@codsourcery.com>
13201
bd878fc0
JM
13202 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13203 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13204 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13205 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13206 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13207 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13208 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13209
6f10289e
JM
13210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13211 for NaNs before doing comparisons on argument.
13212 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13213 Likewise.
13214
321e2684
WN
132152013-10-10 Will Newton <will.newton@linaro.org>
13216
13217 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13218 passed to _int_memalign does not overflow.
13219
40fefba1
TR
132202013-10-10 Torvald Riegel <triegel@redhat.com>
13221
13222 * scripts/bench.pl: Add include-sources directive.
13223 * benchtests/README: Update documentation.
13224
2ae21ed2
JM
132252013-10-10 Joseph Myers <joseph@codesourcery.com>
13226
dcc2dd3f
JM
13227 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13228 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13229 instead of FP_INIT_ROUNDMODE.
13230 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13231 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13232
2ae21ed2
JM
13233 [BZ #16034]
13234 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13235 copy class of input value.
13236 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13237 not handle exceptions.
13238 * soft-fp/negsf2.c (__negsf2): Likewise.
13239 * soft-fp/negtf2.c (__negtf2): Likewise.
13240 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13241
cb8f9562
JM
132422013-10-09 Joseph Myers <joseph@codesourcery.com>
13243
13244 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13245 semicolon. From Linux kernel.
13246
5b60c59d
AB
132472013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13248
13249 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13250
b86835ca
YC
132512013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13252
13253 [BZ #156]
13254 * manual/socket.texi: Added statement about buffer
13255 for gethostbyname2_r.
13256
e7044ea7
OB
132572013-10-08 Ondřej Bílka <neleai@seznam.cz>
13258
13259 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13260 Use .p2align directive instead, throughout.
13261 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13262 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13263 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13264 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13266 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13267 * sysdeps/x86_64/strchr.S: Likewise.
13268 * sysdeps/x86_64/strrchr.S: Likewise.
13269
09544cbc
SP
132702013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13271
88576635
SP
13272 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13273
e7b2d1dd
SP
13274 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13275
09544cbc
SP
13276 * sysdeps/generic/math_private.h (__mpsin1): Remove
13277 declaration.
13278 (__mpcos1): Likewise.
13279 (__mpsin): New argument __range_reduce.
13280 (__mpcos): Likewise.
13281 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13282 (slow): Use __mpsin and __mpcos.
13283 (slow1): Likewise.
13284 (slow2): Likewise.
13285 (sloww): Likewise.
13286 (sloww1): Likewise.
13287 (sloww2): Likewise.
13288 (bsloww): Likewise.
13289 (bsloww1): Likewise.
13290 (bsloww2): Likewise.
13291 (cslow2): Likewise.
13292 (csloww): Likewise.
13293 (csloww1): Likewise.
13294 (csloww2): Likewise.
13295 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13296 range_reduce. Merge in __mpsin1.
13297 (__mpcos): Likewise.
13298 (__mpsin1): Remove.
13299 (__mpcos1): Likewise.
13300
7602d070
JM
133012013-10-07 Joseph Myers <joseph@codesourcery.com>
13302
13303 * locale/loadlocale.c (_nl_intern_locale_data): Use
13304 LOCFILE_ALIGNED_P.
13305 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13306 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13307 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13308 obstack data is appropriately aligned.
13309 (obstack_int32_grow_fast): Likewise.
13310 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13311 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13312 (add_locale_uint32_array): Likewise.
13313
a357259b
SP
133142013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13315
13316 * benchtests/Makefile: Remove ARGLIST and RET variables.
13317 ($(objpfx)bench-%.c): Pass only function name to the script.
13318 * benchtests/README: Update documentation.
13319 * benchtests/acos-inputs: Add new directives.
13320 * benchtests/acosh-inputs: Likewise.
13321 * benchtests/asin-inputs: Likewise.
13322 * benchtests/asinh-inputs: Likewise.
13323 * benchtests/atan-inputs: Likewise.
13324 * benchtests/atanh-inputs: Likewise.
13325 * benchtests/cos-inputs: Likewise.
13326 * benchtests/cosh-inputs: Likewise.
13327 * benchtests/exp-inputs: Likewise.
13328 * benchtests/log-inputs: Likewise.
13329 * benchtests/pow-inputs: Likewise.
13330 * benchtests/rint-inputs: Likewise.
13331 * benchtests/sin-inputs: Likewise.
13332 * benchtests/sinh-inputs: Likewise.
13333 * benchtests/tan-inputs: Likewise.
13334 * benchtests/tanh-inputs: Likewise.
13335 * scripts/bench.pl: Add support for new directives.
13336
9ec1b13d
AM
133372013-10-07 Alan Modra <amodra@gmail.com>
13338
13339 * README: Fix careless merge.
13340
8b7d57cd
AM
133412013-10-05 Alan Modra <amodra@gmail.com>
13342
13343 * NEWS: Mention powerpc64le support and bugs fixed.
13344 * README: Both big-endian and little-endian powerpc64 supported.
13345
7b7bab13
ST
133462013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13347
57f41c40
AS
13348 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13349 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
13350 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13351 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13352
d39baad1
RA
133532013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13354
13355 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13356 match prototype.
13357
cd78f7e7
JM
133582013-10-04 Joseph Myers <joseph@codesourcery.com>
13359
29d73d86
JM
13360 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13361 Move -mhard-float appending from
13362 ports/sysdeps/powerpc/powerpc32/Makefile.
13363 [$(with-fp) = yes] (ASFLAGS): Likewise.
13364 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13365 * sysdeps/powerpc/nofpu: Move directory from
13366 ports/sysdeps/powerpc/nofpu.
13367 * sysdeps/powerpc/soft-fp: Move directory from
13368 ports/sysdeps/powerpc/soft-fp.
13369 * sysdeps/powerpc/powerpc32/405: Move directory from
13370 ports/sysdeps/powerpc/powerpc32/405.
13371 * sysdeps/powerpc/powerpc32/440: Move directory from
13372 ports/sysdeps/powerpc/powerpc32/440.
13373 * sysdeps/powerpc/powerpc32/464: Move directory from
13374 ports/sysdeps/powerpc/powerpc32/464.
13375 * sysdeps/powerpc/powerpc32/476: Move directory from
13376 ports/sysdeps/powerpc/powerpc32/476.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13378 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13380 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13382 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13384 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13386 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13387 * README: Update for powerpc-*-linux-gnu software floating point
13388 support in libc.
13389
e246b347
JM
13390 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13391 case to powerpc/powerpc32*.
13392 * sysdeps/unix/sysv/linux/configure: Regenerated.
13393
89c2003e
JM
13394 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13395 (_FPU_MASK_OM): Define as 0x04.
13396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13398 0x00c10080.
13399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13400 0x0000003c.
13401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13402
cd78f7e7
JM
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13404 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13405 getcontext_e500.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13407 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13408 setcontext_e500.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13410 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13411 and setcontext_e500.
13412
c755294d
CL
134132013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13414
13415 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13416
e16d221c
SP
134172013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13418
13419 * manual/threads.texi (Default Thread Attributes): Fix typo.
13420
215c7d43
WN
134212013-10-04 Will Newton <will.newton@linaro.org>
13422
13423 * malloc/Makefile: Add tst-memalign.
13424 * malloc/tst-memalign.c: New file.
13425
27d0461b
WN
13426 * malloc/tst-posix_memalign.c: Add comments.
13427 (do_test): Add comments and call free on all potentially
13428 allocated pointers. Add space after cast.
13429
1bc92709
WN
13430 * malloc/tst-pvalloc.c: Add comments.
13431 (do_test): Add comments and call free on all potentially
13432 allocated pointers. Remove duplicate check for NULL pointer.
13433 Add space after cast.
13434
66a9be9d
WN
13435 * malloc/tst-valloc.c: Add comments.
13436 (do_test): Add comments and call free on all potentially
13437 allocated pointers. Remove duplicate check for NULL pointer.
13438 Add space after cast.
13439
4cb81307
AM
134402013-10-04 Alan Modra <amodra@gmail.com>
13441
13442 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13443 Use stdint types in rather than __attribute__((mode())).
13444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13445
f8e3e9f3
AM
134462013-10-04 Alan Modra <amodra@gmail.com>
13447
13448 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13449 Correct handling of unaligned relocs for little-endian.
13450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13451
8f9ebb08
AM
134522013-10-04 Alan Modra <amodra@gmail.com>
13453
13454 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13455 * configure: Regenerate.
13456 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13457 * shlib-versions: Likewise.
13458
0edf96c2
AM
134592013-10-04 Alan Modra <amodra@gmail.com>
13460
13461 * string/tester.c (test_memrchr): Increment reported test cycle.
13462
e0f7a380
AM
134632013-10-04 Alan Modra <amodra@gmail.com>
13464
13465 * string/test-memcpy.c (do_one_test): When reporting errors, print
13466 string address and don't overrun end of string.
13467
466b0393
AM
134682013-10-04 Alan Modra <amodra@gmail.com>
13469
13470 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13471 insrdi. Make better use of reg selection to speed exit slightly.
13472 Schedule entry path a little better. Remove useless "are we done"
13473 checks on entry to main loop. Handle wrapping around zero address.
13474 Correct main loop count. Handle single left-over word from main
13475 loop inline rather than by using loop_small. Remove extra word
13476 case in loop_small caused by wrong loop count. Add little-endian
13477 support.
13478 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13480 cache hint.
13481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13482 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13483 support. Avoid rlwimi.
13484 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13485
3be87c77
AM
134862013-10-04 Alan Modra <amodra@gmail.com>
13487
13488 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 13489 insrdi. Formatting.
3be87c77
AM
13490 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13491 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13492 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13493 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13494 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13495 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13496
759cfef3
AM
134972013-10-04 Alan Modra <amodra@gmail.com>
13498
13499 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13500 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13501 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13502 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13503 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13504 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13505 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13506 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13507 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13508 use of regs. Use power7 mtocrf. Tidy function tails.
13509
fe6e95d7
AM
135102013-10-04 Alan Modra <amodra@gmail.com>
13511
13512 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13513 Formatting. Consistently use rXXX register defines or rN defines.
13514 Use early exit labels that avoid restoring unused non-volatile regs.
13515 Make cr field use more consistent with rWORDn compares. Rename
13516 regs used as shift registers for unaligned loop, using rN defines
13517 for short lifetime/multiple use regs.
13518 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13519 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13520 addi 1,1,64 to pop stack frame. Simplify return value code.
13521 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13522
664318c3
AM
135232013-10-04 Alan Modra <amodra@gmail.com>
13524
13525 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13526 support. Correct typos, formatting. Optimize tail. Use insrdi
13527 rather than rlwimi.
13528 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13529 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13530 little-endian support. Correct typos.
13531 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13532 rather than rlwimi.
13533 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13534 in loop and entry code to keep "and." results.
13535 (strchr): Add little-endian support. Comment. Move cntlzd
13536 earlier in tail.
13537 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13538
43b84013
AM
135392013-10-04 Alan Modra <amodra@gmail.com>
13540
13541 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13542 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13543 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13544 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13545
8a7413f9
AM
135462013-10-04 Alan Modra <amodra@gmail.com>
13547
13548 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13549 (rTMP): Define as r11.
13550 (strcmp): Add little-endian support. Optimise tail.
13551 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13552 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13553 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13554 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13555 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13556 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13558
33ee81de
AM
135592013-10-04 Alan Modra <amodra@gmail.com>
13560
13561 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13562 little-endian support. Remove unnecessary "are we done" tests.
13563 Handle "s" wrapping around zero and extremely large "size".
13564 Correct main loop count. Handle single left-over word from main
13565 loop inline rather than by using small_loop. Correct comments.
13566 Delete "zero" tail, use "end_max" instead.
13567 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13568
db9b4570
AM
135692013-10-04 Alan Modra <amodra@gmail.com>
13570
13571 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13572 support. Don't branch over align.
13573 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13574 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13575 support. Rearrange tmp reg use to suit. Comment.
13576 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13577
f7c399cf
AM
135782013-10-04 Alan Modra <amodra@gmail.com>
13579
13580 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13581
0b2c2ace
AM
135822013-10-04 Alan Modra <amodra@gmail.com>
13583
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13585 conditional form of branch and link when obtaining pc.
13586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13587
02f04a6c
AM
135882013-10-04 Alan Modra <amodra@gmail.com>
13589
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13591 HIWORD/LOWORD.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13594
9b874b2f
AM
135952013-10-04 Alan Modra <amodra@gmail.com>
13596
13597 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13598 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13599 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13600 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13601 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13602 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13603 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13604 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13605 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13606 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13607
be1e5d31
AB
136082013-10-04 Anton Blanchard <anton@au1.ibm.com>
13609 Alistair Popple <alistair@ozlabs.au.ibm.com>
13610 Alan Modra <amodra@gmail.com>
13611
13612 [BZ #15723]
13613 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13614 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13615 _dl_hwcap access for little-endian.
13616 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13617 destroy vmx regs when saving unaligned.
13618 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13619 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13620 destroy vmx regs when saving unaligned.
13621
fef13a78
AM
136222013-10-04 Alan Modra <amodra@gmail.com>
13623
13624 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13625 Don't use a union to pack hi/low value.
13626
76a66d51
AB
136272013-10-04 Anton Blanchard <anton@au1.ibm.com>
13628
13629 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13630 for little-endian.
13631 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13632 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13633 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13634 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13635 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13636
6a31fe7f
AM
136372013-10-04 Alan Modra <amodra@gmail.com>
13638
13639 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13640 constants to usual value for .cst8 section, and remove redundant
13641 high address load.
13642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13643 constant for 0x1p52. Load little-endian words of double from
13644 correct stack offsets.
13645
7b88401f
AM
136462013-10-04 Alan Modra <amodra@gmail.com>
13647
13648 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13649 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13650 words of double from correct stack offsets.
13651 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13652 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13653 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13654 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13656 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13657 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13658 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13659 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13660 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13661 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13663 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13664 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13665 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13666 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13667 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13668
9c008155
AM
136692013-10-04 Alan Modra <amodra@gmail.com>
13670
13671 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13672 64-bit int/double union.
13673 (_FPU_SETCW): Likewise.
13674 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13675 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13676
da13146d
AM
136772013-10-04 Alan Modra <amodra@gmail.com>
13678
13679 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13680 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13681
603e8410
AM
136822013-10-04 Alan Modra <amodra@gmail.com>
13683
13684 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13685 use vector int constants.
13686 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13687
4a28b3ca
AB
136882013-10-04 Anton Blanchard <anton@au1.ibm.com>
13689
13690 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13691 array with long long.
13692 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13693 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13694 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13695 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13696 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13697 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13698 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13699 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13700 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13701 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13702 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13703 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13704 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13705
2ca85d2b
AB
137062013-10-04 Anton Blanchard <anton@au1.ibm.com>
13707
13708 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13709 (__signbit): Likewise. Correct for little-endian.
13710 (__signbitl): Call __signbit.
13711 (lrint): Correct for little-endian.
13712 (lrintf): Call lrint.
13713
62a728ae
AM
137142013-10-04 Alan Modra <amodra@gmail.com>
13715
13716 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13717 union 32-bit int array member with 64-bit int array.
13718 (t515, tm256): Double rather than long double.
13719 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13720
32c301df
AM
137212013-10-04 Alan Modra <amodra@gmail.com>
13722
13723 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13724 Delete.
13725 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13727 version of math_ldbl.h.
13728
650ef4bd
AM
137292013-10-04 Alan Modra <amodra@gmail.com>
13730
13731 [BZ #15734], [BZ #15735]
13732 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13733 all uses of ieee875 long double macros and unions. Simplify test
13734 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13735 ldbl_extract_mantissa value for ix,iy exponents. Properly
13736 normalize after ldbl_extract_mantissa, and don't add hidden bit
13737 already handled. Don't treat low word of ieee854 mantissa like
13738 low word of IBM long double and mask off bit when testing for
13739 zero.
13740 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13741 all uses of ieee875 long double macros and unions. Simplify tests
13742 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13743 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13744 two1022, instead use their values. Recognise that tests for large
13745 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13746 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13747 Rewrite all uses of ieee875 long double macros and unions. Simplify
13748 test for 0.0L and nan. Correct negation.
13749 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13750 ieee875 long double macros and unions. Correct output for large
13751 magnitude x. Correct absolute value calculation.
13752 (__erfcl): Likewise.
13753 * math/libm-test.inc: Add tests for errors discovered in IBM long
13754 double versions of fmodl, remainderl, erfl and erfcl.
13755
765714ca
AM
137562013-10-04 Alan Modra <amodra@gmail.com>
13757
13758 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13759 all uses of ieee854 long double macros and unions. Simplify tests
13760 for long doubles that are fully specified by the high double.
13761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13762 Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13764 Remove dead code too.
13765 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13766 (__ieee754_ynl): Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13770 Remove dead code too.
13771 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13775 Simplify.
13776 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13777 Simplify.
13778 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13781 Comment on variable precision.
13782 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13783 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13784 Likewise.
13785 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13787 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13788 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13789 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13790
4ebd120c
AM
137912013-10-04 Alan Modra <amodra@gmail.com>
13792
13793 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13794 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13795 all uses of ieee854 long double macros and unions.
13796 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13802 Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13809 Simplify sign and nan test too.
13810 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13813 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13814 Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13817 Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13823 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13824
1b6adf88
AM
138252013-10-04 Alan Modra <amodra@gmail.com>
13826
13827 * stdio-common/printf_size.c (__printf_size): Don't use
13828 union ieee854_long_double in fpnum union.
13829 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13830 signbit macro to retrieve sign from long double.
13831 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13832 retrieve sign from long double.
13833 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13834 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13835 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13836 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13837 * math/test-misc.c (main): Don't use union ieee854_long_double.
13838
4cf69995
AM
138392013-10-04 Alan Modra <amodra@gmail.com>
13840
13841 [BZ #15680]
13842 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13843 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13844 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13845 calculation. Remove unnecessary test for denormal exponent.
13846 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13847 Correct handling of denormals. Avoid undefined shift behaviour.
13848 Correct normalisation of low mantissa when low double is denormal.
13849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13850 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13851 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13852 Correct normalisation of low mantissa. Test for overflow of high
13853 mantissa and normalise.
13854 (ldbl_nearbyint): Use more readable constant for two52.
13855 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13856 (__mpn_construct_long_double): Fix test for overflow of high
13857 mantissa and correct normalisation. Avoid undefined shift.
13858
9605ca6c
AM
138592013-10-04 Alan Modra <amodra@gmail.com>
13860
13861 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13862 (union ibm_extended_long_double): Define as an array of ieee754_double.
13863 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13864 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13865 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13866 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13874
975569d0
JM
138752013-10-03 Joseph Myers <joseph@codesourcery.com>
13876
d3d23756
JM
13877 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13878 page size instead of calling getpagesize.
13879
975569d0
JM
13880 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13881 (LOCFILE_ALIGN_MASK): Likewise.
13882 (LOCFILE_ALIGN_UP): Likewise.
13883 (LOCFILE_ALIGNED_P): Likewise.
13884 * locale/programs/ld-collate.c (collate_output): Use the new
13885 macros instead of __alignof__ (int32_t).
13886 * locale/weight.h (findidx): Likewise.
13887
b1fe1f2b
OB
138882013-10-03 Ondřej Bílka <neleai@seznam.cz>
13889
13890 [BZ #431]
13891 * manual/string.texi: Fix strncat and wcsncat.
13892
5f855e35
BM
138932013-10-03 Brooks Moses <bmoses@google.com>
13894
13895 [BZ #15915]
13896 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13897 * Makerules: ...here, and adjust associated comments.
13898
3cef6009
WN
138992013-10-02 Will Newton <will.newton@linaro.org>
13900
13901 * malloc/Makefile: Add tst-pvalloc.
13902 * malloc/tst-pvalloc.c: New file.
13903
7815420b
WN
139042013-10-02 Will Newton <will.newton@linaro.org>
13905
13906 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13907 improve test coverage.
13908
4868b204
WN
139092013-10-02 Will Newton <will.newton@linaro.org>
13910
13911 * malloc/Makefile: Add tst-posix_memalign.
13912 * malloc/tst-posix_memalign.c: New file.
13913
29c793b3
EB
139142013-10-01 Eric Blake <eblake@redhat.com>
13915
13916 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13917 Use __THROWNL rather than __THROW on static functions.
13918
fd967522
PM
139192013-09-30 Petr Machata <pmachata@redhat.com>
13920
13921 * elf/elf.h (R_AARCH64_ABS16): New macro.
13922 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13923 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13924 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13925 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13926 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13927 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13928 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13929 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13930 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13931 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13932 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13933 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13934 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13935 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13936 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13937 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13938 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13939 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13940 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13941 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13942 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13943 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13944 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13945 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13946 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13947 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13948 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13949 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13950 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13951 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13952 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13953 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13954 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13955 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13956 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13957 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13958 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13959 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13960 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13961 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13962 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13963 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13964 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13965 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13966 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13967 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13968 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13969 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13970 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13971 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13972 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13973 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13974 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13975 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13976 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13977 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13978 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13979 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13980 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13981 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13982 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13983 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13984 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13985 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13986 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13987 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13988 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13989 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13990 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13991 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13992 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13993 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13994 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13995 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13996 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13997 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13998 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13999 (R_AARCH64_TLSDESC_LDR): Likewise.
14000 (R_AARCH64_TLSDESC_ADD): Likewise.
14001 (R_AARCH64_TLSDESC_CALL): Likewise.
14002
b2179107
AS
140032013-09-30 Andreas Schwab <schwab@suse.de>
14004
14005 [BZ #15048]
14006 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14007 the nss database lookup.
14008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14010
47f28d0a
MF
140112013-09-28 Mike Frysinger <vapier@gentoo.org>
14012
14013 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14014
140152013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
14016
14017 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14018 ${Bash-specific parameter/pattern/string} parameter expansion.
14019 * sysdeps/unix/make-syscalls.sh: Likewise.
14020
f4518a17
KK
140212013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14022
14023 * sysdeps/sh/stackguard-macros.h: New file.
14024
dc1a95c7
OB
140252013-09-26 Ondřej Bílka <neleai@seznam.cz>
14026
14027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14029 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14030 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14031 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14032 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14033
5ebbff8f
AZ
140342013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14035
14036 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14037 Fix thread ID register.
14038
4fd2cf9f
JM
140392013-09-25 Joseph Myers <joseph@codesourcery.com>
14040
14041 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14042 [POSIX || UNIX98]: Require rather than permitting all symbols from
14043 <time.h>.
14044 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14045 element of struct sched_param.
14046 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14047 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14048 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14049 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14050 constant.
14051
12c22bc4
OL
140522013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14053
14054 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14055 argument calculation.
14056
a03d8ea7
JM
140572013-09-24 Joseph Myers <joseph@codesourcery.com>
14058
14059 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14060 Expect macro.
14061 [POSIX] (pthread_attr_t): Do not require type.
14062 [POSIX] (pthread_cond_t): Likewise.
14063 [POSIX] (pthread_condattr_t): Likewise.
14064 [POSIX] (pthread_key_t): Likewise.
14065 [POSIX] (pthread_mutex_t): Likewise.
14066 [POSIX] (pthread_mutexattr_t): Likewise.
14067 [POSIX] (pthread_once_t): Likewise.
14068 [POSIX] (pthread_t): Likewise.
14069 [POSIX-based standards] (pthread_atfork): Expect function.
14070
6055173a
JM
140712013-09-24 Joseph Myers <joseph@codesourcery.com>
14072 Richard Sandiford <richard@codesourcery.com>
14073
14074 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14075 (swap_endianness_p): New extern variable.
14076 (set_big_endian): New inline function.
14077 (maybe_swap_uint32): Likewise.
14078 (maybe_swap_uint32_array): Likewise.
14079 (maybe_swap_uint32_obstack): Likewise.
14080 * locale/programs/locfile.c: Include <stdbool.h>.
14081 (swap_endianness_p): New variable.
14082 (add_locale_uint32): Call maybe_swap_uint32.
14083 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14084 (write_locale_data): Call maybe_swap_uint32_array.
14085 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14086 maybe_swap_uint32.
14087 (obstack_int32_grow_fast): Likewise.
14088 (output_weightwc): Call maybe_swap_uint32_obstack.
14089 (collate_output): Likewise.
14090 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14091 (OPT_LITTLE_ENDIAN): Likewise.
14092 (options): Add --little-endian and --big-endian options.
14093 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14094 * locale/programs/locarchive.c: Include "locfile.h".
14095 (GET): New macro.
14096 (SET): Likewise.
14097 (INC): Likewise.
14098 (create_archive): Use the new macros to access fields of
14099 structures directly mapped from or written to locale archives.
14100 (oldlocrecentcmp): Likewise.
14101 (enlarge_archive): Likewise.
14102 (insert_name): Likewise.
14103 (add_alias): Likewise.
14104 (add_locale): Likewise.
14105 (delete_locales_from_archive): Likewise.
14106 (show_archive_content): Likewise.
14107 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14108 locale data.
14109
39bf0bb4
RM
141102013-09-24 Roland McGrath <roland@hack.frob.com>
14111
14112 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14113 http://www.gnu.org/doc/freemanuals.texi.
14114 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14115
f02eed10
WN
141162013-09-24 Will Newton <will.newton@linaro.org>
14117
14118 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14119 macro.
14120
a3a6c312
JM
141212013-09-23 Joseph Myers <joseph@codesourcery.com>
14122
14123 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14124 unsigned char.
14125
107375ac
MR
141262013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14127
14128 * manual/threads.texi (POSIX Threads): Fix a typo.
14129
141f3a77
SP
141302013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14131
303e567a
SP
14132 [BZ #14547]
14133 * string/tst-strcoll-overflow.c: New test case.
14134 * string/Makefile (xtests): Add tst-strcoll-overflow.
14135 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14136 cache if string sizes may cause integer overflow.
14137
141f3a77
SP
14138 [BZ #14547]
14139 * string/strcoll_l.c (coll_seq): New members rule, idx,
14140 save_idx and back_us.
14141 (get_next_seq_nocache): New function.
14142 (do_compare_nocache): New function.
14143 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14144 when malloc fails.
14145
c61b4d41
CD
141462013-09-23 Carlos O'Donell <carlos@redhat.com>
14147
0b1f8e35
CD
14148 [BZ #15754]
14149 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14150 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14151 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14152
c61b4d41
CD
14153 [BZ #15754]
14154 * elf/Makefile (tests): Add tst-ptrguard1.
14155 (tests-static): Add tst-ptrguard1-static.
14156 (tst-ptrguard1-ARGS): Define.
14157 (tst-ptrguard1-static-ARGS): Define.
14158 * elf/tst-ptrguard1.c: New file.
14159 * elf/tst-ptrguard1-static.c: New file.
14160 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14161 * sysdeps/i386/stackguard-macros.h: Likewise.
14162 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14163 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14164 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14165 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14166 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14167 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14168
141692013-09-23 Hector Marco <hecmargi@upv.es>
14170 Ismael Ripoll <iripoll@disca.upv.es>
14171 Carlos O'Donell <carlos@redhat.com>
14172
14173 [BZ #15754]
14174 * sysdeps/generic/stackguard-macros.h: Define
14175 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14176 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14177 Define __pointer_chk_guard_local.
14178 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14179 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14180
f5f4e7b4
VV
141812013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14182
14183 [BZ #15859]
14184 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14185
5bb43a43
AS
141862013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14187
14188 * include/string.h (__ffs): Declare as hidden.
14189 * string/ffs.c (__ffs): Define as hidden.
14190 * sysdeps/i386/ffs.c (__ffs): Likewise.
14191 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14192 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14193 * sysdeps/s390/ffs.c (__ffs): Likewise.
14194 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14195
3ea5be54
AO
141962013-09-20 Alexandre Oliva <aoliva@redhat.com>
14197
ffb89e53
AO
14198 * NEWS: Mention malloc probes.
14199
322dea08
AO
14200 * malloc/arena.c (new_heap): New memory_heap_new probe.
14201 (grow_heap): New memory_heap_more probe.
14202 (shrink_heap): New memory_heap_less probe.
14203 (heap_trim): New memory_heap_free probe.
14204 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14205 (systrim): New memory_sbrk_less probe.
14206 * manual/probes.texi: Document them.
14207
655673f3
AO
14208 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14209 * manual/probes.texi: Document it.
14210
35fed6f1
AO
14211 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14212 (__libc_realloc): Add memory_realloc_retry probe.
14213 (__libc_memalign): Add memory_memalign_retry probe.
14214 (__libc_valloc): Add memory_valloc_retry probe.
14215 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14216 (__libc_calloc): Add memory_calloc_retry probe.
14217 * manual/probes.texi: Document them.
14218
6999d38c
AO
14219 * malloc/arena.c (get_free_list): Add probe
14220 memory_arena_reuse_free_list.
14221 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14222 and memory_arena_reuse.
14223 (arena_get2) [!PER_THREAD]: Likewise.
14224 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14225 memory_arena_reuse_realloc.
14226 * manual/probes.texi: Document them.
14227
0653427f
AO
14228 * malloc/malloc.c (__libc_free): Add
14229 memory_mallopt_free_dyn_thresholds probe.
14230 (__libc_mallopt): Add multiple memory_mallopt probes.
14231 * manual/probes.texi: Document them.
14232
3ea5be54
AO
14233 * malloc/malloc.c: Include stap-probe.h.
14234 (__libc_mallopt): Add memory_mallopt probe.
14235 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14236 * manual/probes.texi: New.
14237 * manual/Makefile (chapters): Add probes.
14238 * manual/threads.texi: Set next node.
14239
e35696c3 142402013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 14241
e35696c3
CL
14242 [BZ #15963, #13985]
14243 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14244 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14245 Add `Chinese' to `nan' entry name.
14246
4aafb73c
SP
142472013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14248
14249 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14250 (POLYNOMIAL): Likewise.
14251 (TAYLOR_SINCOS): Likewise.
14252 (TAYLOR_SLOW): Likewise.
14253 (__sin): Use TAYLOR_SINCOS.
14254 (__cos): Likewise.
14255 (slow): Use TAYLOR_SLOW.
14256 (sloww): Likewise.
14257 (bsloww): Likewise.
14258 (csloww): Likewise.
14259
d84f25c7
LD
142602013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14261
14262 * stdlib/strtod_l.c: Fix buffer overrun.
14263
5eea0404
SP
142642013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14265
7849ff93
SP
14266 * benchtests/Makefile (bench): Add sincos.
14267 * benchtests/bench-sincos.c: New file.
14268
cfa3c886
SP
14269 * math/libm-test.inc (cos_test_data): New test inputs.
14270 (sin_test_data): Likewise.
14271
b348e1e3
SP
14272 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14273 macro.
14274 (__sin): Use it.
14275 (__cos): Likewise.
14276 (slow1): Likewise.
14277 (slow2): Likewise.
14278 (sloww1): Likewise.
14279 (sloww2): Likewise.
14280 (bsloww1): Likewise.
14281 (bsloww2): Likewise.
14282 (cslow2): Likewise.
14283 (csloww1): Likewise.
14284 (csloww2): Likewise.
14285
6cce25f8
SP
14286 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14287 function.
14288 (__sin): Use it.
14289 (__cos): Likewise.
14290
5eea0404
SP
14291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14292 gotos.
14293 (__cos): Likewise.
14294
9c21573c
MR
142952013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14296
14297 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14298 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14299 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14300 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14301 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14302 * elf/cache.c (print_entry): Handle the new cache flags.
14303
24d22e65
JM
143042013-09-18 Joseph Myers <joseph@codesourcery.com>
14305 Aldy Hernandez <aldyh@redhat.com>
14306
14307 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14308 Change condition to [_SOFT_FLOAT].
14309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14321 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14324 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14325 declaration.
14326
d13ef066
JM
143272013-09-18 Joseph Myers <joseph@codesourcery.com>
14328
2e071de0
JM
14329 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14330 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14331 (__longjmp): Use LOAD_GP to load saved GPRs.
14332 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14333 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14334 (__sigsetjmp): Use SAVE_GP to save GPRs.
14335
d13ef066
JM
14336 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14337 Do not append -msoft-float.
14338 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14339
97a0650b
SP
143402013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14341
14342 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14343
11ca09e9
JM
143442013-09-17 Joseph Myers <joseph@codesourcery.com>
14345
14346 [BZ #15966]
14347 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14348 (_FPU_GETCW): Use initial "__" on variable and field names but not
14349 on macro parameter name.
14350 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14351 parentheses around reference to macro parameter.
14352
08ffcf34
RS
143532013-09-13 Richard Sandiford <richard@codesourcery.com>
14354
14355 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14356 prototype.
14357 (ctype_startup): Use uint32_t in cast and sizeof for
14358 ctype->charnames.
14359
ae7080d3
JL
143602013-09-11 Jia Liu <proljc@gmail.com>
14361
14362 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14363 __daddr_t_defined.
14364 [__FreeBSD__]: Likewise.
14365
5905e7b3
OB
143662013-09-11 Ondřej Bílka <neleai@seznam.cz>
14367
14368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14369 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14370 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14371 (strchr): Remove __strchr_sse42 ifunc selection.
14372 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14373 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14374
b987c776
WN
143752013-09-11 Will Newton <will.newton@linaro.org>
14376
14377 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14378 parameter to RES. Remove hardcoded 1000 value.
14379 * benchtests/bench-skeleton.c (main): Pass RES parameter
14380 to TIMING_INIT and multiply result by 1000.
14381
ddf985af
AZ
143822013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14383
14384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14385
ffdd3181
AS
143862013-09-11 Andreas Schwab <schwab@suse.de>
14387
14388 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14389 if not defined.
14390 (O_TMPFILE) [__USE_GNU]: Define.
14391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14392 Define.
14393
b73ed247
WN
143942013-09-11 Will Newton <will.newton@linaro.org>
14395
14396 [BZ #15857]
14397 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14398 does not overflow.
14399
55e17aad
WN
144002013-09-11 Will Newton <will.newton@linaro.org>
14401
14402 [BZ #15856]
14403 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14404 does not overflow.
14405
1159a193
WN
144062013-09-11 Will Newton <will.newton@linaro.org>
14407
14408 [BZ #15855]
14409 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14410 does not overflow.
14411
5905e7b3 144122013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
14413
14414 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14415 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14416 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14418 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14419
cdfc721b
AM
144202013-09-10 Allan McRae <allan@archlinux.org>
14421
aa04af00
AM
14422 [BZ #15748]
14423 * manual/arith.texi (Parsing of Floats): Clarify
14424 cross-reference.
14425
cdfc721b
AM
14426 [BZ #15849]
14427 * manual/install.texi (Running make install): Mention
14428 --enable-pt-chown.
14429 * INSTALL: Regenerated.
14430
95e7cf29
MR
144312013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14432
14433 * csu/init-first.c (_init): Remove the !SHARED condition around
14434 FPU control word initialization.
14435 * elf/dl-support.c (_dl_fpu_control): New variable.
14436 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14437 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14438 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14439 * math/test-fpucw-static.c: New file.
14440 * math/test-fpucw-ieee.c: New file.
14441 * math/test-fpucw-ieee-static.c: New file.
14442 * math/Makefile (tests): Add `test-fpucw-ieee' and
14443 `$(tests-static)'.
14444 (tests-static): New variable.
14445 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14446 dependency to...
14447 [($(build-shared),yes)]
14448 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14449 ... this.
14450 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14451 New dependency.
14452
83e43bf0
AM
144532013-09-09 Allan McRae <allan@archlinux.org>
14454
a9f5ce09
AM
14455 [BZ #15939]
14456 * manual/string.texi (Collation Functions): Fix typo in
14457 strcoll example.
14458 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14459
34829bc2
AM
14460 [BZ #15893]
14461 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14462
3932737d
AM
14463 [BZ #15892]
14464 * libio/memstream.c (open_memstream): Fix memory leak.
14465 * libio/wmemstream.c (open_wmemstream): Likewise.
14466
83e43bf0
AM
14467 [BZ #15895]
14468 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14469
0c66b8e9
WN
144702013-09-09 Will Newton <will.newton@linaro.org>
14471
14472 * malloc/Makefile: Add tst-realloc to tests.
14473 * malloc/tst-realloc.c: New file.
14474
f6b00fd1
AM
144752013-09-09 Allan McRae <allan@archlinux.org>
14476
14477 [BZ #15844]
14478 * COPYING: Update from GNU website to fix FSF address.
14479 * COPYING.LIB: Likewise.
14480
eec55e16
DM
144812013-09-06 David S. Miller <davem@davemloft.net>
14482
14483 * po/zh_TW.po: Update Chinese (traditional) translation from
14484 translation project.
14485
1ecbb381
RS
144862013-09-06 Richard Sandiford <richard@codesourcery.com>
14487 Joseph Myers <joseph@codesourcery.com>
14488
14489 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14490 "localeinfo.h".
14491 (obstack_chunk_alloc): New macro.
14492 (obstack_chunk_free): Likewise.
14493 (record_offset): New function.
14494 (init_locale_data): Likewise.
14495 (align_locale_data): Likewise.
14496 (add_locale_empty): Likewise.
14497 (add_locale_raw_data): Likewise.
14498 (add_locale_raw_obstack): Likewise.
14499 (add_locale_string): Likewise.
14500 (add_locale_wstring): Likewise.
14501 (add_locale_uint32): Likewise.
14502 (add_locale_uint32_array): Likewise.
14503 (add_locale_char): Likewise.
14504 (start_locale_structure): Likewise.
14505 (end_locale_structure): Likewise.
14506 (start_locale_prelude): Likewise.
14507 (end_locale_prelude): Likewise.
14508 (write_locale_data): Take locale_file structure rather than an
14509 iovec.
14510 * locale/programs/locfile.h: Include "obstack.h".
14511 (struct locale_file): Change to store locale file contents instead
14512 of header.
14513 (init_locale_data): New prototype.
14514 (align_locale_data): Likewise.
14515 (add_locale_empty): Likewise.
14516 (add_locale_raw_data): Likewise.
14517 (add_locale_raw_obstack): Likewise.
14518 (add_locale_string): Likewise.
14519 (add_locale_wstring): Likewise.
14520 (add_locale_uint32): Likewise.
14521 (add_locale_uint32_array): Likewise.
14522 (add_locale_char): Likewise.
14523 (start_locale_structure): Likewise.
14524 (end_locale_structure): Likewise.
14525 (start_locale_prelude): Likewise.
14526 (end_locale_prelude): Likewise.
14527 (write_locale_data): Update prototype.
14528 * locale/programs/3level.h (struct TABLE): Remove result field.
14529 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14530 Use new locale_file interface.
14531 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14532 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14533 * locale/programs/ld-address.c (address_output): Use new
14534 locale_file interface.
14535 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14536 NO_ADD_LOCALE.
14537 (collate_finish): Don't call collseq_table_finalize.
14538 (collate_output): Use new locale_file interface.
14539 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14540 in file.
14541 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14542 (TABLE): Move defines earlier in file.
14543 (ELEMENT): Likewise.
14544 (DEFAULT): Likewise.
14545 (wctrans_table_add): Move macro and inline function earlier in
14546 file.
14547 (struct wctype_table): Move type earlier in file.
14548 (add_locale_wctype_table): New static prototype.
14549 (struct locale_ctype_t): Use logical types instead of struct iovec
14550 pointers for members.
14551 (ctype_output): Use new locale_file interface.
14552 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14553 new locale_file interface.
14554 (allocate_arrays): Update for use of new locale_file interface.
14555 * locale/programs/ld-identification.c (identification_output): Use
14556 new locale_file interface.
14557 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14558 * locale/programs/ld-messages.c (messages_output): Likewise.
14559 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14560 * locale/programs/ld-name.c (name_output): Likewise.
14561 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14562 * locale/programs/ld-paper.c (paper_output): Likewise.
14563 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14564 * locale/programs/ld-time.c (time_output): Likewise.
14565
e029e2e5
AZ
145662013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14567
14568 * benchtests/Makefile: Add memrchr benchmark.
14569 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14570 benchmark as memrchr.
14571 * benchtests/bench-memrchr-ifunc.c: New file.
14572 * benchtests/bench-memrchr.c: New file.
14573
bbf6e8e4
WN
145742013-09-06 Will Newton <will.newton@linaro.org>
14575
14576 * benchtests/Makefile (string-bench): Add memcpy.
14577
6c82a2f8
CD
145782013-09-05 Carlos O'Donell <carlos@redhat.com>
14579 Cong Wang <amwang@redhat.com>
14580
e732c5f0 14581 [BZ #15850]
6c82a2f8
CD
14582 * sysdeps/unix/sysv/linux/bits/in.h
14583 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14584 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14585 before __USE_KERNEL_IPV6_DEFS uses.
14586 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14587 IPPROTO_BEETPH.
14588 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14589 sockaddr_in6, or ipv6_mreq.
14590
5430fc65
AZ
145912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14592
14593 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14594 memory access for final bytes in some large inputs.
14595 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14596
4660856c
AZ
145972013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14598
14599 * string/test-memrchr.c: New file.
14600 * string/test-memrchr-ifunc.c: New file.
14601 * string/Makefile: Add new memrchr testcase.
14602
bb8ea713
MF
146032013-09-05 Mike Frysinger <vapier@gentoo.org>
14604
14605 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14606 fanotify_init returns EPERM.
14607
b92a20b5
JM
146082013-09-04 Joseph Myers <joseph@codesourcery.com>
14609
14610 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14611 errors.
14612 (top level): Treat second token from macro or constant entries for
14613 allowed headers as allowed.
14614 * include/complex.h: Condition internal declarations on
14615 [!_ISOMAC].
14616 * include/fenv.h: Condition include of <stdbool.h> and internal
14617 declarations on [!_ISOMAC].
7447ccd9
CL
14618
146192013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14620
3e181dda 14621 [BZ #15923]
7447ccd9
CL
14622 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14623
3f2e46a4
JM
146242013-09-04 Joseph Myers <joseph@codesourcery.com>
14625
14626 * configure.in (--enable-versioning): Remove configure option.
14627 (libc_cv_asm_symver_directive): Remove configure test.
14628 (libc_cv_ld_version_script_option): Likewise.
14629 (VERSIONING): Remove variable and AC_SUBST.
14630 (DO_VERSIONING): Remove AC_DEFINE.
14631 * configure: Regenerated.
14632 * config.h.in (DO_VERSIONING): Remove macro.
14633 * Makerules [$(versioning) = yes]: Change conditionals to
14634 [$(build-shared) = yes].
14635 * config.make.in (versioning): Remove variable.
14636 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14637 [$(build-shared) = yes].
14638 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14639 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14640 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14641 [$(build-shared) = yes].
14642 * extra-lib.mk [$(versioning) = yes]: Likewise.
14643 * hurd/Makefile [$(versioning) = yes]: Likewise.
14644 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14645 [SHARED].
14646 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14647 [SHARED].
14648 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14649 [SHARED && !NO_HIDDEN].
14650 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14651 [SHARED].
14652 [SHARED && DO_VERSIONING]: Likewise..
14653 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14654 [$(build-shared) = yes].
14655 * manual/install.texi (--disable-versioning): Remove
14656 documentation.
14657 * INSTALL: Regenerated.
14658 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14659 to [SHARED].
14660 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14661 [$(build-shared) = yes].
14662 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14663 * sysdeps/i386/i686/multiarch/strstr-c.c
14664 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14665 [SHARED && !NO_HIDDEN].
14666 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14667 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14668 * sysdeps/powerpc/powerpc32/dl-machine.c
14669 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14670 * sysdeps/powerpc/powerpc32/sysdep.h
14671 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14672 to [SHARED && PIC && !NO_HIDDEN].
14673 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14674 conditional to [SHARED].
14675
44558701
WN
146762013-09-04 Will Newton <will.newton@linaro.org>
14677
14678 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14679 * benchtests/bench-string.h: Include bench-timing.h instead
14680 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14681 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14682 call to HP_TIMING_DIFF_INIT.
14683 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14684 instead of hp-timing.h macros.
14685 * benchtests/bench-memchr.c: Likewise.
14686 * benchtests/bench-memcmp.c: Likewise.
14687 * benchtests/bench-memcpy.c: Likewise.
14688 * benchtests/bench-memmem.c: Likewise.
14689 * benchtests/bench-memmove.c: Likewise.
14690 * benchtests/bench-memset.c: Likewise.
14691 * benchtests/bench-rawmemchr.c: Likewise.
14692 * benchtests/bench-strcasecmp.c: Likewise.
14693 * benchtests/bench-strcasestr.c: Likewise.
14694 * benchtests/bench-strcat.c: Likewise.
14695 * benchtests/bench-strchr.c: Likewise.
14696 * benchtests/bench-strcmp.c: Likewise.
14697 * benchtests/bench-strcpy.c: Likewise.
14698 * benchtests/bench-strcpy_chk.c: Likewise.
14699 * benchtests/bench-strlen.c: Likewise.
14700 * benchtests/bench-strncasecmp.c: Likewise.
14701 * benchtests/bench-strncat.c: Likewise.
14702 * benchtests/bench-strncmp.c: Likewise.
14703 * benchtests/bench-strncpy.c: Likewise.
14704 * benchtests/bench-strnlen.c: Likewise.
14705 * benchtests/bench-strpbrk.c: Likewise.
14706 * benchtests/bench-strrchr.c: Likewise.
14707 * benchtests/bench-strspn.c: Likewise.
14708 * benchtests/bench-strstr.c: Likewise.
14709
cae16d66
WN
147102013-09-04 Will Newton <will.newton@linaro.org>
14711
14712 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14713
ffa3cd7f
JM
147142013-09-03 Joseph Myers <joseph@codesourcery.com>
14715
14716 [BZ #15427]
14717 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14718 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14719 * math/libm-test.inc (lgamma_test_data): Add more tests.
14720 * sysdeps/i386/fpu/libm-test-ulps: Update.
14721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14722
8f02859f
OB
147232013-09-03 Ondřej Bílka <neleai@seznam.cz>
14724
14725 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14727 Add ifunc.
14728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14729 Add strcmp-sse2-unaligned
14730 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14731
18d43716
MF
147322013-09-02 Mike Frysinger <vapier@gentoo.org>
14733
14734 * Versions.def (libc): Add GLIBC_2.19.
14735
ac444012
MF
147362013-09-02 Mike Frysinger <vapier@gentoo.org>
14737
14738 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14739 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14740
b7835e32
JM
147412013-09-02 Joseph Myers <joseph@codesourcery.com>
14742
14743 [BZ #14155]
14744 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14745 intermediate calculations in recurrence.
14746 (__ieee754_ynf): Likewise.
14747 * math/libm-test.inc (jn_test_data): Do not allow spurious
14748 underflow exception. Add more tests.
14749 (yn_test_data): Add more tests.
14750 * sysdeps/i386/fpu/libm-test-ulps: Update.
14751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14752
8220f4f0
OB
147532013-09-02 Ondřej Bílka <neleai@seznam.cz>
14754
14755 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14756
f24a6d08
OB
147572013-08-30 Ondřej Bílka <neleai@seznam.cz>
14758
14759 * csu/init-first.c: Fix then/than typos.
14760 * locale/programs/ld-collate.c: Likewise.
14761 * locale/programs/linereader.h: Likewise.
14762 * manual/charset.texi: Likewise.
14763 * manual/filesys.texi: Likewise.
14764 * manual/stdio.texi: Likewise.
14765 * manual/string.texi: Likewise.
14766 * stdlib/fmtmsg.c: Likewise.
14767 * sysdeps/i386/stpncpy.S: Likewise.
14768 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14769 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14770 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14771 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14772
382466e0
OB
147732013-08-30 Ondřej Bílka <neleai@seznam.cz>
14774
14775 * elf/dl-open.c: Fix typos.
14776 * iconvdata/gbbig5.c: Likewise.
14777 * iconvdata/iso-2022-jp.c: Likewise.
14778 * iconv/gconv_int.h: Likewise.
14779 * iconv/loop.c: Likewise.
14780 * nis/rpcsvc/nis.h: Likewise.
14781 * resolv/ns_name.c: Likewise.
14782 * stdio-common/vfscanf.c: Likewise.
14783 * streams/stropts.h: Likewise.
14784 * sunrpc/rpc_thread.c: Likewise.
14785 * sysdeps/i386/strpbrk.S: Likewise.
14786 * sysdeps/ieee754/k_standard.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14789 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14790 * sysdeps/mach/hurd/profil.c: Likewise.
14791 * sysdeps/s390/dl-procinfo.h: Likewise.
14792 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14793 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14794 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14795 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14797
0186c6e9
OB
147982013-08-30 Ondřej Bílka <neleai@seznam.cz>
14799
14800 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14802
d4e16af1
OB
148032013-08-29 Ondřej Bílka <neleai@seznam.cz>
14804
14805 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14806 aix specific files.
14807 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14808 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14809 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14810 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14811 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14812 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14813 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14814 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14815
88335980
TS
148162013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14817 Roland McGrath <roland@hack.frob.com>
14818
14819 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14820 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14821
ed479b02
ST
148222013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14823
14824 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14825 __executable_start symbol instead of _start.
14826
f1cc4c86
TS
148272013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14828
d821f07c
TS
14829 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14830 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14831 Move macros to...
14832 * sysdeps/gnu/ldsodefs.h: ... this new file.
14833
c54290cf
TS
14834 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14835 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14836 instead of ELFOSABI_LINUX.
14837
0007fc9b 14838 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
14839 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14840 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14841 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14842 Likewise.
14843 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14844 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14846 Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14848 (ibm_extended_long_double): Add ieee_nan member.
14849 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14850 (do_test): New function.
14851
f1cc4c86
TS
14852 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14853 TEST_TRUNC.
14854 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14855 functions, renamed from truncdfsf_test, trunctfsf_test,
14856 trunctfdf_test.
14857 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14858 functions.
14859 (do_test): Run all these.
14860
6f65e668
OB
148612013-08-29 Ondřej Bílka <neleai@seznam.cz>
14862
14863 * argp/argp-help.c: Fix typos.
14864 * argp/argp-parse.c: Likewise.
14865 * debug/backtracesyms.c: Likewise.
14866 * elf/elf.h: Likewise.
14867 * malloc/malloc.c: Likewise.
14868 * nis/nis_print.c: Likewise.
14869 * resolv/res_comp.c: Likewise.
14870 * stdlib/stdlib.h: Likewise.
14871 * sunrpc/clnt_tcp.c: Likewise.
14872 * sunrpc/clnt_udp.c: Likewise.
14873 * sunrpc/clnt_unix.c: Likewise.
14874 * sysdeps/unix/bsd/ptsname.c: Likewise.
14875 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14876 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14878 Likewise.
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14880 Likewise.
14881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14882 Likewise.
6f65e668
OB
14883 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14884
3a309239
SP
148852013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14886
14887 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14889
3b813b29
MF
148902013-08-27 Mike Frysinger <vapier@gentoo.org>
14891
14892 [BZ #15897]
14893 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14894 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14895 ($(objpfx)bug-dl-leaf): New rule.
14896 ($(objpfx)bug-dl-leaf.so): Likewise.
14897 ($(objpfx)bug-dl-leaf.out): Likewise.
14898 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14899 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14900 * dlfcn/bug-dl-leaf.c: New test.
14901 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14902 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14903 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14904 (dlclose): Likewise.
14905 (dlmopen): Likewise.
14906
8cc3269f
RM
149072013-08-27 Roland McGrath <roland@hack.frob.com>
14908
7f9d0034
RM
14909 * include/netdb.h [!_ISOMAC]:
14910 Don't include <tls.h>.
14911 (h_errno, __libc_h_errno): Move declaration and macros out of
14912 [_LIBC_REENTRANT].
14913
fb431262
RM
14914 * include/resolv.h [_RESOLV_H_]:
14915 Don't include <tls.h>.
14916 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14917 * resolv/res_libc.c: Don't include <tls.h>.
14918 (_res): Use __attribute__ ((nocommon)) in place of
14919 __attribute__ ((section (".bss"))).
14920
bd81123a
RM
14921 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14922 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14923
c4e42566
RM
14924 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14925
f890a59b
RM
14926 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14927 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14928
14929 * resolv/res_mkquery.c: Include <sys/time.h>.
14930
5d1f0a09
RM
14931 * inet/ifreq.c: Moved to ...
14932 * sysdeps/unix/ifreq.c: ... here.
14933 * inet/ifreq.c: New file, true stub version.
14934
6fcf28b3
RM
14935 * socket/sa_len.c: New file.
14936 * socket/Makefile (aux): Add it.
14937 * sysdeps/unix/sysv/linux/Makefile
14938 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14939 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14940 and #include <socket/sa_len.c>.
14941 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14942 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14943
e041fb8b
RM
14944 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14945 * bits/socket.h: ... here.
14946
8cc3269f
RM
14947 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14948 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14949 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14950
5d228a43
AS
149512013-08-27 Andreas Schwab <schwab@suse.de>
14952
45b8accc
AS
14953 [BZ #15736]
14954 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14955 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14956 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14957 * string/test-strcasecmp.c (test_main): Run tests in several
14958 locales.
14959 * string/test-strncasecmp.c (test_main): Likewise.
14960
5d228a43
AS
14961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14962 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14963 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14965 (__strncasecmp_ssse3) [PIC]: Likewise.
14966
59d112a4
RM
149672013-08-26 Roland McGrath <roland@hack.frob.com>
14968
53234cc3
RM
14969 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14970
59d112a4
RM
14971 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14972 instead of explicitly declaring xdecrypt.
14973 * nis/nss_nis/nis-publickey.c: Likewise.
14974
595aba70
SP
149752013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14976
14977 [BZ #15890]
14978 * nscd/aicache.c: Include res_hconf.h.
14979 (addhstaiX): Initialize res_hconf.
14980
ffabd393
AS
149812013-08-26 Andreas Schwab <schwab@suse.de>
14982
14983 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14984 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14985
e0a69f5c
SP
149862013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14987
14988 * nscd/aicache.c (addhstaiX): Fix indentation.
14989
8c12f01d
MF
149902013-08-25 Mike Frysinger <vapier@gentoo.org>
14991
14992 * configure.ac: Quote $build_pt_chown test.
14993 * configure: Regenerated.
14994
8fe89494
JM
149952013-08-23 Joseph Myers <joseph@codesourcery.com>
14996
14997 [BZ #15532]
14998 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14999 * math/s_cexpf.c (__cexpf): Likewise.
15000 * math/s_cexpl.c (__cexpl): Likewise.
15001 * math/libm-test.inc (cexp_test_data): Correct expected return
15002 value for NaN + i0. Add another test.
15003
75b181d6
DM
150042013-08-22 David S. Miller <davem@davemloft.net>
15005
15006 * po/ca.po: Update Catalan translation from translation project.
936241e4 15007 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 15008
acd06bb1
JM
150092013-08-21 Joseph Myers <joseph@codesourcery.com>
15010
15011 [BZ #15797]
15012 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15013 is infinite, not alongside NaN test.
15014 * math/s_fdimf.c (__fdimf): Likewise.
15015 * math/s_fdiml.c (__fdiml): Likewise.
15016 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15017 errno is unchanged.
15018
c0c3f78a
OB
150192013-08-21 Ondřej Bílka <neleai@seznam.cz>
15020
15021 * argp/argp-help.c: Fix typos.
15022 * crypt/speeds.c: Likewise.
15023 * csu/check_fds.c: Likewise.
15024 * elf/dl-load.c: Likewise.
15025 * elf/dl-open.c: Likewise.
15026 * elf/reldep3.c: Likewise.
15027 * elf/reldep.c: Likewise.
15028 * elf/sprof.c: Likewise.
15029 * iconv/iconv_charmap.c: Likewise.
15030 * iconv/skeleton.c: Likewise.
15031 * iconv/strtab.c: Likewise.
15032 * io/lockf64.c: Likewise.
15033 * libio/libioP.h: Likewise.
15034 * resolv/gai_notify.c: Likewise.
15035 * resolv/ns_name.c: Likewise.
15036 * resolv/ns_samedomain.c: Likewise.
15037 * resolv/res_send.c: Likewise.
15038 * stdlib/random.c: Likewise.
15039 * sunrpc/rpc/xdr.h: Likewise.
15040 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15041 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15042 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15043 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15045 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15047 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15048 * sysdeps/mach/hurd/check_fds.c: Likewise.
15049 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15050 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15051 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15052 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15053 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15054 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15055 * sysdeps/pthread/aio_notify.c: Likewise.
15056 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15057 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15058 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15059 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15060 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15061
46ed1038
LD
150622013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15063
15064 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15065 version if bit_Slow_SSE4_2 is set.
15066 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15067 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15068
d400dcac
AZ
150692013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15070
15071 [BZ #15867]
15072 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15073 trampoline stack frame information.
15074 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15076 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15077 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15078 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15079 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15080 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15081 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15082 sa_flags value.
15083 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15084 interrupting a syscall and set with option SA_SIGINFO.
15085
42c8fdd8
JM
150862013-08-20 Joseph Myers <joseph@codesourcery.com>
15087
c980f2f4
JM
15088 [BZ #15531]
15089 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15090 argument is infinite.
15091 * math/s_cprojf.c (__cprojf): Likewise.
15092 * math/s_cprojl.c (__cprojl): Likewise.
15093 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15094 * math/libm-test.inc (cproj_test_data): Add more tests.
15095
0716c4fc
JM
15096 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15097
42c8fdd8
JM
15098 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15099 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15100 size. Use __ffs to determine corresponding shift.
15101
b31469d0
JM
151022013-08-20 Joseph Myers <joseph@codesourcery.com>
15103 Roland McGrath <roland@hack.frob.com>
15104
15105 * Makefile (INSTALL): Remove trailing blank lines from output of
15106 makeinfo.
15107
4e39af6e
AK
151082013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15109
15110 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15111 Align 32 bit compat elf_greg to 8 bytes.
15112
f315524e
AA
151132013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15114
15115 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15116
1326ba1a
SP
151172013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15118
15119 * string/strcoll_l.c (coll_seq): New structure.
15120 (get_next_seq_cached): New function.
15121 (get_next_seq): New function.
15122 (do_compare): New function.
15123 (STRCOLL): Use GNU style definition. Simplify implementation
15124 by using get_next_seq, get_next_seq_cached and do_compare.
15125
91ce4085
FW
151262013-08-16 Florian Weimer <fweimer@redhat.com>
15127
15128 [BZ #14699]
15129 CVE-2013-4237
15130 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15131 member.
15132 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15133 member.
15134 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15135 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15136 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15137 conditional.
15138 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15139 GETDENTS_64BIT_ALIGNED.
15140 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15141 * manual/filesys.texi (Reading/Closing Directory): Document
15142 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15143 strongly.
15144 * manual/conf.texi (Limits for Files): Add portability note to
15145 NAME_MAX, PATH_MAX.
15146 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15147
ca0a6bc4
AS
151482013-08-13 Andreas Schwab <schwab@suse.de>
15149
15150 [BZ #15749]
15151 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15152 of fabs.
15153 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15154 LDBL_MAX_EXP >= 16384]: Add tests for it.
15155
6c1fd795
DM
151562013-08-12 David S. Miller <davem@davemloft.net>
15157
15158 * version.h (RELEASE): Set to "development".
15159 (VERSION): Set to "2.18.90".
15160 * NEWS: Add 2.19 section.
15161
31ad488d
DM
151622013-08-03 David S. Miller <davem@davemloft.net>
15163
15164 * po/ko.po: Update Korean translation from translation project.
15165
db24e684
DM
151662013-08-01 David S. Miller <davem@davemloft.net>
15167
15168 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15169 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15170 Bilka.
15171
f723285b
DM
151722013-07-30 David S. Miller <davem@davemloft.net>
15173
15174 * po/fr.po: Update French translation from translation project.
15175
3cbc52db
DM
151762013-07-28 David S. Miller <davem@davemloft.net>
15177
30bbc0cc
DM
15178 * po/cs.po: Update Czech translation from translation project.
15179
3cbc52db
DM
15180 * po/sv.po: Update Swedish translation from translation project.
15181
d492e6d0
DM
151822013-07-27 David S. Miller <davem@davemloft.net>
15183
f1a7f492
DM
15184 * po/eo.po: Update Esperanto translation from translation project.
15185
90e62a4a
DM
15186 * po/vi.po: Update Vietnamese translation from translation project.
15187
d492e6d0
DM
15188 * po/de.po: Update German translation from translation project.
15189
d4baa62d
DM
151902013-07-26 David S. Miller <davem@davemloft.net>
15191
641aa7b4
DM
15192 * po/bg.po: Update Bulgarian translation from translation project.
15193
d4baa62d
DM
15194 * po/nl.po: Update Dutch translation from translation project.
15195 * po/pl.po: Update Polish translation from translation project.
15196 * po/ru.po: Update Russian translation from translation project.
15197
61a9dcb9
DM
151982013-07-24 David S. Miller <davem@davemloft.net>
15199
15200 * po/libc.pot: Update.
15201
7b1f8b58
AZ
152022013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15203
15204 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15205 variable page size.
15206 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15207 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15208 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15209
a8fc7a03
AK
152102013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15211
15212 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15213
e4608715
CD
152142013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15215 Andreas Schwab <schwab@suse.de>
15216 Roland McGrath <roland@hack.frob.com>
15217 Joseph Myers <joseph@codesourcery.com>
15218 Carlos O'Donell <carlos@redhat.com>
15219
15220 [BZ #15755]
15221 * config.h.in: Define HAVE_PT_CHOWN.
15222 * config.make.in (build-pt-chown): New variable.
15223 * configure.in (--enable-pt_chown): New configure option.
15224 * configure: Regenerate.
15225 * login/Makefile: Include Makeconfig. Build pt_chown only if
15226 build-pt-chown is enabled.
15227 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15228 pt_chown to fix pty ownership.
15229 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15230 CLOSE_ALL_FDS.
15231 * manual/install.texi (Configuring and compiling): Mention
15232 --enable-pt_chown. Add @findex for grantpt.
15233 * INSTALL: Regenerate.
15234
da2d62df
DM
152352013-07-20 David S. Miller <davem@davemloft.net>
15236
15237 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15238 difference between 32-bit and 64-bit.
15239
d7e06450
CD
152402013-07-15 Carlos O'Donell <carlos@redhat.com>
15241
15242 [BZ #15711]
15243 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15244 Avoid system header dependency with -ffreestanding.
15245 ($(objpfx)bits/syscall%d): Likewise.
15246
f959cfd7
DM
152472013-07-13 David S. Miller <davem@davemloft.net>
15248
15249 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15250 underflows from atanl/atan2l due to bug 15319.
15251 (casinh_test_data): Likewise.
15252
c61f8513
DM
152532013-07-07 David S. Miller <davem@davemloft.net>
15254
15255 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15256
72c90ed0
JA
152572013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15258
15259 * sysdeps/i386/fpu/libm-test-ulps: Update.
15260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15261
52dfbe13
SP
152622013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15263
15264 * configure.in (--enable-lock-elision): Fix message text.
15265 * INSTALL: Regenerate.
15266 * configure: Regenerate.
15267
3f169543
AZ
152682013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15269
15270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15271
521c6785
AJ
152722013-07-03 Andreas Jaeger <aj@suse.de>
15273
15274 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15275 define.
15276 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15277 (ptrace_peeksiginfo_args): Add.
15278 (__ptrace_peeksiginfo_flags): Add.
15279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15282
d2cc15cb
AM
152832013-07-03 Allan McRae <allan@archlinux.org>
15284
15285 * sysdeps/i386/fpu/libm-test-ulps: Update.
15286
3aaeeca7
DM
152872013-07-02 David S. Miller <davem@davemloft.net>
15288
15289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15290
5314ed1a
MT
152912013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15292
15293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15294
67338156
JM
152952013-07-02 Joseph Myers <joseph@codesourcery.com>
15296
15297 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15299
1717da59
AK
153002013-07-02 Andi Kleen <ak@linux.intel.com>
15301
15302 * config.h.in (ENABLE_LOCK_ELISION): Add.
15303 * configure.in (--enable-lock-elision): Add option.
15304 * manual/install.texi: Document --enable lock elision.
15305 * configure: Regenerate
15306 * INSTALL: Regenerate.
15307
1c81621c
L
153082013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15309
15310 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15311 SSE4.2 strcasecmp for libc.a.
15312 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15313
77f01ab5
JM
153142013-07-02 Joseph Myers <joseph@codesourcery.com>
15315
15316 [BZ #13304]
15317 * soft-fp/op-common.h (_FP_FMA): New macro.
15318 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15319 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15320 (_FP_MUL_MEAT_1_imm): ... here.
15321 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15322 (_FP_MUL_MEAT_1_wide): ... here.
15323 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15324 (_FP_MUL_MEAT_1_hard): ... here.
15325 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15326 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15327 (_FP_MUL_MEAT_2_wide): ... here.
15328 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15329 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15330 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15331 (_FP_MUL_MEAT_2_gmp): ... here.
15332 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15333 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15334 (_FP_MUL_MEAT_4_wide): ... here.
15335 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15336 (_FP_MUL_MEAT_4_gmp): ... here.
15337 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15338 (_FP_WFRACBITS_DW_S): Likewise.
15339 (_FP_WFRACXBITS_DW_S): Likewise.
15340 (_FP_HIGHBIT_DW_S): Likewise.
15341 (FP_FMA_S): Likewise.
15342 (_FP_FRAC_HIGH_DW_S): Likewise.
15343 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15344 (_FP_WFRACBITS_DW_D): Likewise.
15345 (_FP_WFRACXBITS_DW_D): Likewise.
15346 (_FP_HIGHBIT_DW_D): Likewise.
15347 (FP_FMA_D): Likewise.
15348 (_FP_FRAC_HIGH_DW_D): Likewise.
15349 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15350 (_FP_WFRACBITS_DW_E): Likewise.
15351 (_FP_WFRACXBITS_DW_E): Likewise.
15352 (_FP_HIGHBIT_DW_E): Likewise.
15353 (FP_FMA_E): Likewise.
15354 (_FP_FRAC_HIGH_DW_E): Likewise.
15355 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15356 (_FP_WFRACBITS_DW_Q): Likewise.
15357 (_FP_WFRACXBITS_DW_Q): Likewise.
15358 (_FP_HIGHBIT_DW_Q): Likewise.
15359 (FP_FMA_Q): Likewise.
15360 (_FP_FRAC_HIGH_DW_Q): Likewise.
15361 * soft-fp/fmasf4.c: New file.
15362 * soft-fp/fmadf4.c: Likewise.
15363 * soft-fp/fmatf4.c: Likewise.
15364
6308fd9a
LD
153652013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15366
15367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15368 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15369 Silvermont.
15370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15371 macro.
15372 (index_Slow_SSE4_2): Likewise.
15373 (index_Prefer_PMINUB_for_stringop): Likewise.
15374 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15375 bit_Slow_SSE4_2 is set.
15376 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15377 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15378
89cd9569
RA
153792013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15380
15381 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15382 rtld_global._dl_hwcap2.
15383 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15384 POWER8.
15385 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15386 POWER8 feature descriptions defined in _dl_hwcap2.
15387 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15388 string handling for POWER8 feature bits.
15389 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15390 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15391 _dl_powerpc_cap_flags.
15392 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15393 * sysdeps/powerpc/rtld-global-offsets.sym
15394 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15395 _dl_hwcap2 in the rtld_global_ro structure.
15396
1ae8bfe0
RA
153972013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15398
15399 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15400 hardware capabilities in support of AT_HWCAP2.
15401 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15402 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15403 GLRO(dl_hwcap2).
15404 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15405 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15406 explicitly the unknown a_type display mechanism is used.
15407 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15408 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15409 struct member.
15410 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15411 to macro prototype for AT_HWCAP2 support.
15412 * sysdeps/i386/dl-procinfo.h: Likewise.
15413 * sysdeps/s390/dl-procinfo.h: Likewise.
15414 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15415 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15416 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15417 return -1 for unknown a_type display fallback.
15418 * sysdeps/sparc/dl-procinfo.h: Likewise.
15419 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15420 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15421
8fbec010
JM
154222013-06-28 Joseph Myers <joseph@codesourcery.com>
15423
15424 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15425 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15426
0432680e
PY
154272013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15428
15429 [BZ #12492]
15430 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15431 mprotect making __stack_prot writable.
15432
ce61a2ad
NF
154332013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15434 Joseph Myers <joseph@codesourcery.com>
15435
15436 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15437 as being properly aligned.
15438
f91f1c0f
MR
154392013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15440
3d0f5d0c
MR
15441 * dlfcn/modstatic5.c: New file.
15442 * dlfcn/tststatic5.c: New file.
15443 * dlfcn/Makefile (tests): Add tststatic5.
15444 (tests-static): Likewise.
15445 (modules-names): Add modstatic5.
15446 (tststatic5-ENV): New variable.
15447 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15448
f91f1c0f
MR
15449 [BZ #15022]
15450 * elf/dl-support.c (_dl_main_map): New variable.
15451 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15452 (_dl_nns, _dl_load_adds): Set to 1.
15453 (_dl_initial_searchlist): Refer to _dl_main_map.
15454 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15455 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15456 call to _dl_get_origin.
15457 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15458 around call_map.
15459 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15460 * dlfcn/modstatic3.c: New file.
15461 * dlfcn/tststatic3.c: New file.
15462 * dlfcn/tststatic4.c: New file.
15463 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15464 (tests-static): Likewise.
15465 (modules-names): Add modstatic3.
15466 (tststatic3-ENV, tststatic4-ENV): New variables.
15467 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15468 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15469
cbe7d24b
JM
154702013-06-26 Joseph Myers <joseph@codesourcery.com>
15471
15472 * configure.in (CC): Require GCC version 4.4 or later.
15473 * configure: Regenerated.
15474 * manual/install.texi (Tools for Compilation): Update GCC version
15475 requirement.
15476 * INSTALL: Regenerated.
15477
11b8a0e1
LD
154782013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15479
15480 [BZ #15674]
bb5bb87c
L
15481 * string/test-memcmp.c (check2): New.
15482 (main): Call check2.
15483
11b8a0e1
LD
15484 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15485
b0037103
MR
154862013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15487
15488 [BZ #15022]
15489 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15490 over to...
15491 (dl_open_worker) [!SHARED]: ... here.
15492
c18c701d
RA
154932013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15494
15495 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15496
1d17fa5f
RH
154972013-06-25 Richard Henderson <rth@redhat.com>
15498
15499 * locale/programs/locarchive.c: Include <libc-internal.h>
15500
8fcb833a
JM
155012013-06-25 Joseph Myers <joseph@codesourcery.com>
15502
15503 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15504 trailing whitespace removed.
15505
17db6e8d
MF
155062013-06-24 Mike Frysinger <vapier@gentoo.org>
15507
15508 [BZ #10283]
17db6e8d
MF
15509 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15510 * locale/programs/locarchive.c: Include libc-mmap.h.
15511 (prepare_address_space): Take two new outputs (the mmap base and len).
15512 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15513 values.
15514 (create_archive): Declare new mmap base and len values for
15515 prepare_address_space, and store the result in ah.
15516 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15517 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15518 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15519 Declare new mmap base and len values for
15520 prepare_address_space, and store the result in new_ah.
15521 (open_archive): Declare new mmap base and len values for
15522 prepare_address_space, and store the result in ah.
15523 (close_archive): If ah->mmap_base is not NULL, use that and
15524 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15525 * sysdeps/generic/libc-mmap.h: New file.
15526
d605071e
MF
155272013-06-24 Mike Frysinger <vapier@gentoo.org>
15528
15529 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15530 (ALIGN_UP): Likewise.
15531 (PTR_ALIGN_DOWN): Likewise.
15532 (PTR_ALIGN_UP): Likewise.
15533
2f063a6e
RA
155342013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15535
15536 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15537 entry mapped to PPC_PLATFORM_POWER8.
15538 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15539 POWER8.
15540 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15541 (_dl_string_platform): Add case for exporting platform position for
15542 POWER8.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15544 search path to sysdeps/powerpc/powerpc32/power8 directory.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15546 search path to sysdeps/powerpc/powerpc64/power8 directory.
15547 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15548 power7 directories.
15549 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15550 power7 directories.
15551
a31ee4b3
SP
155522013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15553
a74ca98f
SP
15554 * INSTALL: Regenerate.
15555
a31ee4b3
SP
15556 * nscd/connections.c (nscd_init): Fix comment.
15557
695c378f
JM
155582013-06-22 Joseph Myers <joseph@codesourcery.com>
15559
d8412221
JM
15560 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15561
695c378f
JM
15562 [BZ #15667]
15563 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15564 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15565
d1d54715
MR
155662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15567
15568 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15569 DL_DST_REQ_STATIC.
15570 (DL_DST_REQ_STATIC): Remove macro.
15571
8fdda7af
JM
155722013-06-21 Joseph Myers <joseph@codesourcery.com>
15573
15574 [BZ #7006]
15575 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15576 with a shift of 0 bits.
15577
f3bc5e5a
MR
155782013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15579
15580 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15581 $(tststatic-ENV).
15582
be09e8c9
KK
155832013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15584
15585 [BZ #15655]
15586 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15587
85c2e611
AZ
155882013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15589
15590 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15591 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15592 accepts -fno-tree-loop-distribute-patterns.
15593 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15594 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15595 recursive call.
15596 * string/memset.c (memset): Likewise.
15597 * string/test-memmove.c (simple_memmove): Disable loop transformation
15598 to library calls.
15599 * string/test-memset.c (simple_memset): Likewise.
15600 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15601 * benchtests/bench-memset.c (simple_memset): Likewise.
15602 * configure: Regenerated.
15603
c91e0825
JM
156042013-06-20 Joseph Myers <joseph@codesourcery.com>
15605
b8c792af
JM
15606 * math/test-misc.c (main): Ignore fesetround failure when failures
15607 of subsequent rounding tests would be ignored.
15608
c91e0825
JM
15609 [BZ #15654]
15610 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15611 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15612 * math/fegetenv.c (__fegetenv): Return 0.
15613 * math/fegetexcept.c (fegetexcept): Return 0.
15614 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15615 FE_TONEAREST.
15616 * math/feholdexcpt.c (feholdexcept): Return 0.
15617 * math/fesetenv.c (__fesetenv): Return 0.
15618 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15619 argument FE_TONEAREST.
15620 * math/feupdateenv.c (__feupdateenv): Return 0.
15621 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15622
bfcacbde
RM
156232013-06-18 Roland McGrath <roland@hack.frob.com>
15624
15625 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15626 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15627 ($(objpfx)rtld-%.os rules): Use them.
15628
e55a9b25
AZ
156292013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15630
15631 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15632 fields.
15633
346d65b3
RM
156342013-06-17 Roland McGrath <roland@hack.frob.com>
15635
12086fb4
RM
15636 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15637 length of target pattern, then descending length of dependency pattern.
15638 * configure.in (AWK): Require gawk 3.1.2 or newer.
15639 * manual/install.texi (Tools for Compilation): Say that we do.
15640 * configure: Regenerated.
15641
346d65b3
RM
15642 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15643 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15644 * scripts/sysd-rules.awk: ... this new script.
15645 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15646 than a glob-style pattern.
15647
1a846317
JM
156482013-06-17 Joseph Myers <joseph@codesourcery.com>
15649
15650 * math/test-misc.c (main): Do not treat incorrectly rounded
15651 conversions as failure unless ROUNDING_TESTS passes.
15652
8fc75e6f
JM
156532013-06-15 Joseph Myers <joseph@codesourcery.com>
15654
3711a167
JM
15655 [BZ #15631]
15656 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15657 restore exception state around main square root computation, then
15658 check for inexactness explicitly.
15659
8fc75e6f
JM
15660 * math/libm-test.inc (fma_test_data): Add another test.
15661
61dd6208
SP
156622013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15663
adf23d2c
SP
15664 * manual/threads.texi (Non-POSIX Extensions): New document
15665 node. Document pthread_getattr_default_np and
15666 pthread_setattr_default_np.
15667
61dd6208
SP
15668 * Versions.def (libpthread): Add GLIBC_2.18.
15669 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15671 Likewise.
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15673 Likewise.
15674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15675 Likewise.
15676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15677 Likewise.
15678 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15679 Likewise.
15680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15681 Likewise.
15682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15683 Likewise.
15684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15685 Likewise.
15686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15687 Likewise.
15688
d086fc7b
LD
156892013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15690
15691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15692 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15693
747ef469
SP
156942013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15695 H.J. Lu <hjl.tools@gmail.com>
15696
15697 [BZ #15627]
15698 * sysdeps/x86_64/rtld-memset.c: Remove file.
15699 * sysdeps/x86_64/rtld-memset.S: New file.
15700
1b2feed2
JM
157012013-06-14 Joseph Myers <joseph@codesourcery.com>
15702
15703 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15704 (test_in_one_mode): Take arguments for whether the rounding mode
15705 is supported for each floating-point type.
15706 (do_test): Pass new arguments to test_in_one_mode using
15707 ROUNDING_TESTS.
15708
a58ad3f8
RM
157092013-06-13 Roland McGrath <roland@hack.frob.com>
15710
15711 * posix/tst-waitid.c (do_test): Distinguish different instances of
15712 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15713 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15714 before entering the kernel for waitpid.
15715
c204ab28
SP
157162013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15717
15718 * NEWS: Fix note on clock function precision. Text by Roland
15719 McGrath.
15720
f4a29fba
RM
157212013-06-13 Roland McGrath <roland@hack.frob.com>
15722
15723 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15724 it into place only when and if the sanity check passes.
15725
1f24b9ad
JM
157262013-06-13 Joseph Myers <joseph@codesourcery.com>
15727
15728 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15729 output for whether conversion result is exact. Take argument
15730 indicating whether type is IBM long double.
15731 (round_for_all): Change need_exact field to ibm_ld.
15732 * stdlib/tst-strtod-round.c (struct exactness): New type.
15733 (struct test): Change bool ld_ok field to struct exactness exact.
15734 (TEST): Update all definitions for change to field.
15735 (tests): Regenerate array contents.
15736 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15737 field value. Check for IBM long double here.
15738 (do_test): Update calls to test_in_one_mode.
15739
58206c68
SP
157402013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15741
15742 [BZ #12515]
15743 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15744 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15745
2d6f4c5b 157462013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
15747
15748 [BZ #15605]
15749 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15750 generated by the compiler on loop optimizations.
15751 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15752 general definitions.
15753
94f2c076
JM
157542013-06-12 Joseph Myers <joseph@codesourcery.com>
15755
15756 * math/bug-nextafter.c: Include <math-tests.h>.
15757 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15758 the relevant type.
15759 * math/bug-nexttoward.c: Include <math-tests.h>.
15760 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15761 the relevant type.
15762 * math/test-misc.c: Include <math-tests.h>.
15763 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15764 the relevant type.
15765
e0e50a0a
AJ
157662013-06-12 Andreas Jaeger <aj@suse.de>
15767
15768 * po/ia.po: Update Interlingua translation from translation
15769 project.
15770
25061094
SP
157712013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15772
15773 * include/fenv.h: Include stdbool.h.
15774 (struct rm_ctx): New structure.
15775 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15776 Define macro.
15777 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15778 (SET_RESTORE_ROUNDF): Likewise.
15779 (SET_RESTORE_ROUNDL): Likewise.
15780 (SET_RESTORE_ROUND_NOEX): Likewise.
15781 (SET_RESTORE_ROUND_NOEXF): Likewise.
15782 (SET_RESTORE_ROUND_NOEXL): Likewise.
15783 (SET_RESTORE_ROUND_53BIT): Likewise.
15784 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15785 (libc_feresetround_noexf_ctx): Likewise.
15786 (libc_feresetround_noexl_ctx): Likewise.
15787 (libc_feholdsetround_53bit_ctx): Likewise.
15788 (libc_feresetround_53bit_ctx): Likewise.
15789 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15790 (libc_feholdexcept_setround_sse_ctx): New function.
15791 (libc_fesetenv_sse_ctx): Likewise.
15792 (libc_feupdateenv_sse_ctx): Likewise.
15793 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15794 (libc_feholdexcept_setround_387_ctx): Likewise.
15795 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15796 (libc_feholdsetround_387_prec_ctx): Likewise.
15797 (libc_feholdsetround_387_ctx): Likewise.
15798 (libc_feholdsetround_387_53bit_ctx): Likewise.
15799 (libc_feholdsetround_sse_ctx): Likewise.
15800 (libc_feresetround_sse_ctx): Likewise.
15801 (libc_feresetround_387_ctx): Likewise.
15802 (libc_feupdateenv_387_ctx): Likewise.
15803 (libc_feholdexcept_setroundf_ctx): Define macro.
15804 (libc_fesetenvf_ctx): Likewise.
15805 (libc_feupdateenvf_ctx): Likewise.
15806 (libc_feholdsetroundf_ctx): Likewise.
15807 (libc_feresetroundf_ctx): Likewise.
15808 (libc_feholdexcept_setround_ctx): Likewise.
15809 (libc_fesetenv_ctx): Likewise.
15810 (libc_feupdateenv_ctx): Likewise.
15811 (libc_feholdsetround_ctx): Likewise.
15812 (libc_feresetround_ctx): Likewise.
15813 (libc_feholdexcept_setroundl_ctx): Likewise.
15814 (libc_feupdateenvl_ctx): Likewise.
15815 (libc_feholdsetroundl_ctx): Likewise.
15816 (libc_feresetroundl_ctx): Likewise.
15817 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15818 (libc_feresetround_53bit_ctx): Likewise.
15819
59b30555
SP
158202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15821
15822 * locale/iso-639.def: Convert to UTF-8.
15823
f1d73d30
JM
158242013-06-11 Joseph Myers <joseph@codesourcery.com>
15825
15826 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15827 (EXCEPTION_TESTS_double): Likewise.
15828 (EXCEPTION_TESTS_long_double): Likewise.
15829 (EXCEPTION_TESTS): Likewise.
15830 * math/libm-test.inc (test_exceptions): Only test exceptions if
15831 EXCEPTION_TESTS (FLOAT).
15832
94aca5e7
SP
158332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15834
15835 * benchtests/Makefile (string-bench): Add strcpy_chk and
15836 stpcpy_chk.
15837 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15838 * benchtests/bench-stpcpy_chk.c: New file.
15839 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15840 * benchtests/bench-strcpy_chk.c: New file.
15841 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15842 code.
15843 (do_test): Likewise.
15844
fac0c5f2
RA
158452013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15846
15847 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15848 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15849 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15850 with tabs where appropriate.
15851 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15852 dl-procinfo.h.
15853 [PPC_PLATFORM_PPC440]: Likewise.
15854 [PPC_PLATFORM_PPC464]: Likewise.
15855 [PPC_PLATFORM_PPC476]: Likewise.
15856 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15857 ppc464, and ppc476 platform strings merging from ports/
15858 dl-procinfo.h.
15859
f22bc486
AS
158602013-06-11 Andreas Schwab <schwab@suse.de>
15861
15862 [BZ #14991]
15863 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15864 (from_ucs4_idx): Regenerate.
15865 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15866 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15867 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15868 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15869 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15870 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15871 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15872 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15873 from FROM_LOOP and TO_LOOP specific macros.
15874 (BODY): Handle combining characters.
15875 * iconvdata/BIG5HKSCS.irreversible: Update.
15876 * iconvdata/BIG5HKSCS.precomposed: New file.
15877 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15878 characters.
15879 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15880
c1f75dc3
SP
158812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15882
4eacded2
SP
15883 * include/sys/time.h: Fix indentation and add copyright header.
15884
fec799f8
SP
15885 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15886 (do_test): Likewise.
15887 * string/test-memchr.c (do_one_test): Likewise.
15888 (do_test): Likewise.
15889 * string/test-memcmp.c (do_one_test): Likewise.
15890 (do_test): Likewise.
15891 * string/test-memcpy.c (do_one_test): Likewise.
15892 (do_test): Likewise.
15893 * string/test-memmem.c (do_one_test): Likewise.
15894 (do_test): Likewise.
15895 (do_random_tests): Likewise.
15896 * string/test-memmove.c (do_one_test): Likewise.
15897 (do_test): Likewise.
15898 * string/test-memset.c (do_one_test): Likewise.
15899 (do_test): Likewise.
15900 * string/test-rawmemchr.c (do_one_test): Likewise.
15901 (do_test): Likewise.
15902 * string/test-strcasecmp.c (do_one_test): Likewise.
15903 (do_test): Likewise.
15904 * string/test-strcasestr.c (do_one_test): Likewise.
15905 (do_test): Likewise.
15906 * string/test-strcat.c (do_one_test): Likewise.
15907 (do_test): Likewise.
15908 * string/test-strchr.c (do_one_test): Likewise.
15909 (do_test): Likewise.
15910 * string/test-strcmp.c (do_one_test): Likewise.
15911 (do_test): Likewise.
15912 * string/test-strcpy.c (do_one_test): Likewise.
15913 (do_test): Likewise.
15914 * string/test-string.h: Likewise.
15915 (test_init): Likewise.
15916 * string/test-strlen.c (do_one_test): Likewise.
15917 (do_test): Likewise.
15918 * string/test-strncasecmp.c (do_one_test): Likewise.
15919 (do_test): Likewise.
15920 * string/test-strncat.c (do_one_test): Likewise.
15921 (do_test): Likewise.
15922 * string/test-strncmp.c (do_one_test): Likewise.
15923 (do_test_limit): Likewise.
15924 (do_test): Likewise.
15925 * string/test-strncpy.c (do_one_test): Likewise.
15926 (do_test): Likewise.
15927 * string/test-strnlen.c (do_one_test): Likewise.
15928 (do_test): Likewise.
15929 * string/test-strpbrk.c (do_one_test): Likewise.
15930 (do_test): Likewise.
15931 * string/test-strrchr.c (do_one_test): Likewise.
15932 (do_test): Likewise.
15933 * string/test-strspn.c (do_one_test): Likewise.
15934 (do_test): Likewise.
15935 * string/test-strstr.c (do_one_test): Likewise.
15936 (do_test): Likewise.
15937
97020474
SP
15938 * benchtests/Makefile (string-bench): Add string benchmarks.
15939 * benchtests/bench-bcopy-ifunc.c: New file.
15940 * benchtests/bench-bcopy.c: New file.
15941 * benchtests/bench-bzero-ifunc.c: New file.
15942 * benchtests/bench-bzero.c: New file.
15943 * benchtests/bench-memccpy-ifunc.c: New file.
15944 * benchtests/bench-memccpy.c: New file.
15945 * benchtests/bench-memchr-ifunc.c: New file.
15946 * benchtests/bench-memchr.c: New file.
15947 * benchtests/bench-memcmp-ifunc.c: New file.
15948 * benchtests/bench-memcmp.c: New file.
15949 * benchtests/bench-memmem-ifunc.c: New file.
15950 * benchtests/bench-memmem.c: New file.
15951 * benchtests/bench-memmove-ifunc.c: New file.
15952 * benchtests/bench-memmove.c: New file.
15953 * benchtests/bench-mempcpy-ifunc.c: New file.
15954 * benchtests/bench-mempcpy.c: New file.
15955 * benchtests/bench-memset-ifunc.c: New file.
15956 * benchtests/bench-memset.c: New file.
15957 * benchtests/bench-rawmemchr-ifunc.c: New file.
15958 * benchtests/bench-rawmemchr.c: New file.
15959 * benchtests/bench-stpcpy-ifunc.c: New file.
15960 * benchtests/bench-stpcpy.c: New file.
15961 * benchtests/bench-stpncpy-ifunc.c: New file.
15962 * benchtests/bench-stpncpy.c: New file.
15963 * benchtests/bench-strcasecmp-ifunc.c: New file.
15964 * benchtests/bench-strcasecmp.c: New file.
15965 * benchtests/bench-strcasestr-ifunc.c: New file.
15966 * benchtests/bench-strcasestr.c: New file.
15967 * benchtests/bench-strcat-ifunc.c: New file.
15968 * benchtests/bench-strcat.c: New file.
15969 * benchtests/bench-strchr-ifunc.c: New file.
15970 * benchtests/bench-strchr.c: New file.
15971 * benchtests/bench-strchrnul-ifunc.c: New file.
15972 * benchtests/bench-strchrnul.c: New file.
15973 * benchtests/bench-strcmp-ifunc.c: New file.
15974 * benchtests/bench-strcmp.c: New file.
15975 * benchtests/bench-strcpy-ifunc.c: New file.
15976 * benchtests/bench-strcpy.c: New file.
15977 * benchtests/bench-strcspn-ifunc.c: New file.
15978 * benchtests/bench-strcspn.c: New file.
15979 * benchtests/bench-strlen-ifunc.c: New file.
15980 * benchtests/bench-strlen.c: New file.
15981 * benchtests/bench-strncasecmp-ifunc.c: New file.
15982 * benchtests/bench-strncasecmp.c: New file.
15983 * benchtests/bench-strncat-ifunc.c: New file.
15984 * benchtests/bench-strncat.c: New file.
15985 * benchtests/bench-strncmp-ifunc.c: New file.
15986 * benchtests/bench-strncmp.c: New file.
15987 * benchtests/bench-strncpy-ifunc.c: New file.
15988 * benchtests/bench-strncpy.c: New file.
15989 * benchtests/bench-strnlen-ifunc.c: New file.
15990 * benchtests/bench-strnlen.c: New file.
15991 * benchtests/bench-strpbrk-ifunc.c: New file.
15992 * benchtests/bench-strpbrk.c: New file.
15993 * benchtests/bench-strrchr-ifunc.c: New file.
15994 * benchtests/bench-strrchr.c: New file.
15995 * benchtests/bench-strspn-ifunc.c: New file.
15996 * benchtests/bench-strspn.c: New file.
15997 * benchtests/bench-strstr-ifunc.c: New file.
15998 * benchtests/bench-strstr.c: New file.
15999
c1f75dc3
SP
16000 * benchtests/Makefile: Disable parallel execution of targets.
16001 (string-bench): Add memcpy.
16002 (benchset): New variable to store a list of benchmark sets.
16003 (bench-func): Renamed from bench.
16004 (bench-set): New target.
16005 (bench): Depend on bench-func and bench-set.
16006 * benchtests/README: Add section on benchmark sets.
16007 * benchtests/bench-memcpy-ifunc.c: New file.
16008 * benchtests/bench-memcpy.c: New file.
16009 * benchtests/bench-string.h: New file.
16010
50fd745b
AS
160112013-06-11 Andreas Schwab <schwab@suse.de>
16012
16013 [BZ #15577]
16014 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16015 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16016 values in the triple.
16017 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16018 terminator in the group key.
16019
3ee7e9fe
AJ
160202013-06-11 Andreas Jaeger <aj@suse.de>
16021
16022 * po/zh_TW.po: Update Chinese (traditional) translation from
16023 translation project.
16024
89fb6835
SP
160252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16026
16027 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16028 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16029 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16030 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16031 (clock_getcpuclockid): Likewise.
16032 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16033 Add weak_alias and libc_hidden_def.
16034 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16035 * rt/clock_gettime.c (clock_gettime): Rename to
16036 __clock_gettime. Add weak_alias and libc_hidden_def.
16037 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16038 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16039 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16040 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16041 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16042 Likewise.
16043 * rt/clock_settime.c (clock_settime): Rename to
16044 __clock_settime. Add weak_alias and libc_hidden_def.
16045 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16046
0efa6f8b
JM
160472013-06-10 Joseph Myers <joseph@codesourcery.com>
16048
b8c61b4b
JM
16049 * mach/err_boot.sub: Remove trailing whitespace.
16050 * mach/err_ipc.sub: Likewise.
16051 * mach/err_mach.sub: Likewise.
16052
0efa6f8b
JM
16053 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16054 (ROUNDING_TESTS_double): Likewise.
16055 (ROUNDING_TESTS_long_double): Likewise.
16056 (ROUNDING_TESTS): Likewise.
16057 * math/libm-test.inc: Include <math-tests.h>.
16058 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16059 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16060 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16061 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16062
50b818bf
SP
160632013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16064
16065 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16066 of assigning.
16067
60d2f8f3
JM
160682013-06-08 Joseph Myers <joseph@codesourcery.com>
16069
4902d2c3
JM
16070 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16071 otherwise empty TRANS lines.
16072 * sysdeps/gnu/errlist.c: Regenerated.
16073
60d2f8f3
JM
16074 * catgets/gencat.c (error_print): Use (void) in function
16075 definition.
16076 * crypt/crypt_util.c (__init_des): Likewise.
16077 * crypt/speeds.c (Stop): Likewise.
16078 (main): Likewise.
16079 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16080 * inet/ruserpass.c (token): Likewise.
16081 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16082 * intl/localealias.c (extend_alias_table): Likewise.
16083 * intl/plural-exp.c (init_germanic_plural): Likewise.
16084 * libio/fcloseall.c (__fcloseall): Likewise.
16085 * libio/genops.c (_IO_flush_all): Likewise.
16086 (_IO_flush_all_linebuffered): Likewise.
16087 (_IO_cleanup): Likewise.
16088 (_IO_iter_begin): Likewise.
16089 (_IO_iter_end): Likewise.
16090 (_IO_list_lock): Likewise.
16091 (_IO_list_unlock): Likewise.
16092 (_IO_list_resetlock): Likewise.
16093 * libio/getchar.c (getchar): Likewise.
16094 * libio/getchar_u.c (getchar_unlocked): Likewise.
16095 * libio/getwchar.c (getwchar): Likewise.
16096 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16097 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16098 * login/getpt.c (__getpt): Likewise.
16099 * login/tst-utmp.c (main): Likewise.
16100 * malloc/hooks.c (__malloc_check_init): Likewise.
16101 * malloc/malloc.c (__malloc_stats): Likewise.
16102 * malloc/mtrace.c (tr_break): Likewise.
16103 (mtrace): Likewise.
16104 (muntrace): Likewise.
16105 * misc/fstab.c (endfsent): Likewise.
16106 * misc/getclktck.c (__getclktck): Likewise.
16107 * misc/getdtsz.c (__getdtablesize): Likewise.
16108 * misc/gethostid.c (gethostid): Likewise.
16109 * misc/getpagesize.c (__getpagesize): Likewise.
16110 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16111 (__get_nprocs): Likewise.
16112 (__get_phys_pages): Likewise.
16113 (__get_avphys_pages): Likewise.
16114 * misc/getttyent.c (getttyent): Likewise.
16115 (setttyent): Likewise.
16116 (endttyent): Likewise.
16117 * misc/getusershell.c (getusershell): Likewise.
16118 (endusershell): Likewise.
16119 (setusershell): Likewise.
16120 (initshells): Likewise.
16121 * misc/hsearch.c (__hdestroy): Likewise.
16122 * misc/sync.c (sync): Likewise.
16123 * misc/syslog.c (closelog_internal): Likewise.
16124 (closelog): Likewise.
16125 * misc/ttyslot.c (ttyslot): Likewise.
16126 * misc/vhangup.c (vhangup): Likewise.
16127 * posix/fork.c (__fork): Likewise.
16128 * posix/getegid.c (__getegid): Likewise.
16129 * posix/geteuid.c (__geteuid): Likewise.
16130 * posix/getgid.c (__getgid): Likewise.
16131 * posix/getpid.c (__getpid): Likewise.
16132 * posix/getppid.c (__getppid): Likewise.
16133 * posix/getuid.c (__getuid): Likewise.
16134 * posix/pause.c (pause): Likewise.
16135 * posix/setpgrp.c (setpgrp): Likewise.
16136 * posix/setsid.c (__setsid): Likewise.
16137 * posix/test-vfork.c (noop): Likewise.
16138 * resolv/gethnamaddr.c (_endhtent): Likewise.
16139 (_gethtent): Likewise.
16140 (ht_endhostent): Likewise.
16141 (gethostent): Likewise.
16142 (dns_service): Likewise.
16143 * stdlib/drand48.c (drand48): Likewise.
16144 * stdlib/lrand48.c (lrand48): Likewise.
16145 * stdlib/mrand48.c (mrand48): Likewise.
16146 * stdlib/rand.c (rand): Likewise.
16147 * stdlib/random.c (__random): Likewise.
16148 * stdlib/setenv.c (clearenv): Likewise.
16149 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16150 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16151 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16152 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16153 (__get_nprocs): Likewise.
16154 (__get_phys_pages): Likewise.
16155 (__get_avphys_pages): Likewise.
16156 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16157 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16158 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16159 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16160 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16161 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16162 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16163 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16164 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16165 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16166 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16167 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16168 * sysdeps/posix/clock.c (clock): Likewise.
16169 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16170 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16171 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16172 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16173 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16175 (__get_nprocs_conf): Likewise.
16176 (__get_phys_pages): Likewise.
16177 (__get_avphys_pages): Likewise.
16178 * time/clock.c (clock): Likewise.
16179 * time/tzset.c (__tzname_max): Likewise.
16180
2e09a79a
JM
161812013-06-07 Joseph Myers <joseph@codesourcery.com>
16182
16183 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16184 (__bswap_32): Do not use "register".
16185 * crypt/crypt.c (_ufc_doit_r): Likewise.
16186 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16187 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16188 * gmon/gmon.c (__monstartup): Likewise.
16189 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16190 * hurd/hurdmalloc.c (more_memory): Likewise.
16191 (malloc): Likewise.
16192 (free): Likewise.
16193 (realloc): Likewise.
16194 (malloc_fork_prepare): Likewise.
16195 (malloc_fork_parent): Likewise.
16196 (malloc_fork_child): Likewise.
16197 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16198 (_svcauth_des): Likewise.
16199 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16200 * inet/inet_net.c (inet_network): Likewise.
16201 * inet/inet_netof.c (inet_netof): Likewise.
16202 * inet/rcmd.c (__validuser2_sa): Likewise.
16203 * io/fts.c (fts_open): Likewise.
16204 (fts_load): Likewise.
16205 (fts_close): Likewise.
16206 (fts_read): Likewise.
16207 (fts_children): Likewise.
16208 (fts_build): Likewise.
16209 (fts_stat): Likewise.
16210 (fts_sort): Likewise.
16211 (fts_alloc): Likewise.
16212 (fts_lfree): Likewise.
16213 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16214 (_IO_file_xsgetn): Likewise.
16215 (_IO_file_xsgetn_mmap): Likewise.
16216 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16217 (_IO_cookie_write): Likewise.
16218 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16219 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16220 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16221 * malloc/obstack.c (_obstack_begin): Likewise.
16222 (_obstack_begin_1): Likewise.
16223 (_obstack_newchunk): Likewise.
16224 (_obstack_allocated_p): Likewise.
16225 (obstack_free): Likewise.
16226 (_obstack_memory_used): Likewise.
16227 * misc/getttyent.c (getttynam): Likewise.
16228 (getttyent): Likewise.
16229 (skip): Likewise.
16230 (value): Likewise.
16231 * misc/getusershell.c (initshells): Likewise.
16232 * misc/syslog.c (__vsyslog_chk): Likewise.
16233 * misc/ttyslot.c (ttyslot): Likewise.
16234 * nis/nis_hash.c (__nis_hash): Likewise.
16235 * posix/fnmatch_loop.c (FCT): Likewise.
16236 * posix/getconf.c (print_all): Likewise.
16237 (main): Likewise.
16238 * posix/getopt.c (exchange): Likewise.
16239 * posix/glob.c (globfree): Likewise.
16240 (prefix_array): Likewise.
16241 (__glob_pattern_type): Likewise.
16242 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16243 (NS_GET32): Likewise.
16244 (NS_PUT16): Likewise.
16245 (NS_PUT32): Likewise.
16246 * resolv/gethnamaddr.c (getanswer): Likewise.
16247 (gethostbyname2): Likewise.
16248 (gethostbyaddr): Likewise.
16249 (_gethtent): Likewise.
16250 (_gethtbyname2): Likewise.
16251 (_gethtbyaddr): Likewise.
16252 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16253 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16254 * resolv/res_init.c (__res_vinit): Likewise.
16255 (net_mask): Likewise.
16256 * resolv/res_mkquery.c (outchar): Likewise.
16257 (PRINT): Likewise.
16258 * stdio-common/printf_fp.c (outchar): Likewise.
16259 (PRINT): Likewise.
16260 * stdio-common/printf_fphex.c (outchar): Likewise.
16261 (PRINT): Likewise.
16262 * stdio-common/printf_size.c (outchar): Likewise.
16263 (PRINT): Likewise.
16264 * stdio-common/test_rdwr.c (main): Likewise.
16265 * stdio-common/tfformat.c (matches): Likewise.
16266 * stdio-common/vfprintf.c (outchar): Likewise.
16267 (printf_unknown): Likewise.
16268 (buffered_vfprintf): Likewise.
16269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16270 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16271 (ReadFile): Likewise.
16272 * stdlib/qsort.c (SWAP): Likewise.
16273 (_quicksort): Likewise.
16274 * stdlib/setenv.c (__add_to_environ): Likewise.
16275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16276 * stdlib/strtol_l.c (__strtol_l): Likewise.
16277 * stdlib/tst-strtod.c (main): Likewise.
16278 * stdlib/tst-strtol.c (main): Likewise.
16279 * stdlib/tst-strtoll.c (main): Likewise.
16280 * string/bits/string2.h (__strcmp_cc): Likewise.
16281 (__strcmp_cg): Likewise.
16282 (__strcspn_c1): Likewise.
16283 (__strcspn_c2): Likewise.
16284 (__strcspn_c3): Likewise.
16285 (__strspn_c1): Likewise.
16286 (__strspn_c2): Likewise.
16287 (__strspn_c3): Likewise.
16288 (__strsep_1c): Likewise.
16289 (__strsep_2c): Likewise.
16290 (__strsep_3c): Likewise.
16291 * string/memccpy.c (__memccpy): Likewise.
16292 * string/stpcpy.c (__stpcpy): Likewise.
16293 * string/strcmp.c (strcmp): Likewise.
16294 * string/strrchr.c (strrchr): Likewise.
16295 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16296 Likewise.
16297 * sysdeps/mach/hurd/getcwd.c
16298 (_hurd_canonicalize_directory_name_internal): Likewise.
16299 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16300 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16301 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16302 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16303 Likewise, in both definitions.
16304 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16305 definitions.
16306 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16307 64] (__bswap_64): Likewise.
16308 * time/test_time.c (main): Likewise.
16309 * time/tzfile.c (__tzfile_read): Likewise.
16310 (__tzfile_compute): Likewise.
16311 * time/tzset.c (__tzset_parse_tz): Likewise.
16312 (tzset_internal): Likewise.
16313 (compute_change): Likewise.
16314 * wcsmbs/wcscat.c (__wcscat): Likewise.
16315 * wcsmbs/wcschr.c (wcschr): Likewise.
16316 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16317 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16318 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16319 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16320 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16321 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16322 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16323 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16324 * wcsmbs/wmemset.c (wmemset): Likewise.
16325
9e54314b
JM
163262013-06-06 Joseph Myers <joseph@codesourcery.com>
16327
16328 * scripts/config.guess: Update to version 2013-05-16.
16329 * scripts/config.sub: Update to version 2013-04-24.
16330 * scripts/install-sh: Update to version 2011-11-20.07.
16331 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16332 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16333
350635a5
OB
163342013-06-06 Ondřej Bílka <neleai@seznam.cz>
16335
16336 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16337 * elf/sln.c: Likewise.
16338 * hurd/hurd/ioctl.h: Likewise.
16339 * hurd/hurdmalloc.c: Likewise.
16340 * hurd/xattr.c: Likewise.
16341 * include/shlib-compat.h: Likewise.
16342 * inet/ruserpass.c: Likewise.
16343 * libio/iofgets_u.c: Likewise.
16344 * libio/iofgetws_u.c: Likewise.
16345 * locale/programs/ld-identification.c: Likewise.
16346 * locale/programs/ld-time.c: Likewise.
16347 * mach/msg-destroy.c: Likewise.
16348 * nss/nss_files/files-netgrp.c: Likewise.
16349 * resolv/res_data.c: Likewise.
16350 * soft-fp/op-1.h: Likewise.
16351 * soft-fp/op-2.h: Likewise.
16352 * soft-fp/op-4.h: Likewise.
16353 * soft-fp/op-common.h: Likewise.
16354 * stdio-common/printf_fphex.c: Likewise.
16355 * stdlib/strtod_l.c: Likewise.
16356 * sunrpc/rpc/clnt.h: Likewise.
16357 * sysdeps/generic/framestate.c: Likewise.
16358 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16359 * sysdeps/i386/bsd-setjmp.S: Likewise.
16360 * sysdeps/i386/__longjmp.S: Likewise.
16361 * sysdeps/i386/setjmp.S: Likewise.
16362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16363 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16365 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16372 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16375 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16376 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16378 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16380 * sysdeps/ieee754/support.c: Likewise.
16381 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16382 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16383 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16384 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16385 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16386 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16387 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16388 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16389 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16390 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16391 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16392 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16393 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16394 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16395 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16396 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16397 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16399
44a988af
OB
164002013-06-05 Ondřej Bílka <neleai@seznam.cz>
16401
25506f09 16402 * posix/transbug.c: Remove executable mode.
44a988af 16403
9c84384c
JM
164042013-06-05 Joseph Myers <joseph@codesourcery.com>
16405
16406 * crypt/speeds.c: Remove trailing whitespace.
16407 * dlfcn/default.c: Likewise.
16408 * elf/ifuncdep2.c: Likewise.
16409 * elf/ifuncmain1.c: Likewise.
16410 * elf/ifuncmain1vis.c: Likewise.
16411 * elf/testobj.h: Likewise.
16412 * elf/tst-stackguard1.c: Likewise.
16413 * gmon/sys/gmon.h: Likewise.
16414 * hurd/hurdmsg.c: Likewise.
16415 * hurd/new-fd.c: Likewise.
16416 * hurd/ports-get.c: Likewise.
16417 * iconvdata/ibm1008_420.c: Likewise.
16418 * inet/tst-getni1.c: Likewise.
16419 * inet/tst-getni2.c: Likewise.
16420 * libio/ioungetc.c: Likewise.
16421 * libio/wfiledoalloc.c: Likewise.
16422 * manual/libm-err-tab.pl: Likewise.
16423 * math/w_dremf.c: Likewise.
16424 * misc/ftruncate.c: Likewise.
16425 * posix/bug-glob2.c: Likewise.
16426 * posix/tst-pcre.c: Likewise.
16427 * posix/wait4.c: Likewise.
16428 * resolv/README: Likewise.
16429 * resolv/res_debug.h: Likewise.
16430 * resolv/tst-inet_ntop.c: Likewise.
16431 * setjmp/bug269-setjmp.c: Likewise.
16432 * soft-fp/extended.h: Likewise.
16433 * soft-fp/op-1.h: Likewise.
16434 * soft-fp/op-2.h: Likewise.
16435 * soft-fp/op-4.h: Likewise.
16436 * soft-fp/op-8.h: Likewise.
16437 * soft-fp/testit.c: Likewise.
16438 * stdio-common/bug16.c: Likewise.
16439 * stdlib/random.c: Likewise.
16440 * sunrpc/rpcsvc/rquota.x: Likewise.
16441 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16442 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16443 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16444 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16445 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16446 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16448 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16449 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16450 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16451 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16452 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16453 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16454 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16456 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16457 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16459 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16462 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16463 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16464 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16465 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16466 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16467 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16469 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16470 * sysdeps/ieee754/s_lib_version.c: Likewise.
16471 * sysdeps/mach/hurd/check_fds.c: Likewise.
16472 * sysdeps/mach/hurd/getsockname.c: Likewise.
16473 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16474 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16475 * sysdeps/powerpc/bits/link.h: Likewise.
16476 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16477 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16478 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16479 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16480 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16481 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16482 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16483 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16484 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16485 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16486 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16487 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16488 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16489 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16490 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16491 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16492 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16493 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16494 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16495 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16496 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16497 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16499 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16500 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16501 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16503 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16510 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16511 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16512 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16513 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16514 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16515 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16516 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16517 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16518 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16519 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16520 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16521 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16522 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16523 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16524 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16525 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16528 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16529 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16530 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16531 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16532 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16535 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16536 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16537 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16538 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16539 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16540 * sysdeps/powerpc/sysdep.h: Likewise.
16541 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16542 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16543 * sysdeps/sh/dl-trampoline.S: Likewise.
16544 * sysdeps/sh/memset.S: Likewise.
16545 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16546 * sysdeps/sh/strlen.S: Likewise.
16547 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16548 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16549 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16550 * sysdeps/sparc/sparc32/rem.S: Likewise.
16551 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16552 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16553 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16554 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16555 * sysdeps/sparc/sparc32/urem.S: Likewise.
16556 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16557 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16558 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16559 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16561 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16562 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16563 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16564 * sysdeps/unix/bsd/times.c: Likewise.
16565 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16566 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16570 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16571 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16572 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16574 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16577 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16578 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16579 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16580 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16581 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16582 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16583 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16584 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16585 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16586 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16587 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16588 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16589 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16590 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16591 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16592 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16593 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16594 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16595 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16596 * sysdeps/x86_64/strcspn.S: Likewise.
16597
869378a5
RA
165982013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16599
16600 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16601 generated file. Regenerate properly from gen-translit.pl.
16602 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16603 locale/C-translit.h.
16604
840e2943
AS
166052013-06-05 Andreas Schwab <schwab@suse.de>
16606
16607 [BZ #15100]
16608 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16609 week as 6 instead of -1.
16610 * time/tst-strptime.c (day_tests): Add test case.
16611
4c60cb0c
SP
166122013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16613
16614 * sysdeps/generic/math_private.h
16615 (libc_feholdexcept_setround_53bit): Replace with
16616 libc_feholdsetround_53bit.
16617 (libc_feupdateenv_53bit): Replace with
16618 libc_feresetround_53bit.
16619 (SET_RESTORE_ROUND_53BIT): Adjust.
16620
d180203e
SP
166212013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16622
96df079a
SP
16623 * string/test-strchrnul.c: Add copyright header.
16624
d180203e
SP
16625 * posix/tst-getaddrinfo4.c: Increase test timeout.
16626
8b0ccb2d
CD
166272013-06-03 Carlos O'Donell <carlos@redhat.com>
16628
16629 [BZ #15536]
16630 * math/libm-test.inc (MAX_EXP): Remove
16631 (MIN_EXP): Define.
16632 (ulp): Use MIN_EXP - MANT_DIG.
16633 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16634
3b3c4d40
CD
166352013-05-31 Carlos O'Donell <carlos@redhat.com>
16636
16637 * po/be.po: Revert last change.
16638 * po/zh_CN.po: Likewise.
16639 * po/header.pot: Likewise.
16640
fab7ce3f
JM
166412013-05-31 Joseph Myers <joseph@codesourcery.com>
16642
16643 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16644 link-libc-deps to empty as target-specific variable.
16645 * Makerules (link-libc-args): New variable.
16646 (libc-for-link): Likewise.
16647 (link-libc-deps): Likewise.
16648 (lib%.so): Depend on $(link-libc-deps). Link with
16649 $(link-libc-args).
16650 (build-module): Link with $(link-libc-args).
16651 (build-module-asneeded): Likewise.
16652 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16653 list of objects.
16654 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16655 target-specific variable.
16656 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16657 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16658 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16659 libc.
16660 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16661 libc and ld.so.
16662 ($(objpfx)libpcprofile.so): Likewise.
16663 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16664 libc_nonshared.a.
16665 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16666 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16667 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16668 $(link-libc-deps).
16669 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16670 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16671 * login/Makefile ($(objpfx)libutil.so): Likewise.
16672 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16673 * math/Makefile ($(objpfx)libm.so): Likewise.
16674 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16675 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16676 variable instead of depending directly on libc.
16677 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16678 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16679 $(link-libc-deps).
16680 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16681 libc.
16682 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16683 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16684 ($(objpfx)libanl.so): Likewise.
16685 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16686 ld.so.
16687 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16688 $(link-libc-deps).
16689 * sysdeps/i386/fpu/Makefile: Remove file.
16690 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16691 ($(objpfx)libm.so): Remove dependency on ld.so.
16692
eca5920c
PF
166932013-05-30 Patsy Franklin <pfrankli@redhat.com>
16694
16695 [BZ # 15553]
16696 * nis/yp_xdr.c (XDRMAXNAME): Define.
16697 (XDRMAXRECORD): Define.
16698 (xdr_domainname): Use XDRMAXNAME.
16699 (xdr_mapname): Likewise.
16700 (xdr_peername): Likewise.
16701 (xdr_keydat): Use XDRMAXRECORD.
16702 (xdr_valdat): Likewise.
16703
167042013-05-30 Jeff Law <law@redhat.com>
96945714
JL
16705
16706 [BZ #14256]
16707 * manual/errno.texi (ESTALE): Update to account for more than
16708 just NFS file systems.
16709 * sysdeps/gnu/errlist.c: Regenerated.
16710
b9375348
SP
167112013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16712
16713 [BZ #15465]
16714 * elf/Makefile (tests): Add tst-null-argv.
16715 (modules-names): Add tst-null-argv-lib.
16716 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16717 (tst-null-argv-ENV): Set environment for tst-null-argv.
16718 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16719 (RTLD_PROGNAME): New macro.
16720 * elf/tst-null-argv.c: New test case.
16721 * elf/tst-null-argv-lib.c: Library for test case.
16722 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16723 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16724 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16725 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16726 * elf/dl-init.c (call_init): Likewise.
16727 (_dl_init): Likewise.
16728 * elf/dl-load.c (print_search_path): Likewise.
16729 (_dl_map_object): Likewise.
16730 * elf/dl-lookup.c (do_lookup_x): Likewise.
16731 (add_dependency): Likewise.
16732 (_dl_lookup_symbol_x): Likewise.
16733 (_dl_debug_bindings): Likewise.
16734 * elf/dl-open.c (_dl_show_scope): Likewise.
16735 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16736 * elf/dl-version.c (match_symbol): Likewise.
16737 (_dl_check_map_versions): Likewise.
16738 * elf/rtld.c (dl_main): Likewise.
16739 (print_unresolved): Use RTLD_PROGNAME.
16740 (print_missing_version): Likewise.
16741 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16742 (elf_machine_rela): Likewise.
16743 * sysdeps/powerpc/powerpc32/dl-machine.c
16744 (__process_machine_rela): Likewise.
16745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16746 Likewise.
16747 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16748 Likewise.
16749 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16750 Likewise.
16751 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16753 Likewise.
16754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16755 Likewise.
16756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16757
8a9f20c8
CD
167582013-05-28 Carlos O'Donell <carlos@redhat.com>
16759
16760 * po/be.po: Add descriptive title.
16761 * po/zh_CN.po: Likewise.
16762 * po/header.pot: Likewise.
16763
0e60d68e
MF
167642013-05-28 Mike Frysinger <vapier@gentoo.org>
16765
16766 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16767 error message.
16768 (enlarge_archive): Likewise.
16769
56b672e9
BN
167702013-05-28 Ben North <ben@redfrontdoor.org>
16771
16772 * manual/arith.texi (frexp): It is the magnitude of the return
16773 value which lies in [0.5, 1), not the return value itself.
16774
5e056687
AZ
167752013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16776
16777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16778
2b66ef5d
TS
167792013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16780
528c2405
TS
16781 * stdio-common/bug26.c (main): Correct fscanf template.
16782
07b4c13d
TS
16783 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16784 declare _dl_skip_args.
16785
ec9dd97c
TS
16786 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16787 Don't declare.
16788
2b66ef5d
TS
16789 * manual/platform.texi: Add missing @end deftypefun.
16790
4f8dfe27
JM
167912013-05-24 Joseph Myers <joseph@codesourcery.com>
16792
0323d086
JM
16793 [BZ #15529]
16794 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16795 bit of mantissa of 2^16382.
16796 * math/libm-test.inc (hypot_test_data): Add more tests.
16797
dd4259b9
JM
16798 * math/libm-test.inc: Add drem and pow10 to list of tested
16799 functions.
16800 (pow10_test): New function.
16801 (drem_test): Likewise.
16802 (drem_test_tonearest): Likewise.
16803 (drem_test_towardzero): Likewise.
16804 (drem_test_downward): Likewise.
16805 (drem_test_upward): Likewise.
16806 (main): Call the new functions.
16807
4f8dfe27
JM
16808 * math/libm-test.inc (finite_test_data): Remove.
16809 (finite_test): Run tests from isfinite_test_data.
16810 (gamma_test_data): Remove.
16811 (gamma_test): Run tests from lgamma_test_data.
16812 * sysdeps/i386/fpu/libm-test-ulps: Update.
16813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16814
d116b7c4
AZ
168152013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16816
16817 * manual/platform.texi: Add PowerPC PPR function set documentation.
16818 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16819 implementation.
16820
e96e3767
CD
168212013-05-24 Carlos O'Donell <carlos@redhat.com>
16822
16823 * math/libm-test.inc (MAX_EXP): Define.
16824 (ULPDIFF): Define.
16825 (ulp): New function.
16826 (check_float_internal): Use ULPDIFF.
16827 (cpow_test): Disable failing test.
16828 (check_ulp): Test ulp() implemetnation.
16829 (main): Call check_ulp before starting tests.
16830
b679a606
JM
168312013-05-24 Joseph Myers <joseph@codesourcery.com>
16832
e8bdba36
JM
16833 * math/gen-libm-test.pl (generate_testfile): Do not handle
16834 START_DATA and END_DATA.
16835 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16836 END_DATA.
16837 (acos_tonearest_test_data): Likewise.
16838 (acos_towardzero_test_data): Likewise.
16839 (acos_downward_test_data): Likewise.
16840 (acos_upward_test_data): Likewise.
16841 (acosh_test_data): Likewise.
16842 (asin_test_data): Likewise.
16843 (asin_tonearest_test_data): Likewise.
16844 (asin_towardzero_test_data): Likewise.
16845 (asin_downward_test_data): Likewise.
16846 (asin_upward_test_data): Likewise.
16847 (asinh_test_data): Likewise.
16848 (atan_test_data): Likewise.
16849 (atanh_test_data): Likewise.
16850 (atan2_test_data): Likewise.
16851 (cabs_test_data): Likewise.
16852 (cacos_test_data): Likewise.
16853 (cacosh_test_data): Likewise.
16854 (carg_test_data): Likewise.
16855 (casin_test_data): Likewise.
16856 (casinh_test_data): Likewise.
16857 (catan_test_data): Likewise.
16858 (catanh_test_data): Likewise.
16859 (cbrt_test_data): Likewise.
16860 (ccos_test_data): Likewise.
16861 (ccosh_test_data): Likewise.
16862 (ceil_test_data): Likewise.
16863 (cexp_test_data): Likewise.
16864 (cimag_test_data): Likewise.
16865 (clog_test_data): Likewise.
16866 (clog10_test_data): Likewise.
16867 (conj_test_data): Likewise.
16868 (copysign_test_data): Likewise.
16869 (cos_test_data): Likewise.
16870 (cos_tonearest_test_data): Likewise.
16871 (cos_towardzero_test_data): Likewise.
16872 (cos_downward_test_data): Likewise.
16873 (cos_upward_test_data): Likewise.
16874 (cosh_test_data): Likewise.
16875 (cosh_tonearest_test_data): Likewise.
16876 (cosh_towardzero_test_data): Likewise.
16877 (cosh_downward_test_data): Likewise.
16878 (cosh_upward_test_data): Likewise.
16879 (cpow_test_data): Likewise.
16880 (cproj_test_data): Likewise.
16881 (creal_test_data): Likewise.
16882 (csin_test_data): Likewise.
16883 (csinh_test_data): Likewise.
16884 (csqrt_test_data): Likewise.
16885 (ctan_test_data): Likewise.
16886 (ctan_tonearest_test_data): Likewise.
16887 (ctan_towardzero_test_data): Likewise.
16888 (ctan_downward_test_data): Likewise.
16889 (ctan_upward_test_data): Likewise.
16890 (ctanh_test_data): Likewise.
16891 (ctanh_tonearest_test_data): Likewise.
16892 (ctanh_towardzero_test_data): Likewise.
16893 (ctanh_downward_test_data): Likewise.
16894 (ctanh_upward_test_data): Likewise.
16895 (erf_test_data): Likewise.
16896 (erfc_test_data): Likewise.
16897 (exp_test_data): Likewise.
16898 (exp_tonearest_test_data): Likewise.
16899 (exp_towardzero_test_data): Likewise.
16900 (exp_downward_test_data): Likewise.
16901 (exp_upward_test_data): Likewise.
16902 (exp10_test_data): Likewise.
16903 (exp2_test_data): Likewise.
16904 (expm1_test_data): Likewise.
16905 (fabs_test_data): Likewise.
16906 (fdim_test_data): Likewise.
16907 (finite_test_data): Likewise.
16908 (floor_test_data): Likewise.
16909 (fma_test_data): Likewise.
16910 (fma_towardzero_test_data): Likewise.
16911 (fma_downward_test_data): Likewise.
16912 (fma_upward_test_data): Likewise.
16913 (fmax_test_data): Likewise.
16914 (fmin_test_data): Likewise.
16915 (fmod_test_data): Likewise.
16916 (fpclassify_test_data): Likewise.
16917 (frexp_test_data): Likewise.
16918 (gamma_test_data): Likewise.
16919 (hypot_test_data): Likewise.
16920 (ilogb_test_data): Likewise.
16921 (isfinite_test_data): Likewise.
16922 (isgreater_test_data): Likewise.
16923 (isgreaterequal_test_data): Likewise.
16924 (isinf_test_data): Likewise.
16925 (isless_test_data): Likewise.
16926 (islessequal_test_data): Likewise.
16927 (islessgreater_test_data): Likewise.
16928 (isnan_test_data): Likewise.
16929 (isnormal_test_data): Likewise.
16930 (issignaling_test_data): Likewise.
16931 (isunordered_test_data): Likewise.
16932 (j0_test_data): Likewise.
16933 (j1_test_data): Likewise.
16934 (jn_test_data): Likewise.
16935 (ldexp_test_data): Likewise.
16936 (lgamma_test_data): Likewise.
16937 (lrint_test_data): Likewise.
16938 (lrint_tonearest_test_data): Likewise.
16939 (lrint_towardzero_test_data): Likewise.
16940 (lrint_downward_test_data): Likewise.
16941 (lrint_upward_test_data): Likewise.
16942 (llrint_test_data): Likewise.
16943 (llrint_tonearest_test_data): Likewise.
16944 (llrint_towardzero_test_data): Likewise.
16945 (llrint_downward_test_data): Likewise.
16946 (llrint_upward_test_data): Likewise.
16947 (log_test_data): Likewise.
16948 (log10_test_data): Likewise.
16949 (log1p_test_data): Likewise.
16950 (log2_test_data): Likewise.
16951 (logb_test_data): Likewise.
16952 (logb_downward_test_data): Likewise.
16953 (lround_test_data): Likewise.
16954 (llround_test_data): Likewise.
16955 (modf_test_data): Likewise.
16956 (nearbyint_test_data): Likewise.
16957 (nextafter_test_data): Likewise.
16958 (nexttoward_test_data): Likewise.
16959 (pow_test_data): Likewise.
16960 (pow_tonearest_test_data): Likewise.
16961 (pow_towardzero_test_data): Likewise.
16962 (pow_downward_test_data): Likewise.
16963 (pow_upward_test_data): Likewise.
16964 (remainder_test_data): Likewise.
16965 (remainder_tonearest_test_data): Likewise.
16966 (remainder_towardzero_test_data): Likewise.
16967 (remainder_downward_test_data): Likewise.
16968 (remainder_upward_test_data): Likewise.
16969 (remquo_test_data): Likewise.
16970 (rint_test_data): Likewise.
16971 (rint_tonearest_test_data): Likewise.
16972 (rint_towardzero_test_data): Likewise.
16973 (rint_downward_test_data): Likewise.
16974 (rint_upward_test_data): Likewise.
16975 (round_test_data): Likewise.
16976 (scalb_test_data): Likewise.
16977 (scalbn_test_data): Likewise.
16978 (scalbln_test_data): Likewise.
16979 (signbit_test_data): Likewise.
16980 (sin_test_data): Likewise.
16981 (sin_tonearest_test_data): Likewise.
16982 (sin_towardzero_test_data): Likewise.
16983 (sin_downward_test_data): Likewise.
16984 (sin_upward_test_data): Likewise.
16985 (sincos_test_data): Likewise.
16986 (sinh_test_data): Likewise.
16987 (sinh_tonearest_test_data): Likewise.
16988 (sinh_towardzero_test_data): Likewise.
16989 (sinh_downward_test_data): Likewise.
16990 (sinh_upward_test_data): Likewise.
16991 (sqrt_test_data): Likewise.
16992 (tan_test_data): Likewise.
16993 (tan_tonearest_test_data): Likewise.
16994 (tan_towardzero_test_data): Likewise.
16995 (tan_downward_test_data): Likewise.
16996 (tan_upward_test_data): Likewise.
16997 (tanh_test_data): Likewise.
16998 (tgamma_test_data): Likewise.
16999 (trunc_test_data): Likewise.
17000 (y0_test_data): Likewise.
17001 (y1_test_data): Likewise.
17002 (yn_test_data): Likewise.
17003 (significand_test_data): Likewise.
17004
b679a606
JM
17005 * math/gen-libm-test.pl (@functions): Remove variable.
17006 (generate_testfile): Don't handle START and END lines.
17007 * math/libm-test.inc (START): New macro.
17008 (END): Likewise.
17009 (END_COMPLEX): Likewise.
17010 (acos_test): Use END macro without arguments.
17011 (acos_test_tonearest): Likewise.
17012 (acos_test_towardzero): Likewise.
17013 (acos_test_downward): Likewise.
17014 (acos_test_upward): Likewise.
17015 (acosh_test): Likewise.
17016 (asin_test): Likewise.
17017 (asin_test_tonearest): Likewise.
17018 (asin_test_towardzero): Likewise.
17019 (asin_test_downward): Likewise.
17020 (asin_test_upward): Likewise.
17021 (asinh_test): Likewise.
17022 (atan_test): Likewise.
17023 (atanh_test): Likewise.
17024 (atan2_test): Likewise.
17025 (cabs_test): Likewise.
17026 (cacos_test): Use END_COMPLEX macro without arguments.
17027 (cacosh_test): Likewise.
17028 (carg_test): Use END macro without arguments.
17029 (casin_test): Use END_COMPLEX macro without arguments.
17030 (casinh_test): Likewise.
17031 (catan_test): Likewise.
17032 (catanh_test): Likewise.
17033 (cbrt_test): Use END macro without arguments.
17034 (ccos_test): Use END_COMPLEX macro without arguments.
17035 (ccosh_test): Likewise.
17036 (ceil_test): Use END macro without arguments.
17037 (cexp_test): Use END_COMPLEX macro without arguments.
17038 (cimag_test): Use END macro without arguments.
17039 (clog_test): Use END_COMPLEX macro without arguments.
17040 (clog10_test): Likewise.
17041 (conj_test): Likewise.
17042 (copysign_test): Use END macro without arguments.
17043 (cos_test): Likewise.
17044 (cos_test_tonearest): Likewise.
17045 (cos_test_towardzero): Likewise.
17046 (cos_test_downward): Likewise.
17047 (cos_test_upward): Likewise.
17048 (cosh_test): Likewise.
17049 (cosh_test_tonearest): Likewise.
17050 (cosh_test_towardzero): Likewise.
17051 (cosh_test_downward): Likewise.
17052 (cosh_test_upward): Likewise.
17053 (cpow_test): Use END_COMPLEX macro without arguments.
17054 (cproj_test): Likewise.
17055 (creal_test): Use END macro without arguments.
17056 (csin_test): Use END_COMPLEX macro without arguments.
17057 (csinh_test): Likewise.
17058 (csqrt_test): Likewise.
17059 (ctan_test): Likewise.
17060 (ctan_test_tonearest): Likewise.
17061 (ctan_test_towardzero): Likewise.
17062 (ctan_test_downward): Likewise.
17063 (ctan_test_upward): Likewise.
17064 (ctanh_test): Likewise.
17065 (ctanh_test_tonearest): Likewise.
17066 (ctanh_test_towardzero): Likewise.
17067 (ctanh_test_downward): Likewise.
17068 (ctanh_test_upward): Likewise.
17069 (erf_test): Use END macro without arguments.
17070 (erfc_test): Likewise.
17071 (exp_test): Likewise.
17072 (exp_test_tonearest): Likewise.
17073 (exp_test_towardzero): Likewise.
17074 (exp_test_downward): Likewise.
17075 (exp_test_upward): Likewise.
17076 (exp10_test): Likewise.
17077 (exp2_test): Likewise.
17078 (expm1_test): Likewise.
17079 (fabs_test): Likewise.
17080 (fdim_test): Likewise.
17081 (finite_test): Likewise.
17082 (floor_test): Likewise.
17083 (fma_test): Likewise.
17084 (fma_test_towardzero): Likewise.
17085 (fma_test_downward): Likewise.
17086 (fma_test_upward): Likewise.
17087 (fmax_test): Likewise.
17088 (fmin_test): Likewise.
17089 (fmod_test): Likewise.
17090 (fpclassify_test): Likewise.
17091 (frexp_test): Likewise.
17092 (gamma_test): Likewise.
17093 (hypot_test): Likewise.
17094 (ilogb_test): Likewise.
17095 (isfinite_test): Likewise.
17096 (isgreater_test): Likewise.
17097 (isgreaterequal_test): Likewise.
17098 (isinf_test): Likewise.
17099 (isless_test): Likewise.
17100 (islessequal_test): Likewise.
17101 (islessgreater_test): Likewise.
17102 (isnan_test): Likewise.
17103 (isnormal_test): Likewise.
17104 (issignaling_test): Likewise.
17105 (isunordered_test): Likewise.
17106 (j0_test): Likewise.
17107 (j1_test): Likewise.
17108 (jn_test): Likewise.
17109 (ldexp_test): Likewise.
17110 (lgamma_test): Likewise.
17111 (lrint_test): Likewise.
17112 (lrint_test_tonearest): Likewise.
17113 (lrint_test_towardzero): Likewise.
17114 (lrint_test_downward): Likewise.
17115 (lrint_test_upward): Likewise.
17116 (llrint_test): Likewise.
17117 (llrint_test_tonearest): Likewise.
17118 (llrint_test_towardzero): Likewise.
17119 (llrint_test_downward): Likewise.
17120 (llrint_test_upward): Likewise.
17121 (log_test): Likewise.
17122 (log10_test): Likewise.
17123 (log1p_test): Likewise.
17124 (log2_test): Likewise.
17125 (logb_test): Likewise.
17126 (logb_test_downward): Likewise.
17127 (lround_test): Likewise.
17128 (llround_test): Likewise.
17129 (modf_test): Likewise.
17130 (nearbyint_test): Likewise.
17131 (nextafter_test): Likewise.
17132 (nexttoward_test): Likewise.
17133 (pow_test): Likewise.
17134 (pow_test_tonearest): Likewise.
17135 (pow_test_towardzero): Likewise.
17136 (pow_test_downward): Likewise.
17137 (pow_test_upward): Likewise.
17138 (remainder_test): Likewise.
17139 (remainder_test_tonearest): Likewise.
17140 (remainder_test_towardzero): Likewise.
17141 (remainder_test_downward): Likewise.
17142 (remainder_test_upward): Likewise.
17143 (remquo_test): Likewise.
17144 (rint_test): Likewise.
17145 (rint_test_tonearest): Likewise.
17146 (rint_test_towardzero): Likewise.
17147 (rint_test_downward): Likewise.
17148 (rint_test_upward): Likewise.
17149 (round_test): Likewise.
17150 (scalb_test): Likewise.
17151 (scalbn_test): Likewise.
17152 (scalbln_test): Likewise.
17153 (signbit_test): Likewise.
17154 (sin_test): Likewise.
17155 (sin_test_tonearest): Likewise.
17156 (sin_test_towardzero): Likewise.
17157 (sin_test_downward): Likewise.
17158 (sin_test_upward): Likewise.
17159 (sincos_test): Likewise.
17160 (sinh_test): Likewise.
17161 (sinh_test_tonearest): Likewise.
17162 (sinh_test_towardzero): Likewise.
17163 (sinh_test_downward): Likewise.
17164 (sinh_test_upward): Likewise.
17165 (sqrt_test): Likewise.
17166 (tan_test): Likewise.
17167 (tan_test_tonearest): Likewise.
17168 (tan_test_towardzero): Likewise.
17169 (tan_test_downward): Likewise.
17170 (tan_test_upward): Likewise.
17171 (tanh_test): Likewise.
17172 (tgamma_test): Likewise.
17173 (trunc_test): Likewise.
17174 (y0_test): Likewise.
17175 (y1_test): Likewise.
17176 (yn_test): Likewise.
17177 (significand_test): Likewise.
17178
bae143d2
OB
171792013-05-24 Ondřej Bílka <neleai@seznam.cz>
17180
17181 [BZ #15381]
17182 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17183
9323d39b
EM
171842013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17185
d4ea44a0 17186 [BZ #14894]
9323d39b
EM
17187 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17188 __ppc_mdoio and __ppc_mdoom.
17189 * manual/platform.texi: Document new functions __ppc_yield,
17190 __ppc_mdoio and __ppc_mdoom.
17191
13e23af7
CD
171922013-05-22 Carlos O'Donell <carlos@redhat.com>
17193
17194 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17195 (main): Mention "tls" pseudo-hwcap is legacy.
17196 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17197
351fe550
JM
171982013-05-22 Joseph Myers <joseph@codesourcery.com>
17199
17200 * math/gen-libm-test.pl (parse_args): Output only string of
17201 arguments as text for test name, not full call or descriptions of
17202 tests for extra outputs.
17203 (generate_testfile): Do not pass function name to parse_args.
17204 Generate this_func variable from START.
17205 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17206 field to arg_str.
17207 (struct test_ff_f_data): Likewise.
17208 (test_ff_f_data_nexttoward): Likewise.
17209 (struct test_fi_f_data): Likewise.
17210 (struct test_fl_f_data): Likewise.
17211 (struct test_if_f_data): Likewise.
17212 (struct test_fff_f_data): Likewise.
17213 (struct test_c_f_data): Likewise.
17214 (struct test_f_f1_data): Likewise. Remove field extra_name.
17215 (struct test_fF_f1_data): Likewise.
17216 (struct test_ffI_f1_data): Likewise.
17217 (struct test_c_c_data): Rename test_name field to arg_str.
17218 (struct test_cc_c_data): Likewise.
17219 (struct test_f_i_data): Likewise.
17220 (struct test_ff_i_data): Likewise.
17221 (struct test_f_l_data): Likewise.
17222 (struct test_f_L_data): Likewise.
17223 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17224 and extra2_name.
17225 (COMMON_TEST_SETUP): New macro.
17226 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17227 (COMMON_TEST_CLEANUP): Likewise.
17228 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17229 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17230 macros.
17231 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17232 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17233 macros.
17234 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17235 (RUN_TEST_fff_f): Take argument string. Call new setup and
17236 cleanup macros.
17237 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17238 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17239 macros.
17240 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17241 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17242 macros.
17243 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17244 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17245 cleanup macros.
17246 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17247 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17248 cleanup macros.
17249 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17250 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17251 cleanup macros.
17252 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17253 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17254 macros.
17255 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17256 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17257 macros.
17258 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17259 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17260 macros.
17261 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17262 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17263 cleanup macros.
17264 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17265 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17266 cleanup macros.
17267 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17268 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17269 macros.
17270 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17271 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17272 cleanup macros.
17273 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17274 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17275 macros.
17276 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17277 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17278 macros.
17279 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17280 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17281 cleanup macros.
17282 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17283
85118d4d
EBM
172842013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17285
17286 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17287 to _sifields.sigfault.
17288 (si_addr_lsb): Define new macro.
17289 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17290 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17291 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17292
7a44c18f
CD
172932013-05-03 Carlos O'Donell <carlos at redhat.com>
17294
17295 [BZ #15441]
17296 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17297 returns -1.
17298 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17299 null return -1.
17300 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17301 loading the domain.
17302
b50a7181
JM
173032013-05-22 Joseph Myers <joseph@codesourcery.com>
17304
17305 * math/gen-libm-test.pl (parse_args): Do not include expected
17306 result in test name.
17307 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17308 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17309 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17310 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17311 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17313
051063c8
SP
173142013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17315
3ce9e010
SP
17316 * benchtests/Makefile: Sort function entries.
17317
051063c8
SP
17318 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17319 tanh, asinh, acosh, atanh.
17320 * benchtests/acos-inputs: New file.
17321 * benchtests/acosh-inputs: New file.
17322 * benchtests/asin-inputs: New file.
17323 * benchtests/asinh-inputs: New file.
17324 * benchtests/atanh-inputs: New file.
17325 * benchtests/cosh-inputs: New file.
17326 * benchtests/log-inputs: New file.
17327 * benchtests/sinh-inputs: New file.
17328 * benchtests/tanh-inputs: New file.
17329
47c22455
DL
173302013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17331
17332 [BZ #15339]
17333 * posix/tst-getaddrinfo4.c: New test.
17334 * posix/Makefile (tests): Add it.
17335
3d04f5db
SP
173362013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17337
17338 [BZ #15339]
17339 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17340 when no services were used.
17341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17342 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17343
d5dd6189
AS
173442013-05-21 Andreas Schwab <schwab@suse.de>
17345
17346 [BZ #15014]
17347 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17348 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17349 successful.
17350 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17351 redundant variable declarations and reallocation of buffer when
17352 parsing as IPv6 address. Always set NSS status when called from
17353 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17354 buffer too small. Correct computation of needed size.
17355 * nss/Makefile (tests): Add test-digits-dots.
17356 * nss/test-digits-dots.c: New test.
17357
fef94eab
SP
173582013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17359
17360 * benchtests/Makefile: Remove instructions for adding
17361 benchmark tests.
17362 * benchtests/README: New file to explain how to execute and
17363 enhance the benchmark tests.
17364
e39adf43
AS
173652013-05-21 Andreas Schwab <schwab@suse.de>
17366
17367 [BZ #15493]
17368 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17369 * setjmp/tst-sigsetjmp.c: New test.
17370
b2b671b6
OB
173712013-05-20 Ondřej Bílka <neleai@seznam.cz>
17372
17373 * sysdeps/x86_64/memset.S (memset): New implementation.
17374 (__bzero): Likewise.
17375 (__memset_tail): New function.
17376
2d48b41c
OB
173772013-05-20 Ondřej Bílka <neleai@seznam.cz>
17378
17379 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17380 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17381 __memcpy_sse2_unaligned ifunc selection.
17382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17383 Add memcpy-sse2-unaligned.S.
17384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17385 Add: __memcpy_sse2_unaligned.
17386
f16cc3eb
JM
173872013-05-19 Joseph Myers <joseph@codesourcery.com>
17388
3e694268
JM
17389 [BZ #15490]
17390 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17391 math_force_eval before restoring floating-point envrionment.
17392 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17394 Likewise.
17395 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17396 <math_private.h>.
17397 (__nearbyintl): Use math_force_eval before restoring
17398 floating-point environment.
17399 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17400
db62a907
JM
17401 * math/gen-libm-test.pl (special_functions): Remove.
17402 (parse_args): Don't handle TEST_extra. Handle functions with no
17403 return value.
17404 * math/libm-test.inc (struct test_sincos_data): Replace with
17405 struct test_fFF_11_data.
17406 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17407 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17408 (sincos_test_data): Change element type to struct
17409 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17410 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17411 RUN_TEST_LOOP_sincos.
17412 * math/README.libm-test: Don't mention special handling of
17413 individual functions.
17414 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17417 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17418 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17420
f16cc3eb
JM
17421 * math/gen-libm-test.pl (get_variable): Remove function.
17422 (parse_args): Don't show pointer parameters to call in test
17423 names. Use "extra output N" in test names for extra outputs
17424 rather than naming variables.
17425
3779b5b6
JM
174262013-05-18 Joseph Myers <joseph@codesourcery.com>
17427
2ee094ff
JM
17428 [BZ #15488]
17429 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17430 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17431 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17432 double tests.
17433 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17434 disable.
17435 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17436 check_long_double.
17437
3779b5b6
JM
17438 * math/gen-libm-test.pl (@tests): Remove variable.
17439 ($count): Likewise.
17440 (new_test): Remove function.
17441 (show_exceptions): New function.
17442 (special_functions): Use show_exceptions instead of new_test.
17443 (parse_args): Likewise.
17444 (generate_testfile): Pass only function name in generated call to
17445 print_max_error or print_complex_max_error.
17446 (get_ulps): Do not handle complex tests specially.
17447 (output_test): Rename to ...
17448 (get_all_ulps_for_test): ... this. Return a string rather than
17449 printing to a file. Require ulps to be present.
17450 (output_ulps): Generate arrays rather than #defines.
17451 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17452 (struct ulp_data): New type.
17453 (BUILD_COMPLEX_ULP): Remove macro.
17454 (compare_ulp_data): New function.
17455 (find_ulps): Likewise.
17456 (find_test_ulps): Likewise.
17457 (find_function_ulps): Likewise.
17458 (find_complex_function_ulps): Likewise.
17459 (print_max_error): Determine allowed ulps using
17460 find_function_ulps.
17461 (print_complex_max_error): Determine allowed ulps using
17462 find_complex_function_ulps.
17463 (check_float_internal): Determine max ulps using find_test_ulps.
17464 (check_float): Do not take max_ulp parameter. Update call to
17465 check_float_internal.
17466 (check_complex): Likewise.
17467 (check_int): Do not take max_ulp parameter.
17468 (check_long): Likewise.
17469 (check_bool): Likewise.
17470 (check_longlong): Likewise.
17471 (struct test_f_f_data): Remove max_ulp field.
17472 (struct test_ff_f_data): Likewise.
17473 (struct test_ff_f_data_nexttoward): Likewise.
17474 (struct test_fi_f_data): Likewise.
17475 (struct test_fl_f_data): Likewise.
17476 (struct test_if_f_data): Likewise.
17477 (struct test_fff_f_data): Likewise.
17478 (struct test_c_f_data): Likewise.
17479 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17480 (struct test_fF_f1_data): Likewise.
17481 (struct test_ffI_f1_data): Likewise.
17482 (struct test_c_c_data): Remove max_ulp field.
17483 (struct test_cc_c_data): Likewise.
17484 (struct test_f_i_data): Likewise.
17485 (struct test_ff_i_data): Likewise.
17486 (struct test_f_l_data): Likewise.
17487 (struct test_f_L_data): Likewise.
17488 (struct test_sincos_data): Likewise.
17489 (RUN_TEST_f_f): Do not handle ulps.
17490 (RUN_TEST_LOOP_f_f): Likewise.
17491 (RUN_TEST_2_f): Likewise.
17492 (RUN_TEST_LOOP_2_f): Likewise.
17493 (RUN_TEST_fff_f): Likewise.
17494 (RUN_TEST_LOOP_fff_f): Likewise.
17495 (RUN_TEST_c_f): Likewise.
17496 (RUN_TEST_LOOP_c_f): Likewise.
17497 (RUN_TEST_f_f1): Likewise.
17498 (RUN_TEST_LOOP_f_f1): Likewise.
17499 (RUN_TEST_fF_f1): Likewise.
17500 (RUN_TEST_LOOP_fF_f1): Likewise.
17501 (RUN_TEST_fI_f1): Likewise.
17502 (RUN_TEST_LOOP_fI_f1): Likewise.
17503 (RUN_TEST_ffI_f1): Likewise.
17504 (RUN_TEST_LOOP_ffI_f1): Likewise.
17505 (RUN_TEST_c_c): Likewise.
17506 (RUN_TEST_LOOP_c_c): Likewise.
17507 (RUN_TEST_cc_c): Likewise.
17508 (RUN_TEST_LOOP_cc_c): Likewise.
17509 (RUN_TEST_f_i): Likewise.
17510 (RUN_TEST_LOOP_f_i): Likewise.
17511 (RUN_TEST_f_i_tg): Likewise.
17512 (RUN_TEST_LOOP_f_i_tg): Likewise.
17513 (RUN_TEST_ff_i_tg): Likewise.
17514 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17515 (RUN_TEST_f_b): Likewise.
17516 (RUN_TEST_LOOP_f_b): Likewise.
17517 (RUN_TEST_f_b_tg): Likewise.
17518 (RUN_TEST_LOOP_f_b_tg): Likewise.
17519 (RUN_TEST_f_l): Likewise.
17520 (RUN_TEST_LOOP_f_l): Likewise.
17521 (RUN_TEST_f_L): Likewise.
17522 (RUN_TEST_LOOP_f_L): Likewise.
17523 (RUN_TEST_sincos): Likewise.
17524 (RUN_TEST_LOOP_sincos): Likewise.
17525
8269107f
JM
175262013-05-17 Joseph Myers <joseph@codesourcery.com>
17527
bb38759d
JM
17528 [BZ #15480]
17529 [BZ #15485]
17530 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17531 main case of finite arguments, set rounding mode to FE_TONEAREST
17532 and discard exceptions.
17533 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17534 exceptions.
17535 (remainder_tonearest_test_data): New variable.
17536 (remainder_test_tonearest): New function.
17537 (remainder_towardzero_test_data): New variable.
17538 (remainder_test_towardzero): New function.
17539 (remainder_downward_test_data): New variable.
17540 (remainder_test_downward): New function.
17541 (remainder_upward_test_data): New variable.
17542 (remainder_test_upward): New function.
17543 (main): Call the new test functions.
17544
a00bdcf0
JM
17545 * math/libm-test.inc (struct test_f_f1_data): Remove field
17546 extra_init.
17547 (struct test_fF_f1_data): Likewise.
17548 (struct test_ffI_f1_data): Likewise.
17549 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17550 based on value of EXTRA_EXPECTED.
17551 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17552 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17553 EXTRA_VAR based on value of EXTRA_EXPECTED.
17554 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17555 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17556 EXTRA_VAR based on value of EXTRA_EXPECTED.
17557 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17558 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17559 EXTRA_VAR based on value of EXTRA_EXPECTED.
17560 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17561 * math/gen-libm-test.pl (parse_args): Don't output initializers
17562 for extra output values.
17563
de407f79
JM
17564 * math/libm-test.inc (check_int): Expect result to be exactly
17565 equal to expected value and do not handle ulps.
17566 (check_long): Likewise.
17567 (check_longlong): Likewise.
17568
8269107f
JM
17569 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17570 exceptions.
17571 (cimag_test_data): Likewise.
17572 (conj_test_data): Likewise.
17573 (copysign_test_data): Likewise.
17574 (cproj_test_data): Likewise.
17575 (creal_test_data): Likewise.
17576 (fabs_test_data): Likewise.
17577 (fdim_test_data): Likewise.
17578 (finite_test_data): Likewise.
17579 (floor_test_data): Likewise.
17580 (fmax_test_data): Likewise.
17581 (fmin_test_data): Likewise.
17582 (fmod_test_data): Likewise.
17583 (fpclassify_test_data): Likewise.
17584 (frexp_test_data): Likewise.
17585 (ilogb_test_data): Likewise.
17586 (isfinite_test_data): Likewise.
17587 (isgreater_test_data): Likewise.
17588 (isgreaterequal_test_data): Likewise.
17589 (isinf_test_data): Likewise.
17590 (isless_test_data): Likewise.
17591 (islessequal_test_data): Likewise.
17592 (islessgreater_test_data): Likewise.
17593 (isnan_test_data): Likewise.
17594 (isnormal_test_data): Likewise.
17595 (issignaling_test_data): Likewise.
17596 (isunordered_test_data): Likewise.
17597 (ldexp_test_data): Likewise.
17598 (lrint_test_data): Likewise.
17599 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17600 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17601 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17602 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17603 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17604 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17605 test input.
17606 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17607 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17608 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17609 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17610 that test input.
17611 (lrint_downward_test_data): Test for "inexact" exceptions.
17612 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17613 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17614 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17615 test input.
17616 (lrint_upward_test_data): Test for "inexact" exceptions.
17617 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17618 test input.
17619 (llrint_test_data): Test for "inexact" exceptions.
17620 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17621 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17622 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17623 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17624 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17625 (llrint_downward_test_data): Test for "inexact" exceptions.
17626 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17627 (llrint_upward_test_data): Test for "inexact" exceptions.
17628 (logb_test_data): Likewise.
17629 (logb_downward_test_data): Likewise.
17630 (nextafter_test_data): Likewise.
17631 (nexttoward_test_data): Likewise.
17632 (remainder_test_data): Likewise.
17633 (remquo_test_data): Likewise.
17634 (scalbn_test_data): Likewise.
17635 (scalbln_test_data): Likewise.
17636 (signbit_test_data): Likewise.
17637 (sqrt_test_data): Likewise.
17638 (significand_test_data): Likewise.
17639
48a18de1
SP
176402013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17641
17642 [BZ #15424]
17643 * benchtests/bench-modf.c (struct args): Mark arg0 as
17644 volatile.
17645 * scripts/bench.pl: Mark members of struct args as volatile.
17646
13d3b41a
AZ
176472013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17648
68191c1d 17649 [BZ # 15497]
13d3b41a
AZ
17650 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17651 negative infinity on POWER6 or lower.
17652 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17653
2848b105
MR
176542013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17655
17656 [BZ #15442]
17657 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17658 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17659 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17660 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17661 (_FP_SETQNAN): New macro.
17662 (_FP_SETQNAN_SEMIRAW): Likewise.
17663 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17664 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17665 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17666 (FP_EXTEND): Use _FP_FRAC_SNANP.
17667 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17668 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17669 into account.
17670 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17671 New macro.
17672 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17673 Likewise.
17674
323e5cb7
JM
176752013-05-16 Joseph Myers <joseph@codesourcery.com>
17676
c58b274f
JM
17677 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17678 with DIVIDE_BY_ZERO_EXCEPTION.
17679 (gamma_test_data): Likewise.
17680 (lgamma_test_data): Likewise.
17681 (log_test_data): Likewise.
17682 (log10_test_data): Likewise.
17683 (log2_test_data): Likewise.
17684 (tgamma_test_data): Likewise.
17685
0ab34904
JM
17686 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17687 (acos_test_tonearest): Likewise.
17688 (acos_test_towardzero): Likewise.
17689 (acos_test_downward): Likewise.
17690 (acos_test_upward): Likewise.
17691 (acosh_test): Likewise.
17692 (asin_test): Likewise.
17693 (asin_test_tonearest): Likewise.
17694 (asin_test_towardzero): Likewise.
17695 (asin_test_downward): Likewise.
17696 (asin_test_upward): Likewise.
17697 (asinh_test): Likewise.
17698 (atan_test): Likewise.
17699 (atanh_test): Likewise.
17700 (atan2_test): Likewise.
17701 (cabs_test): Likewise.
17702 (cacos_test): Likewise.
17703 (cacosh_test): Likewise.
17704 (casin_test): Likewise.
17705 (casinh_test): Likewise.
17706 (catan_test): Likewise.
17707 (catanh_test): Likewise.
17708 (cbrt_test): Likewise.
17709 (ccos_test): Likewise.
17710 (ccosh_test): Likewise.
17711 (cexp_test): Likewise.
17712 (clog_test): Likewise.
17713 (clog10_test): Likewise.
17714 (cos_test): Likewise.
17715 (cos_test_tonearest): Likewise.
17716 (cos_test_towardzero): Likewise.
17717 (cos_test_downward): Likewise.
17718 (cos_test_upward): Likewise.
17719 (cosh_test): Likewise.
17720 (cosh_test_tonearest): Likewise.
17721 (cosh_test_towardzero): Likewise.
17722 (cosh_test_downward): Likewise.
17723 (cosh_test_upward): Likewise.
17724 (cpow_test): Likewise.
17725 (csin_test): Likewise.
17726 (csinh_test): Likewise.
17727 (csqrt_test): Likewise.
17728 (ctan_test): Likewise.
17729 (ctan_test_tonearest): Likewise.
17730 (ctan_test_towardzero): Likewise.
17731 (ctan_test_downward): Likewise.
17732 (ctan_test_upward): Likewise.
17733 (ctanh_test): Likewise.
17734 (ctanh_test_tonearest): Likewise.
17735 (ctanh_test_towardzero): Likewise.
17736 (ctanh_test_downward): Likewise.
17737 (ctanh_test_upward): Likewise.
17738 (erf_test): Likewise.
17739 (erfc_test): Likewise.
17740 (exp_test): Likewise.
17741 (exp_test_tonearest): Likewise.
17742 (exp_test_towardzero): Likewise.
17743 (exp_test_downward): Likewise.
17744 (exp_test_upward): Likewise.
17745 (exp10_test): Likewise.
17746 (exp2_test): Likewise.
17747 (expm1_test): Likewise.
17748 (fmod_test): Likewise.
17749 (gamma_test): Likewise.
17750 (hypot_test): Likewise.
17751 (j0_test): Likewise.
17752 (j1_test): Likewise.
17753 (jn_test): Likewise.
17754 (lgamma_test): Likewise.
17755 (log_test): Likewise.
17756 (log10_test): Likewise.
17757 (log1p_test): Likewise.
17758 (log2_test): Likewise.
17759 (logb_test_downward): Likewise.
17760 (pow_test): Likewise.
17761 (pow_test_tonearest): Likewise.
17762 (pow_test_towardzero): Likewise.
17763 (pow_test_downward): Likewise.
17764 (pow_test_upward): Likewise.
17765 (remainder_test): Likewise.
17766 (remquo_test): Likewise.
17767 (sin_test): Likewise.
17768 (sin_test_tonearest): Likewise.
17769 (sin_test_towardzero): Likewise.
17770 (sin_test_downward): Likewise.
17771 (sin_test_upward): Likewise.
17772 (sincos_test): Likewise.
17773 (sinh_test): Likewise.
17774 (sinh_test_tonearest): Likewise.
17775 (sinh_test_towardzero): Likewise.
17776 (sinh_test_downward): Likewise.
17777 (sinh_test_upward): Likewise.
17778 (sqrt_test): Likewise.
17779 (tan_test): Likewise.
17780 (tan_test_tonearest): Likewise.
17781 (tan_test_towardzero): Likewise.
17782 (tan_test_downward): Likewise.
17783 (tan_test_upward): Likewise.
17784 (tanh_test): Likewise.
17785 (tgamma_test): Likewise.
17786 (y0_test): Likewise.
17787 (y1_test): Likewise.
17788 (yn_test): Likewise.
17789
323e5cb7
JM
17790 * math/gen-libm-test.pl (adjust_arg): Remove function.
17791 (special_function): Remove argument $in_func. Only handle
17792 generating output for tables of tests, not inside functions.
17793 (parse_args): Likewise.
17794 (generate_testfile): Remove variable $in_func. Update call to
17795 parse_args.
17796 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17797 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17798 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17799 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17800 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17801 (MAX_VALUE_INIT): Rename macro to max_value.
17802 (MIN_VALUE_INIT): Rename macro to min_value.
17803 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17804 (plus_zero): Remove variable.
17805 (minus_zero): Likewise.
17806 (plus_infty): Likewise.
17807 (minus_infty): Likewise.
17808 (qnan_value): Likewise.
17809 (max_value): Likewise.
17810 (min_value): Likewise.
17811 (min_subnorm_value): Likewise.
17812
e054f494
RA
178132013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17814
17815 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17816 uint64_t or uint32_t usage.
17817 * crypt/sha256-block.c: Likewise.
17818 * crypt/sha256-crypt.c: Likewise.
17819 * crypt/sha256.c: Likewise.
17820 * crypt/sha512-block.c: Likewise.
17821 * crypt/sha512-crypt.c: Likewise.
17822 * crypt/sha512.c: Likewise.
17823 * debug/backtrace-tst.c: Likewise.
17824 * debug/pcprofiledump.c: Likewise.
17825 * elf/cache.c: Likewise.
17826 * elf/dl-cache.c: Likewise.
17827 * elf/dl-misc.c: Likewise.
17828 * elf/dl-profile.c: Likewise.
17829 * elf/dl-support.c: Likewise.
17830 * elf/ldconfig.c: Likewise.
17831 * elf/sprof.c: Likewise.
17832 * iconv/dummy-repertoire.c: Likewise.
17833 * iconv/iconv_charmap.c: Likewise.
17834 * iconv/skeleton.c: Likewise.
17835 * iconvdata/8bit-generic.c: Likewise.
17836 * iconvdata/cp737.h: Likewise.
17837 * iconvdata/cp775.h: Likewise.
17838 * iconvdata/ibm1008.h: Likewise.
17839 * iconvdata/ibm1025.h: Likewise.
17840 * iconvdata/ibm1046.h: Likewise.
17841 * iconvdata/ibm1097.h: Likewise.
17842 * iconvdata/ibm1112.h: Likewise.
17843 * iconvdata/ibm1122.h: Likewise.
17844 * iconvdata/ibm1123.h: Likewise.
17845 * iconvdata/ibm1124.h: Likewise.
17846 * iconvdata/ibm1129.h: Likewise.
17847 * iconvdata/ibm1130.h: Likewise.
17848 * iconvdata/ibm1132.h: Likewise.
17849 * iconvdata/ibm1133.h: Likewise.
17850 * iconvdata/ibm1137.h: Likewise.
17851 * iconvdata/ibm1140.h: Likewise.
17852 * iconvdata/ibm1141.h: Likewise.
17853 * iconvdata/ibm1142.h: Likewise.
17854 * iconvdata/ibm1143.h: Likewise.
17855 * iconvdata/ibm1144.h: Likewise.
17856 * iconvdata/ibm1145.h: Likewise.
17857 * iconvdata/ibm1146.h: Likewise.
17858 * iconvdata/ibm1147.h: Likewise.
17859 * iconvdata/ibm1148.h: Likewise.
17860 * iconvdata/ibm1149.h: Likewise.
17861 * iconvdata/ibm1153.h: Likewise.
17862 * iconvdata/ibm1154.h: Likewise.
17863 * iconvdata/ibm1155.h: Likewise.
17864 * iconvdata/ibm1156.h: Likewise.
17865 * iconvdata/ibm1157.h: Likewise.
17866 * iconvdata/ibm1158.h: Likewise.
17867 * iconvdata/ibm1160.h: Likewise.
17868 * iconvdata/ibm1161.h: Likewise.
17869 * iconvdata/ibm1162.h: Likewise.
17870 * iconvdata/ibm1163.h: Likewise.
17871 * iconvdata/ibm1164.h: Likewise.
17872 * iconvdata/ibm1166.h: Likewise.
17873 * iconvdata/ibm1167.h: Likewise.
17874 * iconvdata/ibm12712.h: Likewise.
17875 * iconvdata/ibm1390.h: Likewise.
17876 * iconvdata/ibm1399.h: Likewise.
17877 * iconvdata/ibm16804.h: Likewise.
17878 * iconvdata/ibm4517.h: Likewise.
17879 * iconvdata/ibm4899.h: Likewise.
17880 * iconvdata/ibm4909.h: Likewise.
17881 * iconvdata/ibm4971.h: Likewise.
17882 * iconvdata/ibm5347.h: Likewise.
17883 * iconvdata/ibm803.h: Likewise.
17884 * iconvdata/ibm856.h: Likewise.
17885 * iconvdata/ibm901.h: Likewise.
17886 * iconvdata/ibm902.h: Likewise.
17887 * iconvdata/ibm9030.h: Likewise.
17888 * iconvdata/ibm9066.h: Likewise.
17889 * iconvdata/ibm921.h: Likewise.
17890 * iconvdata/ibm922.h: Likewise.
17891 * iconvdata/ibm9448.h: Likewise.
17892 * iconvdata/isiri-3342.h: Likewise.
17893 * iconvdata/jis0201.h: Likewise.
17894 * include/link.h: Likewise.
17895 * include/netdb.h: Likewise.
17896 * inet/check_native.c: Likewise.
17897 * inet/check_pf.c: Likewise.
17898 * inet/getipv4sourcefilter.c: Likewise.
17899 * inet/getnameinfo.c: Likewise.
17900 * inet/getsourcefilter.c: Likewise.
17901 * inet/htonl.c: Likewise.
17902 * inet/setipv4sourcefilter.c: Likewise.
17903 * inet/setsourcefilter.c: Likewise.
17904 * inet/test-inet6_opt.c: Likewise.
17905 * inet/tst-network.c: Likewise.
17906 * locale/C-collate.c: Likewise.
17907 * locale/C-ctype.c: Likewise.
17908 * locale/C-time.c: Likewise.
17909 * locale/C-translit.h: Likewise.
17910 * locale/loadarchive.c: Likewise.
17911 * locale/programs/3level.h: Likewise.
17912 * locale/programs/charmap.c: Likewise.
17913 * locale/programs/charmap.h: Likewise.
17914 * locale/programs/ld-address.c: Likewise.
17915 * locale/programs/ld-collate.c: Likewise.
17916 * locale/programs/ld-ctype.c: Likewise.
17917 * locale/programs/ld-identification.c: Likewise.
17918 * locale/programs/ld-measurement.c: Likewise.
17919 * locale/programs/ld-messages.c: Likewise.
17920 * locale/programs/ld-monetary.c: Likewise.
17921 * locale/programs/ld-name.c: Likewise.
17922 * locale/programs/ld-numeric.c: Likewise.
17923 * locale/programs/ld-paper.c: Likewise.
17924 * locale/programs/ld-telephone.c: Likewise.
17925 * locale/programs/ld-time.c: Likewise.
17926 * locale/programs/linereader.c: Likewise.
17927 * locale/programs/locale.c: Likewise.
17928 * locale/programs/locarchive.c: Likewise.
17929 * locale/programs/locfile.h: Likewise.
17930 * locale/programs/repertoire.c: Likewise.
17931 * locale/programs/simple-hash.c: Likewise.
17932 * locale/programs/simple-hash.h: Likewise.
17933 * malloc/memusage.c: Likewise.
17934 * malloc/memusagestat.c: Likewise.
17935 * nis/nis_defaults.c: Likewise.
17936 * nis/nis_hash.c: Likewise.
17937 * nis/nis_print.c: Likewise.
17938 * nis/nis_xdr.c: Likewise.
17939 * nscd/connections.c: Likewise.
17940 * nscd/hstcache.c: Likewise.
17941 * nscd/nscd_gethst_r.c: Likewise.
17942 * nscd/nscd_getserv_r.c: Likewise.
17943 * nscd/nscd_helper.c: Likewise.
17944 * nscd/servicescache.c: Likewise.
17945 * nss/makedb.c: Likewise.
17946 * nss/nss_db/db-XXX.c: Likewise.
17947 * nss/nss_db/db-initgroups.c: Likewise.
17948 * nss/nss_db/db-netgrp.c: Likewise.
17949 * nss/nss_files/files-network.c: Likewise.
17950 * nss/nss_files/files-parse.c: Likewise.
17951 * posix/bug-regex5.c: Likewise.
17952 * posix/fnmatch_loop.c: Likewise.
17953 * posix/regcomp.c: Likewise.
17954 * posix/regexec.c: Likewise.
17955 * posix/tst-rfc3484-2.c: Likewise.
17956 * posix/tst-rfc3484-3.c: Likewise.
17957 * posix/tst-rfc3484.c: Likewise.
17958 * resolv/nss_dns/dns-canon.c: Likewise.
17959 * resolv/nss_dns/dns-network.c: Likewise.
17960 * resolv/res_init.c: Likewise.
17961 * resolv/res_mkquery.c: Likewise.
17962 * resolv/tst-aton.c: Likewise.
17963 * stdlib/cxa_atexit.c: Likewise.
17964 * stdlib/cxa_finalize.c: Likewise.
17965 * stdlib/gen-fpioconst.c: Likewise.
17966 * stdlib/strtol_l.c: Likewise.
17967 * string/tst-endian.c: Likewise.
17968 * sunrpc/auth_des.c: Likewise.
17969 * sunrpc/clnt_udp.c: Likewise.
17970 * sunrpc/rtime.c: Likewise.
17971 * sunrpc/svcauth_des.c: Likewise.
17972 * sunrpc/xdr.c: Likewise.
17973 * sunrpc/xdr_intXX_t.c: Likewise.
17974 * sunrpc/xdr_rec.c: Likewise.
17975 * sysdeps/generic/ldconfig.h: Likewise.
17976 * sysdeps/generic/ldsodefs.h: Likewise.
17977 * sysdeps/generic/memusage.h: Likewise.
17978 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17981 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17988 * sysdeps/posix/getaddrinfo.c: Likewise.
17989 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17990 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17991 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17992 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17993 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17994 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17995 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17996 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17997 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17998 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17999 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18000 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18001 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18002 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18003 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18004 * sysdeps/x86_64/dl-tls.h: Likewise.
18005 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18006 * time/alt_digit.c: Likewise.
18007 * time/era.c: Likewise.
18008 * wcsmbs/tst-c16c32-1.c: Likewise.
18009
8c75f674
JM
180102013-05-16 Joseph Myers <joseph@codesourcery.com>
18011
18012 * math/libm-test.inc (struct test_sincos_data): New type.
18013 (RUN_TEST_LOOP_sincos): New macro.
18014 (sincos_test_data): New variable.
18015 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18016
e6e49e59
RH
180172013-05-16 Richard Henderson <rth@redhat.com>
18018
18019 * math/atest-exp2.c (LIMB64): New macro.
18020 (CONSTSZ): New macro.
18021 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18022 (hexdig): Move ...
18023 (print_mpn_fp): ... to function scope.
18024 (read_mpn_hex): Remove.
18025 (get_log2): Remove.
18026 (exp2_mpn): Use mp_log2.
18027 (main): Use mp_exp1.
18028
15c7c18d
JM
180292013-05-16 Joseph Myers <joseph@codesourcery.com>
18030
105a07df
JM
18031 * math/libm-test.inc: Remove comment about not testing "inexact"
18032 exceptions.
18033 (INEXACT_EXCEPTION): New macro.
18034 (NO_INEXACT_EXCEPTION): Likewise.
18035 (INVALID_EXCEPTION_OK): Update value.
18036 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18037 (OVERFLOW_EXCEPTION_OK): Likewise.
18038 (UNDERFLOW_EXCEPTION_OK): Likewise.
18039 (IGNORE_ZERO_INF_SIGN): Likewise.
18040 (ERRNO_UNCHANGED): Likewise.
18041 (ERRNO_EDOM): Likewise.
18042 (ERRNO_ERANGE): Likewise.
18043 (test_exceptions): Handle testing "inexact" exceptions.
18044 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18045 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18046 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18047 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18048 INEXACT_EXCEPTION.
18049 (rint_towardzero_test_data): Likewise.
18050 (rint_downward_test_data): Likewise.
18051 (rint_upward_test_data): Likewise.
18052
e9eee333
JM
18053 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18054 with OVERFLOW_EXCEPTION.
18055 (exp10_test_data): Likewise.
18056 (exp2_test_data): Likewise.
18057 (expm1_test_data): Likewise.
18058 (lgamma_test_data): Likewise.
18059 (pow_test_data): Likewise.
18060 (tgamma_test_data): Likewise.
18061 (yn_test_data): Remove duplicate test of overflow.
18062
1c38ff73
JM
18063 * math/libm-test.inc (struct test_cc_c_data): New type.
18064 (RUN_TEST_LOOP_cc_c): New macro.
18065 (cpow_test_data): New variable.
18066 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18067
15c7c18d
JM
18068 * math/libm-test.inc (struct test_f_L_data): New type.
18069 (RUN_TEST_LOOP_f_L): New macro.
18070 (llrint_test_data): New variable.
18071 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18072 (llrint_tonearest_test_data): New variable.
18073 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18074 (llrint_towardzero_test_data): New variable.
18075 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18076 (llrint_downward_test_data): New variable.
18077 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18078 (llrint_upward_test_data): New variable.
18079 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18080 (llround_test_data): New variable.
18081 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18082
f137ff13
PC
180832013-05-13 Peter Collingbourne <pcc@google.com>
18084
18085 * math/atest-exp2.c (get_log2): Remove const attribute.
18086
3608cb24
JM
180872013-05-15 Joseph Myers <joseph@codesourcery.com>
18088
18089 * math/libm-test.inc (struct test_f_l_data): New type.
18090 (RUN_TEST_LOOP_f_l): New macro.
18091 (lrint_test_data): New variable.
18092 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18093 (lrint_tonearest_test_data): New variable.
18094 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18095 (lrint_towardzero_test_data): New variable.
18096 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18097 (lrint_downward_test_data): New variable.
18098 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18099 (lrint_upward_test_data): New variable.
18100 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18101 (lround_test_data): New variable.
18102 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18103
39b1f617
PC
181042013-05-15 Peter Collingbourne <pcc@google.com>
18105
1deff3dc
PC
18106 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18107 (EXTRACT_WORDS64) Use where appropriate.
18108 (INSERT_WORDS64) Likewise.
18109
791f3ba0
PC
18110 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18111 constraints with x constraints.
18112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18113
39b1f617
PC
18114 * malloc/obstack.c (_obstack_compat): Add initializer.
18115
12fba011
EM
181162013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18117
18118 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18119 si_trapno and add si_addr_lsb to _sifields.sigfault.
18120 (si_trapno): Remove macro.
18121 (si_addr_lsb): Define new macro.
18122 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18123
d369f531
JM
181242013-05-15 Joseph Myers <joseph@codesourcery.com>
18125
b861c6c4
JM
18126 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18127 instead of TEST_f_l.
18128 (llrint_test_tonearest): Likewise.
18129 (llrint_test_towardzero): Likewise.
18130 (llrint_test_downward): Likewise.
18131 (llrint_test_upward): Likewise.
18132 (llround_test): Likewise.
18133
7abeee12
JM
18134 * math/libm-test.inc (struct test_f_i_data): Add comment.
18135 (RUN_TEST_LOOP_f_b): New macro.
18136 (RUN_TEST_LOOP_f_b_tg): Likewise.
18137 (finite_test_data): New variable.
18138 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18139 (isfinite_test_data): New variable.
18140 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18141 (isinf_test_data): New variable.
18142 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18143 (isnan_test_data): New variable.
18144 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18145 (isnormal_test_data): New variable.
18146 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18147 (issignaling_test_data): New variable.
18148 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18149 (signbit_test_data): New variable.
18150 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18151
cbe8c4d3
JM
18152 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18153 with INVALID_EXCEPTION.
18154 (acosh_test_data): Likewise.
18155 (asin_test_data): Likewise.
18156 (atanh_test_data): Likewise.
18157 (fmod_test_data): Likewise.
18158 (log_test_data): Likewise.
18159 (log10_test_data): Likewise.
18160 (log2_test_data): Likewise.
18161 (pow_test_data): Likewise.
18162 (sqrt_test_data): Likewise.
18163 (y0_test_data): Likewise.
18164 (y1_test_data): Likewise.
18165 (yn_test_data): Likewise.
18166
5575c0e5
JM
18167 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18168 function contents.
18169
d369f531
JM
18170 * math/libm-test.inc (struct test_ff_i_data): New type.
18171 (RUN_TEST_LOOP_ff_i_tg): New macro.
18172 (isgreater_test_data): New variable.
18173 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18174 (isgreaterequal_test_data): New variable.
18175 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18176 (isless_test_data): New variable.
18177 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18178 (islessequal_test_data): New variable.
18179 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18180 (islessgreater_test_data): New variable.
18181 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18182 (isunordered_test_data): New variable.
18183 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18184
781fd748
DM
181852013-05-14 David S. Miller <davem@davemloft.net>
18186
18187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18188
87aa21df
JM
181892013-05-14 Joseph Myers <joseph@codesourcery.com>
18190
5e908270
JM
18191 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18192
f71172e5
JM
18193 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18194 extra_test to int.
18195 (struct test_f_i_data): Change type of max_ulp to int.
18196
8cfa635a
JM
18197 * math/libm-test.inc (test_ffI_f1_data): New type.
18198 (RUN_TEST_LOOP_ffI_f1): New macro.
18199 (remquo_test_data): New variable.
18200 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18201
2bcb36b2
JM
18202 * setjmp/tst-setjmp-fp.c: New file.
18203 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18204 (link-libm): New variable.
18205 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18206
acbd839a
JM
18207 * math/libm-test.inc (struct test_f_i_data): New type.
18208 (RUN_TEST_LOOP_f_i): New macro.
18209 (RUN_TEST_LOOP_f_i_tg): Likewise.
18210 (fpclassify_test_data): New variable.
18211 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18212 (ilogb_test_data): New variable.
18213 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18214
e414d745
JM
18215 * math/libm-test.inc (scalbln_test): Correct function name in END
18216 call.
18217
d9c2a0fd
JM
18218 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18219 (RUN_TEST_LOOP_fI_f1): New macro.
18220 (frexp_test_data): New variable.
18221 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18222
9dc9095d
JM
18223 * math/libm-test.inc (struct test_fF_f1_data): New type.
18224 (RUN_TEST_LOOP_fF_f1): New macro.
18225 (modf_test_data): New variable.
18226 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18227
87aa21df
JM
18228 * math/libm-test.inc (struct test_f_f1_data): New type.
18229 (RUN_TEST_LOOP_f_f1): New macro.
18230 (gamma_test_data): New variable.
18231 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18232 (lgamma_test_data): New variable.
18233 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18234
141af660
CD
182352013-05-13 Carlos O'Donell <carlos@redhat.com>
18236
18237 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18238 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18239 (main): Comment "tls" pseudo-hwcap.
18240
6d33265c
JM
182412013-05-13 Joseph Myers <joseph@codesourcery.com>
18242
68fc074c
JM
18243 * math/libm-test.inc (struct test_fl_f_data): New type.
18244 (RUN_TEST_LOOP_fl_f): New variable.
18245 (scalbln_test_data): New variable.
18246 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18247
243216e1
JM
18248 * math/libm-test.inc (struct test_fi_f_data): New type.
18249 (RUN_TEST_LOOP_fi_f): New macro.
18250 (ldexp_test_data): New variable.
18251 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18252 (scalbn_test_data): New variable.
18253 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18254
6a1992e2
JM
18255 * math/libm-test.inc (struct test_c_f_data): New type.
18256 (RUN_TEST_LOOP_c_f): New macro.
18257 (cabs_test_data): New variable.
18258 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18259 (carg_test_data): New variable.
18260 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18261 (cimag_test_data): New variable.
18262 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18263 (creal_test_data): New variable.
18264 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18265
0e400df5
JM
18266 * math/libm-test.inc (struct test_if_f_data): New type.
18267 (RUN_TEST_LOOP_if_f): New macro.
18268 (jn_test_data): New variable.
18269 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18270 (yn_test_data): New variable.
18271 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18272
6d33265c
JM
18273 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18274
f98ece5f
AZ
182752013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18276
18277 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18278 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18279
0f7d347b
SP
182802013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18281
43fe811b
SP
18282 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18283 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18284 (bench-deps): Add bench-timing.h.
18285 * benchtests-bench-skeleton.c: Include bench-timing.h.
18286 (main): Use TIMING_* macros instead of clock_gettime.
18287 * benchtests/bench-timing.h: New file.
18288
0f7d347b
SP
18289 [BZ #14582]
18290 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18291 Renamed from _LIB_VERSION.
18292 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18293
601a3a5f
JM
182942013-05-12 Joseph Myers <joseph@codesourcery.com>
18295
4f184d30
JM
18296 * math/libm-test.inc (struct test_fff_f_data): New type.
18297 (RUN_TEST_LOOP_fff_f): New macro.
18298 (fma_test_data): New variable.
18299 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18300 (fma_towardzero_test_data): New variable.
18301 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18302 (fma_downward_test_data): New variable.
18303 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18304 (fma_upward_test_data): New variable.
18305 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18306
08198877
JM
18307 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18308 (struct test_c_c_data): New type.
18309 (RUN_TEST_LOOP_c_c): New macro.
18310 (cacos_test_data): New variable.
18311 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18312 (cacosh_test_data): New variable.
18313 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18314 (casin_test_data): New variable.
18315 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18316 (casinh_test_data): New variable.
18317 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18318 (catan_test_data): New variable.
18319 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18320 (catanh_test_data): New variable.
18321 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18322 (ccos_test_data): New variable.
18323 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18324 (ccosh_test_data): New variable.
18325 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18326 (cexp_test_data): New variable.
18327 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18328 (clog_test_data): New variable.
18329 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18330 (clog10_test_data): New variable.
18331 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18332 (conj_test_data): New variable.
18333 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18334 (cproj_test_data): New variable.
18335 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18336 (csin_test_data): New variable.
18337 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18338 (csinh_test_data): New variable.
18339 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18340 (csqrt_test_data): New variable.
18341 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18342 (ctan_test_data): New variable.
18343 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18344 (ctan_tonearest_test_data): New variable.
18345 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18346 (ctan_towardzero_test_data): New variable.
18347 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18348 (ctan_downward_test_data): New variable.
18349 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18350 (ctan_upward_test_data): New variable.
18351 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18352 (ctanh_test_data): New variable.
18353 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18354 (ctanh_tonearest_test_data): New variable.
18355 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18356 (ctanh_towardzero_test_data): New variable.
18357 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18358 (ctanh_downward_test_data): New variable.
18359 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18360 (ctanh_upward_test_data): New variable.
18361 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18362 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18363 of BUILD_COMPLEX.
18364
601a3a5f
JM
18365 * math/libm-test.inc (struct test_ff_f_data): New type.
18366 (struct test_ff_f_data_nexttoward): Likewise.
18367 (RUN_TEST_LOOP_2_f): New macro.
18368 (RUN_TEST_LOOP_ff_f): Likewise.
18369 (atan2_test_data): New variable.
18370 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18371 (copysign_test_data): New variable.
18372 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18373 (fdim_test_data): New variable.
18374 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18375 (fmax_test_data): New variable.
18376 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18377 (fmin_test_data): New variable.
18378 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18379 (fmod_test_data): New variable.
18380 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18381 (hypot_test_data): New variable.
18382 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18383 (nextafter_test_data): New variable.
18384 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18385 (nexttoward_test_data): New variable.
18386 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18387 (pow_test_data): New variable.
18388 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18389 (pow_tonearest_test_data): New variable.
18390 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18391 (pow_towardzero_test_data): New variable.
18392 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18393 (pow_downward_test_data): New variable.
18394 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18395 (pow_upward_test_data): New variable.
18396 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18397 (remainder_test_data): New variable.
18398 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18399 (scalb_test_data): New variable.
18400 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18401 * sysdeps/i386/fpu/libm-test-ulps: Update.
18402
74c57478
JM
184032013-05-11 Joseph Myers <joseph@codesourcery.com>
18404
8329e4da
JM
18405 * math/libm-test.inc (fma_test): Use max_value instead of local
18406 variable fltmax.
18407 (nextafter_test): Likewise.
18408
74c57478
JM
18409 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18410 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18411 (acos_downward_test_data): New variable.
18412 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18413 (acos_upward_test_data): New variable.
18414 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18415 (acosh_test_data): New variable.
18416 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18417 (asin_test_data): New variable.
18418 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18419 (asin_tonearest_test_data): New variable.
18420 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18421 (asin_towardzero_test_data): New variable.
18422 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18423 (asin_downward_test_data): New variable.
18424 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18425 (asin_upward_test_data): New variable.
18426 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18427 (asinh_test_data): New variable.
18428 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18429 (atan_test_data): New variable.
18430 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18431 (atanh_test_data): New variable.
18432 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18433 (cbrt_test_data): New variable.
18434 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18435 (ceil_test_data): New variable.
18436 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18437 (cos_test_data): New variable.
18438 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18439 (cos_tonearest_test_data): New variable.
18440 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18441 (cos_towardzero_test_data): New variable.
18442 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18443 (cos_downward_test_data): New variable.
18444 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18445 (cos_upward_test_data): New variable.
18446 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18447 (cosh_test_data): New variable.
18448 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18449 (cosh_tonearest_test_data): New variable.
18450 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18451 (cosh_towardzero_test_data): New variable.
18452 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18453 (cosh_downward_test_data): New variable.
18454 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18455 (cosh_upward_test_data): New variable.
18456 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18457 (erf_test_data): New variable.
18458 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18459 (erfc_test_data): New variable.
18460 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18461 (exp_test_data): New variable.
18462 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18463 (exp_tonearest_test_data): New variable.
18464 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18465 (exp_towardzero_test_data): New variable.
18466 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18467 (exp_downward_test_data): New variable.
18468 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18469 (exp_upward_test_data): New variable.
18470 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18471 (exp10_test_data): New variable.
18472 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18473 (exp2_test_data): New variable.
18474 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18475 (expm1_test_data): New variable.
18476 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18477 (fabs_test_data): New variable.
18478 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18479 (floor_test_data): New variable.
18480 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18481 (j0_test_data): New variable.
18482 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18483 (j1_test_data): New variable.
18484 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18485 (log_test_data): New variable.
18486 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18487 (log10_test_data): New variable.
18488 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18489 (log1p_test_data): New variable.
18490 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18491 (log2_test_data): New variable.
18492 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18493 (logb_test_data): New variable.
18494 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18495 (logb_downward_test_data): New variable.
18496 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18497 (nearbyint_test_data): New variable.
18498 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18499 (rint_test_data): New variable.
18500 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18501 (rint_tonearest_test_data): New variable.
18502 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18503 (rint_towardzero_test_data): New variable.
18504 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18505 (rint_downward_test_data): New variable.
18506 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18507 (rint_upward_test_data): New variable.
18508 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18509 (round_test_data): New variable.
18510 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18511 (sin_test_data): New variable.
18512 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18513 (sin_tonearest_test_data): New variable.
18514 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18515 (sin_towardzero_test_data): New variable.
18516 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18517 (sin_downward_test_data): New variable.
18518 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18519 (sin_upward_test_data): New variable.
18520 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18521 (sinh_test_data): New variable.
18522 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18523 (sinh_tonearest_test_data): New variable.
18524 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18525 (sinh_towardzero_test_data): New variable.
18526 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18527 (sinh_downward_test_data): New variable.
18528 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18529 (sinh_upward_test_data): New variable.
18530 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18531 (sqrt_test_data): New variable.
18532 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18533 (tan_test_data): New variable.
18534 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18535 (tan_tonearest_test_data): New variable.
18536 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18537 (tan_towardzero_test_data): New variable.
18538 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18539 (tan_downward_test_data): New variable.
18540 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18541 (tan_upward_test_data): New variable.
18542 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18543 (tanh_test_data): New variable.
18544 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18545 (tgamma_test_data): New variable.
18546 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18547 (trunc_test_data): New variable.
18548 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18549 (y0_test_data): New variable.
18550 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18551 (y1_test_data): New variable.
18552 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18553 (significand_test_data): New variable.
18554 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18555
7187d844
CG
185562013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18557
18558 [BZ #12387]
18559 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18560
f63fae73
PT
185612013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18562
18563 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18564
8a67a4b3
AJ
185652013-05-10 Andreas Jaeger <aj@suse.de>
18566
18567 [BZ #15448]
18568 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18569 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18570
51df539d
JM
185712013-05-10 Joseph Myers <joseph@codesourcery.com>
18572
18573 * math/gen-libm-test.pl (adjust_arg): New function.
18574 (special_functions): Handle generating output in both functions
18575 and arrays.
18576 (parse_args): Likewise.
18577 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18578 $in_func argument to parse_args.
18579 * math/libm-test.inc (struct test_f_f_data): New type.
18580 (IF_ROUND_INIT_): New macro.
18581 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18582 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18583 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18584 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18585 (ROUND_RESTORE_): Likewise.
18586 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18587 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18588 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18589 (ROUND_RESTORE_FE_UPWARD): Likewise.
18590 (RUN_TEST_LOOP_f_f): New macro.
18591 (acos_test_data): New variable.
18592 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18593 (acos_tonearest_test_data): New variable.
18594 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18595
5c637fe5
SP
185962013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18597
18598 * benchtests/bench-skeleton.c (startup): Fix coding style.
18599
ab2b9461
JM
186002013-05-10 Joseph Myers <joseph@codesourcery.com>
18601
18602 [BZ #6809]
18603 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18604 negative infinity argument.
18605 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18606 negative infinity argument.
18607 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18608 negative infinity argument.
18609 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18610 domain errors.
18611
4c0fe6fe
FW
186122013-05-10 Florian Weimer <fweimer@redhat.com>
18613
18614 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18615 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18616 * iconv/iconv_prog.c (main): Likewise.
18617 * locale/programs/charmap-dir.c (charmap_readdir)
18618 (fopen_uncompressed): Likewise.
18619 * locale/programs/locfile.c (siblings_uncached)
18620 (write_locale_data): Use lstat64 instead of lstat.
18621 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18622 stat.
18623
a3375d29
AJ
186242013-05-10 Andreas Jaeger <aj@suse.de>
18625
18626 [BZ #15395]
18627 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18628 localization.
18629 Include <locale.h>.
18630
36129722
CD
186312013-05-09 Carlos O'Donell <carlos@redhat.com>
18632
18633 * elf/dl-close.c (_dl_close_worker): Add comments.
18634
faa7f811
JM
186352013-05-09 Joseph Myers <joseph@codesourcery.com>
18636
ed41ffef
JM
18637 [BZ #15359]
18638 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18639 high part of pi/2.
18640 (__ieee754_rem_pio2l): Update comments.
18641
d0213cd0
JM
18642 [BZ #15429]
18643 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18644 high part of pi/2.
18645 (__ieee754_rem_pio2l): Update comments.
18646
0d3e777a
JM
18647 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18648 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18649
24f56066
JM
18650 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18651 M_PI_4l.
18652
faa7f811
JM
18653 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18654 (M_PI_34_LOG10El): Likewise.
18655 (M_PI2_LOG10El): Likewise.
18656 (M_PI4_LOG10El): Likewise.
18657 (M_PI_LOG10El): Likewise.
18658
e9a5e0fd
AZ
186592013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18660
18661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18662
d8cd06db
JM
186632013-05-08 Joseph Myers <joseph@codesourcery.com>
18664
a0d9f9d7
JM
18665 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18666 (MINUS_ZERO_INIT): Likewise.
18667 (PLUS_INFTY_INIT): Likewise.
18668 (MINUS_INFTY_INIT): Likewise.
18669 (QNAN_VALUE_INIT): Likewise.
18670 (MAX_VALUE_INIT): Likewise.
18671 (MIN_VALUE_INIT): Likewise.
18672 (MIN_SUBNORM_VALUE_INIT): Likewise.
18673 (plus_zero): Initialize with PLUS_ZERO_INIT.
18674 (minus_zero): Initialize with MINUS_ZERO_INIT.
18675 (plus_infty): Initialize with PLUS_INFTY_INIT.
18676 (minus_infty): Initialize with MINUS_INFTY_INIT.
18677 (qnan_value): Initialize with QNAN_VALUE_INIT.
18678 (max_value): Initialize with MAX_VALUE_INIT.
18679 (min_value): Initialize with MIN_VALUE_INIT.
18680 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18681
ae08db3b
JM
18682 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18683 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18684 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18685 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18686
f44bf14a
JM
18687 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18688 (RUN_TEST_2_f): Likewise.
18689 (RUN_TEST_ff_f): Likewise.
18690 (RUN_TEST_fi_f): Likewise.
18691 (RUN_TEST_fl_f): Likewise.
18692 (RUN_TEST_fff_f): Likewise.
18693 (RUN_TEST_c_f): Likewise.
18694 (RUN_TEST_f_f1): Likewise.
18695 (RUN_TEST_fF_f1): Likewise.
18696 (RUN_TEST_fI_f1): Likewise.
18697 (RUN_TEST_ffI_f1): Likewise.
18698 (RUN_TEST_c_c): Likewise.
18699 (RUN_TEST_cc_c): Likewise.
18700 (RUN_TEST_f_i): Likewise.
18701 (RUN_TEST_f_i_tg): Likewise.
18702 (RUN_TEST_ff_i_tg): Likewise.
18703 (RUN_TEST_f_b): Likewise.
18704 (RUN_TEST_f_b_tg): Likewise.
18705 (RUN_TEST_f_l): Likewise.
18706 (RUN_TEST_f_L): Likewise.
18707 (RUN_TEST_sincos): Likewise.
18708 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18709 whether to show exceptions. Do not include ");\n" in return
18710 value.
18711 (special_functions): Output call to RUN_TEST_sincos instead of
18712 check_float calls. Update calls to new_test.
18713 (parse_args): Output call to single RUN_TEST_* macro instead of
18714 check_* calls and other assignments. Update calls to new_test.
18715
d8cd06db
JM
18716 [BZ #2546]
18717 [BZ #2560]
18718 [BZ #5159]
18719 [BZ #15426]
18720 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18721 input to result for tgamma overflow.
18722 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18723 (gamma_coeff): New variable.
18724 (NCOEFF): New macro.
18725 (gamma_positive): New function.
18726 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18727 underflow here. Use gamma_positive instead of exp (lgamma) for
18728 other arguments.
18729 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18730 (gamma_coeff): New variable.
18731 (NCOEFF): New macro.
18732 (gammaf_positive): New function.
18733 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18734 underflow here. Use gamma_positive instead of exp (lgamma) for
18735 other arguments.
18736 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18737 (gamma_coeff): New variable.
18738 (NCOEFF): New macro.
18739 (gammal_positive): New function.
18740 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18741 underflow here. Use gamma_positive instead of exp (lgamma) for
18742 other arguments.
18743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18744 (gamma_coeff): New variable.
18745 (NCOEFF): New macro.
18746 (gammal_positive): New function.
18747 (__ieee754_gammal_r): Handle positive infinity, overflow and
18748 underflow here. Handle NaN the same as positive infinity. Remove
18749 check x < 0xffffffff for negative integers. Use gamma_positive
18750 instead of exp (lgamma) for other arguments.
18751 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18752 (gamma_coeff): New variable.
18753 (NCOEFF): New macro.
18754 (gammal_positive): New function.
18755 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18756 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18760 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18761 * sysdeps/generic/math_private.h (__gamma_productf): New
18762 prototype.
18763 (__gamma_product): Likewise.
18764 (__gamma_productl): Likewise.
18765 * math/Makefile (libm-calls): Add gamma_product.
18766 * math/libm-test.inc (tgamma_test): Add more tests.
18767 * sysdeps/i386/fpu/libm-test-ulps: Update.
18768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18769
bb7cf681
OB
187702013-05-08 Ondřej Bílka <neleai@seznam.cz>
18771
18772 * benchtests/bench-skeleton.c (main): Preheat CPU.
18773
ba853947
AJ
187742013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18775
18776 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18777
8347c74c
RM
187782013-05-07 Roland McGrath <roland@hack.frob.com>
18779
18780 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18781 and _dl_skip_args_internal.
18782
e8dd4791
CD
187832013-05-07 Carlos O'Donell <carlos@redhat.com>
18784
18785 * manual/message.texi (Message Translation): Talk about users.
18786 Message to key mapping impacts design.
18787
c7405830
RM
187882013-05-06 Roland McGrath <roland@hack.frob.com>
18789
a9173057
RM
18790 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18791
976e2f03
RM
18792 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18793
9723ffc5
RM
18794 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18795 * sysdeps/wordsize-64/glob64.c: ... here.
18796
962e6658
RM
18797 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18798 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18799 New macros.
18800
ee586a6d
RM
18801 * debug/getlogin_r_chk.c: Moved to ...
18802 * login/getlogin_r_chk.c: ... here.
18803 * debug/Makefile (routines): Move getlogin_r_chk to ...
18804 * login/Makefile (routines): ... here.
18805 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18806 * login/Versions (libc: GLIBC_2.4): ... here.
18807
355f9165
RM
18808 * io/poll.c (__poll): Renamed from poll.
18809 Add libc_hidden_def.
18810 (poll): Define as weak alias.
18811
bd9ffde6
RM
18812 * debug/ptsname_r_chk.c: Moved to ...
18813 * login/ptsname_r_chk.c: ... here.
18814 * debug/Makefile (routines): Move ptsname_r_chk to ...
18815 * login/Makefile (routines): ... here.
18816 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18817 * login/Versions (libc: GLIBC_2.4): ... here.
18818
8fb16a04
RM
18819 * posix/getlogin.c: Moved to ...
18820 * login/getlogin.c: ... here.
18821 * posix/getlogin_r.c: Moved to ...
18822 * login/getlogin_r.c: ... here.
18823 * posix/getlogin_r.c: Moved to ...
18824 * login/getlogin_r.c: ... here.
18825 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18826 * login/Makefile (routines): ... here.
18827 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18828 * login/Versions (libc: GLIBC_2.0): ... here.
18829
b99b892f
RM
18830 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18831 (setrlimit): Define as weak alias.
18832
c7405830
RM
18833 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18834 Call __ names for open, ftruncate, and close.
18835 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18836 (truncate): Define as weak alias.
18837
5bf96de5
JM
188382013-05-06 Joseph Myers <joseph@codesourcery.com>
18839
9ea3513c
JM
18840 * math/gen-libm-test.pl (parse_args): Initialize x before each
18841 test of frexp, modf and remquo.
18842
5bf96de5
JM
18843 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18844 test signgam value.
18845
16e616a7
AZ
188462013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18847
18848 [BZ #15418]
18849 [BZ #15419]
18850 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18851 internal tests.
18852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18853
d5e82754
RM
188542013-05-06 Roland McGrath <roland@hack.frob.com>
18855
18856 * elf/dl-writev.h: New file.
18857 * elf/dl-misc.c: Include it.
18858 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18859 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18860
a7548d41
JM
188612013-05-04 Joseph Myers <joseph@codesourcery.com>
18862
b7dab1e4
JM
18863 * math/libm-test.inc (noXFails): Remove variable.
18864 (noXPasses): Likewise.
18865 (BUILD_COMPLEX_INT): Remove macro.
18866 (print_screen): Remove xfail argument.
18867 (print_screen_max_error): Likewise.
18868 (update_stats): Likewise.
18869 (print_max_error): Likewise. Update calls to other affected
18870 functions.
18871 (print_complex_max_error): Likewise.
18872 (test_single_exception): Update calls to print_screen.
18873 (test_single_errno): Likewise.
18874 (check_float_internal): Remove xfail argument. Update calls to
18875 other affected functions.
18876 (check_float): Likewise.
18877 (check_complex): Likewise.
18878 (check_int): Likewise.
18879 (check_long): Likewise.
18880 (check_bool): Likewise.
18881 (check_longlong): Likewise.
18882 (main): Don't print noXFails and noXPasses.
18883 * math/gen-libm-test.pl (top level): Don't mention expected
18884 failure handling in comment.
18885 (new_test): Don't handle expected failures.
18886 (parse_args): Don't mention expected failure handling in comment.
18887 (generate_testfile): Don't handle expected failures.
18888 (parse_ulps): Likewise.
18889 (print_ulps_file): Likewise.
18890 (get_failure): Remove function.
18891 (output_test): Don't handle expected failures.
18892 * make/README.libm-test: Don't mention expected failure handling.
18893
a7548d41
JM
18894 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18895 (minus_zero): Likewise.
18896 (plus_infty): Likewise.
18897 (minus_infty): Likewise.
18898 (qnan_value): Likewise.
18899 (max_value): Likewise.
18900 (min_value): Likewise.
18901 (min_subnorm_value): Likewise.
18902 (initialize): Do not initialize those variables dynamically.
18903
60bfd54c
RM
189042013-05-03 Roland McGrath <roland@hack.frob.com>
18905
cc0e6ed8
RM
18906 * io/open.c (__open_2): Moved to ...
18907 * io/open_2.c: ... this new file.
18908 * io/open64.c (__open64_2): Moved to ...
18909 * io/open64_2.c: ... this new file.
18910 * io/openat.c (__openat_2): Moved to ...
18911 * io/openat_2.c: ... this new file.
18912 * io/openat64.c (__openat64_2): Moved to ...
18913 * io/openat64_2.c: ... this new file.
18914 * io/Makefile (routines): Add them.
18915 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18916 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18917 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18918 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18919 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18920 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18921 (__openat64): Add hidden_ver.
18922 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18923 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18924
60bfd54c
RM
18925 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18926 Separately conditionalize setting of GLRO(dl_sysinfo) so
18927 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18928 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18929
83e7640f
AZ
189302013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18931
18932 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18933 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18934 definition.
18935 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18936 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18937 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18938 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18939 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18940
d5dc2af3
JM
189412013-05-03 Joseph Myers <joseph@codesourcery.com>
18942
c31a5b1e
JM
18943 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18944 test signgam value.
18945
d5dc2af3
JM
18946 * math/libm-test.inc (hypot_test): Do not use
18947 IGNORE_ZERO_INF_SIGN.
18948
164fd39d
AJ
189492013-05-03 Andreas Jaeger <aj@suse.de>
18950
18951 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18952 Linux 3.9.
18953 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18954 (PF_MAX): Adjust for VSOCK change.
18955
8237f48c
AZ
189562013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18957
18958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18959
9df02941
CD
189602013-05-02 Carlos O'Donell <carlos@redhat.com>
18961
18962 [BZ #15264]
18963 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18964 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18965 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18966
d422395e
DM
189672013-05-02 David S. Miller <davem@davemloft.net>
18968
18969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18970
a07c5731
OB
189712013-05-01 Ondřej Bílka <neleai@seznam.cz>
18972
18973 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18974
1324e37f
RM
189752013-05-01 Roland McGrath <roland@hack.frob.com>
18976
18977 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18978
0695940b
RS
189792013-05-01 Richard Smith <richard@metafoo.co.uk>
18980
bb5f27ad 18981 [BZ #14952]
0695940b
RS
18982 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18983 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18984 Use __attribute__ ((__gnu_inline__)).
18985 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18986 Don't use __attribute__ ((__gnu_inline__)).
18987
10de07f5
JM
189882013-05-01 Joseph Myers <joseph@codesourcery.com>
18989
18990 [BZ #15423]
18991 * math/s_catan.c (__catan): Handle small real or imaginary part of
18992 input specially to avoid spurious underflow.
18993 * math/s_catanf.c (__catanf): Likewise.
18994 * math/s_catanh.c (__catanh): Likewise.
18995 * math/s_catanhf.c (__catanhf): Likewise.
18996 * math/s_catanhl.c (__catanhl): Likewise.
18997 * math/s_catanl.c (__catanl): Likewise.
18998 * math/libm-test.inc (catan_test): Add more tests.
18999 (catanh_test): Likewise.
19000 * sysdeps/i386/fpu/libm-test-ulps: Update.
19001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19002
cb4d5414
AZ
190032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19004
19005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19006
caf84319
JM
190072013-04-30 Joseph Myers <joseph@codesourcery.com>
19008
19009 [BZ #15416]
19010 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19011 accurately for denominator in atan2.
19012 * math/s_catanf.c (__catanf): Likewise.
19013 * math/s_catanh.c (__catanh): Likewise.
19014 * math/s_catanhf.c (__catanhf): Likewise.
19015 * math/s_catanhl.c (__catanhl): Likewise.
19016 * math/s_catanl.c (__catanl): Likewise.
19017 * math/libm-test.inc (catan_test): Add more tests.
19018 (catanh_test): Likewise.
19019 * sysdeps/i386/fpu/libm-test-ulps: Update.
19020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19021
d569c6ee
SP
190222013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19023
6dbe713d
SP
19024 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19025
f0ee064b
SP
19026 * benchtests/Makefile (bench): Remove slow benchmarks.
19027 * benchtests/atan-inputs: Add slow benchmark inputs.
19028 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19029 (BENCH_FUNC): Accept variant offset.
19030 (VARIANT): Define.
19031 * benchtests/bench-skeleton.c (main): Run benchmark for each
19032 variant.
19033 * benchtests/cos-inputs: Add slow benchmark inputs.
19034 * benchtests/exp-inputs: Likewise.
19035 * benchtests/pow-inputs: Likewise.
19036 * benchtests/sin-inputs: Likewise.
19037 * benchtests/slowatan-inputs: Remove.
19038 * benchtests/slowatan.c: Remove.
19039 * benchtests/slowcos-inputs: Remove.
19040 * benchtests/slowcos.c: Remove.
19041 * benchtests/slowexp-inputs: Remove.
19042 * benchtests/slowexp.c: Remove.
19043 * benchtests/slowpow-inputs: Remove.
19044 * benchtests/slowpow.c: Remove.
19045 * benchtests/slowsin-inputs: Remove.
19046 * benchtests/slowsin.c: Remove.
19047 * benchtests/slowtan-inputs: Remove.
19048 * benchtests/slowtan.c: Remove.
19049 * benchtests/tan-inputs: Add slow benchmark inputs.
19050 * scripts/bench.pl: Parse comments and directives.
19051
d569c6ee
SP
19052 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19053 in CPPFLAGS.
19054 ($(objpfx)bench-%.c): Remove *-ITER.
19055 * benchtests/bench-modf.c: Remove definition of ITER.
19056 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19057 (main): Loop for DURATION seconds instead of fixed number of
19058 iterations.
19059 * scripts/bench.pl: Don't expect iterations in parameters.
19060
a6a242fe
RM
190612013-04-29 Roland McGrath <roland@hack.frob.com>
19062
19063 * io/fchdir.c (__fchdir): Renamed from fchdir.
19064 (fchdir): Define as weak alias.
19065
f2da7793
JM
190662013-04-29 Joseph Myers <joseph@codesourcery.com>
19067
19068 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19069 (ERRNO_EDOM): Likewise.
19070 (ERRNO_ERANGE): Likewise.
19071 (noErrnoTests): New variable.
19072 (init_max_error): Set errno to 0.
19073 (test_single_errno): New function.
19074 (test_errno): Likewise.
19075 (check_float_internal): Call test_errno. Set errno to 0.
19076 (check_complex): Refer to errno tests in comment.
19077 (check_int): Call test_errno. Set errno to 0.
19078 (check_long): Likewise.
19079 (check_bool): Likewise.
19080 (check_longlong): Likewise.
19081 (cos_test): Use ERRNO_* flags for errno tests instead of
19082 check_int.
19083 (expm1_test): Likewise.
19084 (fmod_test): Likewise.
19085 (ilogb_test): Likewise.
19086 (lgamma_test): Likewise.
19087 (pow_test): Likewise.
19088 (remainder_test): Likewise.
19089 (sin_test): Likewise.
19090 (tan_test): Likewise.
19091 (yn_test): Likewise.
19092 (initialize): Set errno to 0.
19093 (main): Print number of errno tests.
19094 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19095
b1a36ceb
AJ
190962013-04-29 Andreas Jaeger <aj@suse.de>
19097
c3ed8088
AJ
19098 [BZ #15084]
19099 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19100 and RES_USEVC.
19101
f1a24198
AJ
19102 [BZ #15085]
19103 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19104 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19105 unimplemented.
19106
9ce3b2cb
AJ
19107 [BZ #15380]
19108 * stdlib/random.c (__initstate): Return NULL if
19109 __initstate fails.
19110
f1a24198 19111 [BZ #15086]
b1a36ceb
AJ
19112 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19113 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19114 RES_SNGLKUPREOP.
19115
7e7b6f36
AZ
191162013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19117
19118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19119
4d14f449
JM
191202013-04-29 Joseph Myers <joseph@codesourcery.com>
19121
19122 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19123 of individual tests.
19124 (casin_test): Likewise.
19125 (casinh_test): Likewise.
19126
5b4217d7
JM
191272013-04-27 Joseph Myers <joseph@codesourcery.com>
19128
19129 [BZ #15409]
19130 * math/s_catan.c (__catan): Handle arguments with large real or
19131 imaginary part separately without squaring.
19132 * math/s_catanf.c (__catanf): Likewise.
19133 * math/s_catanh.c (__catanh): Likewise.
19134 * math/s_catanhf.c (__catanhf): Likewise.
19135 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19136 and redefine.
19137 (__catanhl): Handle arguments with large real or imaginary part
19138 separately without squaring.
19139 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19140 and redefine.
19141 (__catanl): Handle arguments with large real or imaginary part
19142 separately without squaring.
19143 * math/libm-test.inc (catan_test): Add more tests.
19144 (catanh_test): Likewise.
19145 * sysdeps/i386/fpu/libm-test-ulps: Update.
19146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19147
4220c3ef
AJ
191482013-04-27 Andreas Jaeger <aj@suse.de>
19149
19150 [BZ #15007]
19151 * stdlib/stdlib.h: Update guards for qecvt.
19152 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19153 <stdlib.h>.
19154
4721b2d1
AM
191552013-04-27 Allan McRae <allan@archlinux.org>
19156
19157 * sysdeps/i386/fpu/libm-test-ulps: Update.
19158
f0302940
JM
191592013-04-26 Joseph Myers <joseph@codesourcery.com>
19160
9457fd95
JM
19161 [BZ #15406]
19162 * math/s_catan.c: Include <float.h>.
19163 (__catan): Ensure underflow exception occurs for underflowed
19164 result.
19165 * math/s_catanf.c: Include <float.h>.
19166 (__catanf): Ensure underflow exception occurs for underflowed
19167 result.
19168 * math/s_catanh.c: Include <float.h>.
19169 (__catanh): Ensure underflow exception occurs for underflowed
19170 result.
19171 * math/s_catanhf.c: Include <float.h>.
19172 (__catanhf): Ensure underflow exception occurs for underflowed
19173 result.
19174 * math/s_catanhl.c: Include <float.h>.
19175 (__catanhl): Ensure underflow exception occurs for underflowed
19176 result.
19177 * math/s_catanl.c: Include <float.h>.
19178 (__catanl): Ensure underflow exception occurs for underflowed
19179 result.
19180 * math/libm-test.inc (catan_test): Add more tests.
19181 (catanh_test): Likewise.
19182
f0302940
JM
19183 [BZ #15405]
19184 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19185 underflowed result.
19186 * math/s_ccoshf.c (__ccoshf): Likewise.
19187 * math/s_ccoshl.c (__ccoshl): Likewise.
19188 * math/s_csin.c (__csin): Likewise.
19189 * math/s_csinf.c (__csinf): Likewise.
19190 * math/s_csinh.c (__csinh): Likewise.
19191 * math/s_csinhf.c (__csinhf): Likewise.
19192 * math/s_csinhl.c (__csinhl): Likewise.
19193 * math/s_csinl.c (__csinl): Likewise.
19194 * math/libm-test.inc (ccos_test): Add more tests.
19195 (ccosh_test): Likewise.
19196 (csin_test): Likewise.
19197 (csinh_test): Likewise.
19198
aa630f59
AZ
191992013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19200
19201 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19202 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19203 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19204 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19205 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19206 powerpc/power5+/fpu folders.
19207 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19208
19209
1b835983
MT
192102013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19211
19212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19213
73709b26
JM
192142013-04-25 Joseph Myers <joseph@codesourcery.com>
19215
19216 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19217 additions to variable.
19218 [$(config-machine) = x86_64] (modules-names): Likewise.
19219 ($(objpfx)tst-audit3): Remove dependency.
19220 ($(objpfx)tst-audit3.out): Likewise.
19221 ($(objpfx)tst-audit4): Likewise.
19222 ($(objpfx)tst-audit4.out): Likewise.
19223 ($(objpfx)tst-audit5): Likewise.
19224 ($(objpfx)tst-audit5.out): Likewise.
19225 ($(objpfx)tst-audit6): Likewise.
19226 ($(objpfx)tst-audit6.out): Likewise.
19227 ($(objpfx)tst-audit7): Likewise.
19228 ($(objpfx)tst-audit7.out): Likewise.
19229 (tst-audit3-ENV): Remove variable.
19230 (tst-audit4-ENV): Likewise.
19231 (tst-audit5-ENV): Likewise.
19232 (tst-audit6-ENV): Likewise.
19233 (tst-audit7-ENV): Likewise.
19234 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19235 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19236 addition to variable.
19237 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19238 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19239 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19240 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19241 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19242 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19243 tst-audit3, tst-audit4 and tst-audit5.
19244 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19245 tst-audit6 and tst-audit7.
19246 [$(subdir) = elf] (modules-names): Add audit modules for those
19247 tests.
19248 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19249 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19250 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19251 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19252 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19253 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19254 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19255 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19256 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19257 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19258 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19259 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19260 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19261 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19262 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19263 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19264 Likewise.
19265 [$(subdir) = elf && $(config-cflags-avx) = yes]
19266 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19267 [$(subdir) = elf && $(config-cflags-avx) = yes]
19268 (CFLAGS-tst-auditmod4a.c): Likewise.
19269 [$(subdir) = elf && $(config-cflags-avx) = yes]
19270 (CFLAGS-tst-auditmod4b.c): Likewise.
19271 [$(subdir) = elf && $(config-cflags-avx) = yes]
19272 (CFLAGS-tst-auditmod6b.c): Likewise.
19273 [$(subdir) = elf && $(config-cflags-avx) = yes]
19274 (CFLAGS-tst-auditmod6c.c): Likewise.
19275 [$(subdir) = elf && $(config-cflags-avx) = yes]
19276 (CFLAGS-tst-auditmod7b.c): Likewise.
19277 * elf/tst-audit3.c: Move to ...
19278 * sysdeps/x86_64/tst-audit3.c: ... here.
19279 * elf/tst-audit4.c: Move to ...
19280 * sysdeps/x86_64/tst-audit4.c: ... here.
19281 * elf/tst-audit5.c: Move to ...
19282 * sysdeps/x86_64/tst-audit5.c: ... here.
19283 * elf/tst-audit6.c: Move to ...
19284 * sysdeps/x86_64/tst-audit6.c: ... here.
19285 * elf/tst-audit7.c: Move to ...
19286 * sysdeps/x86_64/tst-audit7.c: ... here.
19287 * elf/tst-auditmod3a.c: Move to ...
19288 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19289 * elf/tst-auditmod3b.c: Move to ...
19290 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19291 * elf/tst-auditmod4a.c: Move to ...
19292 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19293 * elf/tst-auditmod4b.c: Move to ...
19294 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19295 * elf/tst-auditmod5a.c: Move to ...
19296 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19297 * elf/tst-auditmod5b.c: Move to ...
19298 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19299 * elf/tst-auditmod6a.c: Move to ...
19300 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19301 * elf/tst-auditmod6b.c: Move to ...
19302 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19303 * elf/tst-auditmod6c.c: Move to ...
19304 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19305 * elf/tst-auditmod7a.c: Move to ...
19306 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19307 * elf/tst-auditmod7b.c: Move to ...
19308 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19309
1ef74943
PP
193102013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19311
19312 [BZ #15366]
19313 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19314 define unconditionally.
19315 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19316 define unconditionally.
19317 (INT8_C, INT16_C, etc.): Likewise.
19318
93fd48c5
MR
193192013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19320
ae9552cf
MR
19321 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19322 __ehdr_start with hidden visibility.
19323
93fd48c5
MR
19324 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19325
418601aa
CD
193262013-04-24 Carlos O'Donell <carlos@redhat.com>
19327
19328 * math/libm-test.inc (cos_test): Use accurate hex constants.
19329 (sincost_test): Likewise.
19330
2f38fbfe
JM
193312013-04-24 Joseph Myers <joseph@codesourcery.com>
19332
5e221800
JM
19333 * math/libm-test.inc (catan_test): Add more tests.
19334 (catanh_test): Likewise.
19335
77f143fd
JM
19336 * math/s_catanf.c (__catanf): Use suffixed floating-point
19337 constants.
19338 * math/s_catanhf.c (__catanhf): Likewise.
19339 * math/s_catanhl.c (__catanhl): Likewise.
19340 * math/s_catanl.c (__catanl): Likewise.
19341
2f38fbfe
JM
19342 [BZ #15394]
19343 * math/s_catan.c (__catan): Calculate imaginary part of result
19344 with log1p not log unless computing log of number close to 0.
19345 * math/s_catanf.c (__catanf): Likewise.
19346 * math/s_catanl.c (__catanl): Likewise.
19347 * math/s_catanh.c (__catanh): Calculate real part of result with
19348 log1p not log unless computing log of number close to 0.
19349 * math/s_catanhf.c (__catanhf): Likewise.
19350 * math/s_catanhl.c (__catanhl): Likewise.
19351 * math/libm-test.inc (catan_test): Add more tests.
19352 (catanh_test): Likewise.
19353 * sysdeps/i386/fpu/libm-test-ulps: Update.
19354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19355
45d69176
SP
193562013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19357
19358 * benchtests/Makefile: Mention files in which fast and slow
19359 paths of math functions are implemented.
19360
87f51853
RM
193612013-04-23 Roland McGrath <roland@hack.frob.com>
19362
19363 * sysdeps/posix/timespec_get.c: New file.
19364
3c026539
AZ
193652013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19366
19367 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19368 POWER.
19369 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19370 for POWER.
19371 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19372 powerpc/power5/fpu folders.
19373 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19374 * benchtests/Makefile: Add modf testcase.
19375 * benchtests/bench-modf.c: New file: Benchmark test for mo
19376
ff491d14
SP
193772013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19378
19379 [BZ #14888]
19380 * time/Makefile (tests): Add tst-strptime-whitespace.
19381 * time/strptime_l.c (get_number): Use ISSPACE.
19382 (__strptime_internal): Likewise.
19383 * time/tst-strptime-whitespace.c: New test case.
19384
7ed3f4e8
AS
193852013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19386
19387 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19388 member.
19389 (_nss_files_init): Set it here.
19390
5c95f7b6
HC
193912013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19392
19393 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19394 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19395 unsigned.
19396
d34c9158
JBG
193972013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19398
19399 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19400
2169712d
SP
194012013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19402
19403 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19404 size just once.
19405
29c5de99
DM
194062013-04-21 David S. Miller <davem@davemloft.net>
19407
19408 * po/ru.po: Update Russion translation from translation project.
19409
ccdad15d
AC
194102013-04-17 Adam Conrad <adconrad@0c3.net>
19411
19412 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19413 and setfsgid.
19414
0f122b8d
CD
194152013-04-17 Carlos O'Donell <carlos@redhat.com>
19416
5c5b07da 19417 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 19418 * configure: Regenerate.
5c5b07da 19419 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
19420 Add example to error message.
19421 * sysdeps/i386/configure: Regenerate.
19422
037714dd
SP
194232013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19424
19425 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19426 slowtan.
19427 * benchtests/cos-inputs: New file.
19428 * benchtests/slowcos-inputs: New file.
19429 * benchtests/slowcos.c: New file.
19430 * benchtests/slowtan-inputs: New file.
19431 * benchtests/slowtan.c: New file.
19432 * benchtests/tan-inputs: New file.
19433
e913141d
RM
194342013-04-16 Roland McGrath <roland@hack.frob.com>
19435
19436 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19437 considered kosher.
19438
a2964074
SP
194392013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19440
4856bcd2
SP
19441 * benchtests/Makefile: Include cppflags-iterator.mk to add
19442 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19443
a2964074
SP
19444 * Makefile.in (bench-clean): New target.
19445 * benchtests/Makefile (bench-clean): Likewise.
19446
9fbf9aca
DH
194472013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19448
19449 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19450
207d1e2a
TS
194512013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19452
19453 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19454
306dfba9
AS
194552013-04-15 Andreas Schwab <schwab@suse.de>
19456
19457 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19459 * nscd/pwdcache.c (cache_addpw): Likewise.
19460 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19461 more than recsize.
19462
206a6699
SP
194632013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19464
19465 * benchtests/Makefile (bench): Write all output to
19466 bench-out.tmp together.
19467
0582f6b3
AS
194682013-04-15 Andreas Schwab <schwab@suse.de>
19469
19470 * nscd/nscd.c (main): Don't fork again after closing files.
19471
acb4325f
SP
194722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19473
5cb26d0a
SP
19474 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19475
acb4325f
SP
19476 * benchtests/Rules (bench-deps): Collect dependencies into a
19477 single variable. Add Makefile to dependencies.
19478 ($(objpfx)bench-%.c): Depend on bench-deps.
19479
47792506
RM
194802013-04-12 Roland McGrath <roland@hack.frob.com>
19481 Xavier Roche <roche+kml2@exalead.com>
19482
19483 [BZ #15361]
19484 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19485 just that it's a file descriptor.
19486 * manual/llio.texi (Synchronizing AIO Operations): Update description
19487 for EBADF error from aio_fsync.
19488
8fc1bee5
SP
194892013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19490
19491 * Rules (bench): Move target definition...
19492 * benchtests/Makefile: ... here.
19493
aba5e333
CD
194942013-04-11 Carlos O'Donell <carlos@redhat.com>
19495
19496 * math/libm-test.inc (cos_test): Fix PI/2 test.
19497 (sincos_test): Likewise.
19498 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19499 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19500
273cdee8
AS
195012013-04-11 Andreas Schwab <schwab@suse.de>
19502
6ecec3b6
AS
19503 [BZ #13988]
19504 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19505 accept exponent character only when digits were seen.
19506 * stdio-common/Makefile (tests): Add bug26.
19507 * stdio-common/bug26.c: New file.
19508
273cdee8
AS
19509 [BZ #14293]
19510 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19511 non-freeable.
19512
8da491f5
SP
195132013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19514
01dc6df9
SP
19515 * Makeconfig (rtld-prefix): Define built linker prefix.
19516 * Rules (run-bench): Use it.
19517 * math/Makefile (run-regen-ulps): Likewise.
19518
8da491f5
SP
19519 * Rules (bench): Remove eval.
19520
abe7f530
SP
195212013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19522 Roland McGrath <roland@hack.frob.com>
19523 Ondrej Bilka <neleai@seznam.cz>
19524
19525 [BZ #15346]
19526 * time/getdate.c: Include ctype.h and alloca.h.
19527 (__getdate_r): Trim leading and trailing spaces of input.
19528 * time/tst-getdate.c (tests): Add tests with leading and
19529 trailing spaces.
19530
61c23e62
RM
195312013-04-08 Roland McGrath <roland@hack.frob.com>
19532
19533 [BZ #14280]
19534 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19535 when computing value.
19536
7208a313
CD
195372013-04-06 Carlos O'Donell <carlos@redhat.com>
19538
085b2d41
CD
19539 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19540 Use testrun.sh to run libm tests.
19541
7208a313
CD
19542 [BZ #15309]
19543 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19544
872c0acd
MM
195452013-04-06 Marko Myllynen <myllynen@redhat.com>
19546
19547 [BZ #15264]
19548 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19549
26510bdd
CD
195502013-04-06 Carlos O'Donell <carlos@redhat.com>
19551
19552 * Makefile.in (regen-ulps): New target.
19553 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19554 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19555 [ifneq (no,$(PERL)] (regen-ulps): New target.
19556 [ifeq (no,$(PERL)] (regen-ulps): New target.
19557 * math/libm-test.inc (ulps_file_name): Define.
19558 (output_dir): New variable.
19559 (options): Add "output-dir" option.
19560 (parse_opt): Handle 'o' case.
19561 (main): If output_dir is non-NULL use it as a prefix
19562 otherwise use "".
19563 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19564
a01f19c8
CD
195652013-04-06 Carlos O'Donell <carlos@redhat.com>
19566
19567 [BZ #10060, #10062]
19568 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19569 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19570 fail configure if __sync_val_compare_and_swap is not inlined.
19571 * sysdeps/i386/configure: Regenerate.
19572 * configure.in: Build for i686 when configured for i386.
19573 * configure: Regenerate.
19574 * README: Remove i386 reference.
19575
b7a329a5
CD
195762013-04-06 Carlos O'Donell <carlos@redhat.com>
19577
19578 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19580
bf0f50df
TS
195812013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19582
ee091edf
TS
19583 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19584 (lmsnanval): New variables.
19585 (F): Add conversion tests.
19586 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19587 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19588
a8b792d6
TS
19589 * stdio-common/tstdiomisc.c (F): Properly collect individual
19590 tests' results.
19591
a1cbf437
TS
19592 [BZ #14686, #15336]
19593 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19594 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19595 Instead, use input NaN values or generate a qNaN by arithmetic
19596 operation. Also fix bugs to comply with the standard.
19597 * math/libm-test.inc (remainder_test): Add more tests.
19598
8b43a0c9
TS
19599 [BZ #15335, #15342]
19600 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19602 input NaN values or generate a qNaN by arithmetic operation.
19603
d91da4ce
TS
19604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19605 unreachable code.
19606
bf0f50df
TS
19607 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19608 definitions.
19609
05e166c8
JM
196102013-04-03 Joseph Myers <joseph@codesourcery.com>
19611
19612 [BZ #14478]
19613 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19614 underflowed result.
19615 * math/s_cexpf.c (__cexpf): Likewise.
19616 * math/s_cexpl.c (__cexpl): Likewise.
19617 * math/libm-test.inc (cexp_test): Add more tests.
19618
1cef1b19
AS
196192013-04-03 Andreas Schwab <schwab@suse.de>
19620
19621 [BZ #15330]
19622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19623 order arrays from heap if bigger than alloca cutoff.
19624
74d87055
TS
196252013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19626
19627 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19628 (SNAN_TESTS_double): Refer to GCC PR56831.
19629 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19630 GCC PR56828.
19631
d755bba4
SP
196322013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19633
90d5d5bb
SP
19634 * Rules (bench): Move bench.out after the run is complete.
19635
73e0cd5d
SP
19636 * Rules (bench): Echo currently running benchmark.
19637
64aabd4b
SP
19638 * benchtests/Makefile (bench): Add atan and slowatan.
19639 * benchtests/atan-inputs: New file.
19640 * benchtests/slowatan-inputs: New file.
19641 * benchtests/slowatan.c: New file.
19642
c871eccd
SP
19643 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19644 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19645 its value.
19646
d755bba4
SP
19647 [BZ #15305]
19648 * sysdeps/unix/sysv/linux/kernel-features.h
19649 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19650 __ASSUME_XFS_RESTRICTED_CHOWN.
19651 * sysdeps/unix/sysv/linux/pathconf.c
19652 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19653 Save and restore errno.
19654
52ce4860
JM
196552013-04-02 Joseph Myers <joseph@codesourcery.com>
19656
19657 [BZ #15327]
19658 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19659 arguments using __kernel_casinh.
19660 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19661 arguments using __kernel_casinhf.
19662 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19663 arguments using __kernel_casinhl.
19664 * math/libm-test.inc (cacosh_test): Add more tests.
19665 * sysdeps/i386/fpu/libm-test-ulps: Update.
19666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19667
81f311c2
SP
196682013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19669
e7906a47
SP
19670 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19672
92e3664b
SP
19673 * bench/Makefile (bench): Add sin and slowsin.
19674 * benchtests/sin-inputs: New file.
19675 * benchtests/slowsin-inputs: New file.
19676 * benchtests/slowsin.c: New file.
19677
81f311c2
SP
19678 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19679 (bench): Add slowexp and slowpow.
19680 (exp-ITER): Increase iterations.
19681 (pow-ITER): Likewise.
19682 * benchtests/exp-inputs: Change input.
19683 * benchtests/pow-inputs: Likewise.
19684 * benchtests/slowexp-inputs: New file.
19685 * benchtests/slowexp.c: New file.
19686 * benchtests/slowpow-inputs: New file.
19687 * benchtests/slowpow.c: New file.
19688
ab0f1aa9
AZ
196892013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19690
19691 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19692 instructions.
19693 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19694 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19695 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19696 * benchtests/Makefile: Add rint benchtest.
19697 * benchtests/rint-inputs: Input for rint benchtest.
19698
57267616
TS
196992013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19700
19701 * Versions.def (libm): Add GLIBC_2.18.
19702 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19703 hidden libm prototypes.
19704 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19705 * math/Makefile (libm-calls): Add s_issignaling.
19706 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19707 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19708 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19709 declaration.
19710 * math/math.h [__USE_GNU] (issignaling): New macro.
19711 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19712 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19713 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19714 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19715 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19716 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19717 * manual/arith.texi (issignaling): New section.
19718 * manual/libm-err-tab.pl (@all_functions): Update comment.
19719 * math/gen-libm-test.pl (parse_args): Apply special handling for
19720 issignaling.
19721 * math/libm-test.inc (print_float, issignaling_test): New
19722 functions.
19723 (check_float_internal): Add issignaling checks.
19724 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19725 default definition.
19726 * sysdeps/powerpc/math-tests.h: New file.
19727 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19728 tests.
19729 * math/test-snan.c (TEST_FUNC): Likewise.
19730
6142896d
DM
197312013-03-30 David S. Miller <davem@davemloft.net>
19732
19733 * po/de.po: Update from translation team.
19734
ccc8cadf
JM
197352013-03-30 Joseph Myers <joseph@codesourcery.com>
19736
19737 [BZ #10357]
19738 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19739 imaginary part less than 1.0 and real part less than 0.5
19740 specially.
19741 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19742 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19743 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19744 (cacos_test): Add more tests.
19745 (casin_test): Likewise.
19746 (casinh_test): Likewise.
19747 * sysdeps/i386/fpu/libm-test-ulps: Update.
19748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19749
0f6a8d4b
SP
197502013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19751
0d1029de
SP
19752 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19753 ONE with its value.
19754
c2d94018
SP
19755 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19756 (__pow_mp): Replace ONE and MONE with their values.
19757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19758 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19760 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19761 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19762 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19763
27ec37f1
SP
19764 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19765
a64d7e0e
SP
19766 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19767 (__pow_mp): Replace ZERO and MZERO with their values.
19768 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19769 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19772 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19773 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19774 (__sqr): Likewise.
19775
d26dd3eb
SP
19776 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19777
0f6a8d4b
SP
19778 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19779
e57b0c61
RM
197802013-03-28 Roland McGrath <roland@hack.frob.com>
19781
19782 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19783 Declare with __attribute__ ((weak)).
19784 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19785 Call __call_tls_dtors only if it's not NULL.
19786
356b3480
RM
197872013-03-28 Roland McGrath <roland@hack.frob.com>
19788
288f7d79
RM
19789 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19790 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19791 magic __ehdr_start linker symbol if it's defined.
19792 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19793 them up here if it was already done.
19794
dc0a0263
RM
19795 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19796 (_dl_aux_init): Use const in cast when setting it.
19797 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19798 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19799 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19800
3d3436ae
RM
19801 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19802 Declare them here.
19803 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19804 * csu/libc-tls.c: Nor here.
19805 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19806
356b3480
RM
19807 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19808 (__libc_message): Never call vsyslog.
19809
b0f1246a
AM
198102013-03-28 Alan Modra <amodra@gmail.com>
19811
19812 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19813 Define as empty.
19814 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19815 Likewise.
19816
fbbe2b9a
AZ
198172013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19818
19819 [BZ #15214]
19820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19821 underflow.
19822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19823
1728ab37
SP
198242013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19825
7a86be6e
SP
19826 [BZ #15304]
19827 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19828 Don't add gid passed as argument.
19829
1728ab37
SP
19830 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19831
3a7182a1
JM
198322013-03-27 Joseph Myers <joseph@codesourcery.com>
19833
19834 [BZ #15307]
19835 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19836 imaginary part between 1.0 and 1.5 and real part less than 0.5
19837 specially.
19838 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19839 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19840 * math/libm-test.inc (cacos_test): Add more tests.
19841 (casin_test): Likewise.
19842 (casinh_test): Likewise.
19843 * sysdeps/i386/fpu/libm-test-ulps: Update.
19844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19845
6f2e90e7
SP
198462013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19847
5739f705
SP
19848 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19849 constants.
19850 (norm): Likewise.
19851 (denorm): Likewise.
19852 (__dbl_mp): Likewise.
19853 (add_magnitudes): Likewise.
19854 (sub_magnitudes): Likewise.
19855 (__add): Likewise.
19856 (__sub): Likewise.
19857 (__mul): Likewise.
19858 (__sqr): Likewise.
19859 (__inv): Likewise.
19860 (__dvd): Likewise.
19861
e375e83d
SP
19862 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19863 commented code.
19864 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19865 (__dubcos): Likewise.
19866 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19867 (__ieee754_acos): Likewise.
19868 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19869 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19870 (__exp1): Likewise.
19871 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19873 (log1): Likewise.
19874 (my_log2): Likewise.
19875 (checkint): Likewise.
19876 * sysdeps/ieee754/dbl-64/e_remainder.c
19877 (__ieee754_remainder): Likewise.
19878 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19880 (bsloww): Likewise.
19881 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19882
6f2e90e7
SP
19883 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19884 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19885 MANTISSA_STORE_T to store computations on mantissa. Use
19886 macros for rounding and division.
19887 (denorm): Likewise.
19888 (__dbl_mp): Likewise.
19889 (add_magnitudes): Likewise.
19890 (sub_magnitudes): Likewise.
19891 (__mul): Likewise.
19892 (__sqr): Likewise.
19893 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19894 powers of two in terms of TWOPOW macro.
19895 (mp_no): Make type of mantissa as MANTISSA_T.
19896 [!RADIXI]: Define RADIXI.
19897 [!TWO52]: Define TWO52.
19898 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19899
fce14d4e
AZ
199002013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19901
19902 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19903 llroundl symbol when building for PPC32.
19904
9ad027fb
MW
199052013-03-24 Mark H Weaver <mhw@netris.org>
19906
19907 * manual/arith.texi (Normalization Functions): Fix prototypes for
19908 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19909
e42a38dd
AZ
199102013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19911
19912 [BZ #13889]
19913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19914 high value to check if expl overflow.
19915 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19916 to check for underflow and overflow.
19917 * math/libm-test.inc: Add exp test.
19918
2e0fb521
DL
199192013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19920
19921 [BZ #11120]
19922 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19923 with NOT_IN_libc.
19924
b5784d95
AZ
199252013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19926
19927 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19928 symbol.
19929
5aa4a1a1
TS
199302013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19931
bdef0be7
TS
19932 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19933 wrap blocks consisting of several statements.
19934
5aa4a1a1
TS
19935 * sysdeps/generic/math-tests.h: New file.
19936 * sysdeps/i386/fpu/math-tests.h: Likewise.
19937 * math/test-snan.c: Include it.
19938 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19939
98c48fe5
JM
199402013-03-21 Joseph Myers <joseph@codesourcery.com>
19941
19942 [BZ #15285]
19943 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19944 (__ieee754_j0l): Do not improve calculations using cos of twice
19945 input for inputs above LDBL_MAX / 2.0L.
19946 (__ieee754_y0l): Likewise.
19947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19948 (__ieee754_j1l): Do not improve calculations using cos of twice
19949 input for inputs above LDBL_MAX / 2.0L.
19950 (__ieee754_y1l): Likewise.
19951 * math/libm-test.inc (j0_test): Add another test.
19952 (j1_test): Likewise.
19953 (y0_test): Likewise.
19954 (y1_test): Likewise.
19955 * sysdeps/i386/fpu/libm-test-ulps: Update.
19956
3775a8bc
SP
199572013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19958
19959 * Rules ($(objpfx)bench-%.c): Include code from a C source
19960 file.
19961
0a1b2ae6
JM
199622013-03-21 Joseph Myers <joseph@codesourcery.com>
19963
19964 [BZ #15287]
19965 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19966 imaginary part 1.0 and real part less than 0.5 specially.
19967 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19968 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19969 * math/libm-test.inc (cacos_test): Add more tests.
19970 (casin_test): Likewise.
19971 (casinh_test): Likewise.
19972 * sysdeps/i386/fpu/libm-test-ulps: Update.
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19974
b33d4ce4
SP
199752013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19976
19977 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19978 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19979
bef0b507
JM
199802013-03-20 Joseph Myers <joseph@codesourcery.com>
19981
19982 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19983 * config.make.in (config-cflags-sse4): Remove variable.
19984 (config-cflags-avx): Likewise.
19985 (config-cflags-sse2avx): Likewise.
19986 (config-cflags-novzeroupper): Likewise.
19987 (config-asflags-i686): Likewise.
19988 (have-mfma4): Likewise.
19989 (have-as-vis3): Likewise.
19990 (MIG): Likewise.
19991 * configure.in (MIG): Do not AC_SUBST.
19992 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19993 (libc_cv_cc_sse4): Do not AC_SUBST.
19994 (libc_cv_cc_avx): Likewise.
19995 (libc_cv_cc_sse2avx): Likewise.
19996 (libc_cv_cc_novzeroupper): Likewise.
19997 (libc_cv_cc_fma4): Likewise.
19998 (libc_cv_as_i686): Likewise.
19999 (libc_cv_sparc_as_vis3): Likewise.
20000 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20001 LIBC_CONFIG_VAR.
20002 (config-asflags-i686): Likewise.
20003 (config-cflags-avx): Likewise.
20004 (config-cflags-sse2avx): Likewise.
20005 (have-mfma4): Likewise.
20006 (config-cflags-novzeroupper): Likewise.
20007 * sysdeps/mach/configure.in (MIG): Likewise.
20008 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20009 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20010 LIBC_CONFIG_VAR.
20011 (config-cflags-avx): Likewise.
20012 (config-cflags-sse2avx): Likewise.
20013 (have-mfma4): Likewise.
20014 (config-cflags-novzeroupper): Likewise.
20015 * configure: Regenerated.
20016 * sysdeps/i386/configure: Likewise.
20017 * sysdeps/mach/configure: Likewise.
20018 * sysdeps/sparc/configure: Likewise.
20019 * sysdeps/x86_64/configure: Likewise.
20020
912cc4b3
RM
200212013-03-20 Roland McGrath <roland@hack.frob.com>
20022
20023 [BZ #14812]
20024 * locale/programs/localedef.c (options): Put N_ translation marker
20025 on argument names, not just descriptions.
20026
04eed2b0
MS
200272013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20028
20029 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20030
a065ceff
OB
200312013-03-20 Ondřej Bílka <neleai@seznam.cz>
20032
9bb2a810 20033 [BZ #14176]
a065ceff
OB
20034 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20035
a600e5ce
RM
200362013-03-19 Roland McGrath <roland@hack.frob.com>
20037
20038 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20039 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20040 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20041 [!BEFORE_ABORT] (before_abort): New function.
20042 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20043 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20044 (writev_for_fatal): New function.
20045 (WRITEV_FOR_FATAL): New macro; call that.
20046 (backtrace_and_maps): New function.
20047 (BEFORE_ABORT): New macro; call that.
20048 (struct str_list): Type removed.
20049 (__libc_message, __libc_fatal): Functions removed.
20050 Include <sysdeps/posix/libc_fatal.c> instead.
20051
6b18bea6
JM
200522013-03-19 Joseph Myers <joseph@codesourcery.com>
20053
20054 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20055 constants.
20056 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20057 double constants.
20058
aaa8cb4b
AS
200592013-03-19 Andreas Schwab <schwab@suse.de>
20060
44673770
AS
20061 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20062 * sysdeps/gnu/configure: Regenerate.
20063
aaa8cb4b
AS
20064 * configure.in: Substitute libc_cv_rtlddir.
20065 * configure: Regenerate.
20066 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20067 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20068 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20069 * elf/Makefile (install-others, CFLAGS-interp.c)
20070 (ldso_install, common-ldd-rewrite): Likewise.
20071 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20072 $(inst_slibdir)/$(rtld-installed-name).
20073 * scripts/rellns-sh: Add -p option.
20074 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20075 for source.
20076
d3cfc668
SP
200772013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20078
20079 * manual/nptl.texi: Renamed to ...
20080 * manual/threads.texi: ... this.
20081 * manual/Makefile (chapters): Update.
20082
0e2b9cdd
RM
200832013-03-18 Roland McGrath <roland@hack.frob.com>
20084
20085 [BZ #14812]
20086 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20087 on argument names, not just descriptions.
0e2b9cdd
RM
20088 * malloc/memusagestat.c (options): Likewise.
20089 * nss/getent.c (options): Likewise.
63270c24
RM
20090
200912013-03-18 Benno Schulenberg <bensberg@justemail.net>
20092
20093 [BZ #14812]
20094 * iconv/iconv_prog.c (options): Put N_ translation marker
20095 on argument names, not just descriptions.
20096 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 20097
b2e1393c
OB
200982013-03-18 Ondrej Bilka <neleai@seznam.cz>
20099
20100 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20101 implementation which is faster on all x86_64 architectures.
20102 Tested on AMD, Intel Nehalem, SNB, IVB.
20103 * sysdeps/x86_64/strnlen.S: Likewise.
20104
20105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20106 Remove all multiarch strlen and strnlen versions.
20107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20108 Remove strlen and strnlen related parts.
20109
20110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20111 Inline strlen part.
20112 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20113
20114 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20115 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20116 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20117 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20118 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20119 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20120
ec4ff04d
CD
201212013-03-17 Carlos O'Donell <carlos@redhat.com>
20122
20123 * manual/memory.texi (Malloc Tunable Parameters):
20124 Sort parameters alphabetically. Add comments for missing entries.
20125
cd18e90a
DM
201262013-03-17 David S. Miller <davem@davemloft.net>
20127
20128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20129
2a185d32
JM
201302013-03-16 Joseph Myers <joseph@codesourcery.com>
20131
d2f9799e
JM
20132 [BZ #15283]
20133 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20134 for arguments at most half maximum finite value.
20135 * math/libm-test.inc (j0_test): Add more tests.
20136 (j1_test): Likewise.
20137 (y0_test): Likewise.
20138 (y1_test): Likewise.
20139 * sysdeps/i386/fpu/libm-test-ulps: Update.
20140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20141
2a185d32
JM
20142 [BZ #14155]
20143 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20144 1 / x and functions P and Q for arguments above 0x1p256L.
20145 (__ieee754_y0l): Likewise.
20146 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20147 (__ieee754_y1l): Likewise.
20148 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20149 (j1_test): Likewise.
20150 (y0_test): Likewise.
20151 (y1_test): Likewise.
20152
6cbec759
TS
201532013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20154
20155 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20156 variable.
20157
bc16e260
RM
201582013-03-15 Roland McGrath <roland@hack.frob.com>
20159
aefc9b8c
RM
20160 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20161 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20162 zero since it's initialized to EXEC_PAGESIZE.
20163
bc16e260
RM
20164 * sysdeps/unix/sysv/linux/ldsodefs.h
20165 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20166 * sysdeps/generic/ldsodefs.h: ... here.
20167
a57da955
TS
201682013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20169
af00a34d
TS
20170 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20171
495ded2c
TS
20172 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20173 math/test-snan.c.
20174 * math/test-snan.c: Renamed from
20175 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20176 * math/Makefile (tests): Add test-snan.
20177 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20178 test-powerpc-snan.
20179
777b0332
TS
20180 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20181 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20182 functions.
20183 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20184 __builtin_nan family of functions.
20185 * math/libm-test.inc (initialize): Initialize qnan_value with
20186 __builtin_nan family of functions.
20187 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20188 Remove variables.
20189 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20190 Remove functions.
20191 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20192 storage class. Initialize qNaN_var and sNaN_var with
20193 __builtin_nan and __builtin_nans families of functions,
20194 respectively.
20195
64d063b8
TS
20196 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20197 (sqrt_test): Remove duplicate test with qNaN input.
20198 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20199 (round_test, signbit_test, significand_test): Note missing +/-Inf
20200 as well as qNaN tests.
20201
67e971f1
TS
20202 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20203 qNaN_var. Fix a few strings, too.
20204 * math/libm-test.inc (nan_value): Rename to qnan_value.
20205 * math/gen-libm-test.pl (%beautify): Adjust to that.
20206 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20207 * math/test-misc.c (main): Likewise.
20208 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20209 to __qnan_bytes, and __qnan_union, respectively.
20210 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20211 Likewise.
20212 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20213 and lqnanval, respectively.
20214 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20215 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20216 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20217 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20218
64487e12
TS
20219 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20220 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20221 doubles.
20222
e015e27b
TS
20223 * math/test-misc.c (main): Fix copy'n'pastos.
20224 * misc/tst-efgcvt.c (special): Likewise.
20225
a57da955
TS
20226 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20227 Remove declarations.
20228
1e380345
SP
202292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20230
20231 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20232 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20233 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20234 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20235
ef26eece
AZ
202362013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20237
20238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20239 macro to return vdso values correctly in IFUNC implementations.
20240 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20241 Optimization by using IFUNC.
20242
8cfdb7e0
SP
202432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20244 Richard Henderson <rth@redhat.com>
20245 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20246
20247 * Makefile.in (bench): New target.
20248 * NEWS: Mention the benchmark framework.
20249 * Rules (bench): Likewise.
20250 (binaries-bench): Generate binaries for functions to
20251 benchmark.
20252 * benchtests/Makefile: New makefile for benchmark tests.
20253 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20254 programs.
20255 * benchtests/exp-inputs: New input file for EXP function.
20256 * benchtests/pow-inputs: New input file for POW function.
20257 * scripts/bench.pl: New script to generate source files for
20258 benchmark programs.
20259
bcda9880
SP
202602013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20261
d22ca8cd
SP
20262 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20263 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20264 computations on mantissa. Use macros for rounding and
20265 division.
20266 (denorm): Likewise.
20267 (__dbl_mp): Likewise.
20268 (add_magnitudes): Likewise.
20269 (sub_magnitudes): Likewise.
20270 (__mul): Likewise.
20271 (__sqr): Likewise.
20272 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20273 powers of two in terms of TWOPOW macro.
20274 (mp_no): Make type of mantissa as MANTISSA_T.
20275 [!RADIXI]: Define RADIXI.
20276 [!TWO52]: Define TWO52.
20277 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20278
bcda9880
SP
20279 * manual/nptl.texi (cindex): Modify threads to pthreads.
20280
06d5adfb
JM
202812013-03-15 Joseph Myers <joseph@codesourcery.com>
20282
20283 * sysdeps/x86_64/preconfigure: Regenerated.
20284
41c7328e
JM
202852013-03-14 Joseph Myers <joseph@codesourcery.com>
20286
20287 [BZ #14155]
20288 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20289 0x1p28 and above.
20290 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20291 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20292 0x1p28 and above.
20293 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20294 * math/libm-test.inc (j0_test): Do not allow one spurious
20295 underflow exception.
20296 (y1_test): Likewise.
20297
e25cfa60
SP
202982013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20299
0409959c
SP
20300 * manual/Makefile (chapters): Add nptl.
20301 * manual/debug.texi (Debugging Support): Add link to Threads
20302 chapter.
20303 * manual/nptl.texi: New file.
20304
e25cfa60
SP
20305 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20306
58a1335e
PB
203072013-03-14 Petr Baudis <pasky@ucw.cz>
20308
20309 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20310 for non-NULL pointer before the memory validity test. Pointed
20311 out by Holger Brunck <holger.brunck@keymile.com>.
20312
9dc7c64f
AS
203132013-03-13 Andreas Schwab <schwab@suse.de>
20314
20315 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20316 instead of .os.
20317
54206aa6
JM
203182013-03-13 Joseph Myers <joseph@codesourcery.com>
20319
20320 * timezone/zic.c: Update from tzcode 2013b.
20321
e98cdb38
CD
203222013-03-12 Carlos O'Donell <carlos@redhat.com>
20323
20324 * manual/install.texi (Configuring and compiling):
20325 Mention i686 and i586.
20326 * INSTALL: Regenerate.
20327
9967e003
RM
203282013-03-12 Roland McGrath <roland@hack.frob.com>
20329
20330 * sysdeps/init_array/elf-init.c: New file.
20331 * csu/elf-init.c
20332 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20333 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20334
20335 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20336 __gmon_start__ as global, but as static with a .preinit_array pointer.
20337 * sysdeps/init_array/gmon-start.c: New file. Use that.
20338 * sysdeps/init_array/crti.S: New file, empty except for comments.
20339 * sysdeps/init_array/crtn.S: Likewise.
20340
e6b5a293 203412013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
20342
20343 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20344 definining bcopy.
80f844c9
OB
20345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20346 Remove Prefer_SSE_for_memop.
20347 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20348 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20349 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
20350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20351 memset-x86-64.
80f844c9 20352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 20353 Remove bzero, memset ifunc support.
80f844c9
OB
20354 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20355 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20356 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20357 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20358
fb6b0fcb
AS
203592013-03-11 Andreas Schwab <schwab@suse.de>
20360
20361 [BZ #15234]
20362 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20363 by SHLIB_COMPAT.
20364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20365 (GLIBC_2.16): Remove pthread_atfork.
20366
3e6bd4b1
PP
203672013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20368
20369 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20370 (ptestcases.h): Likewise.
20371
222d7f00
RM
203722013-03-08 Roland McGrath <roland@hack.frob.com>
20373
20374 * Makeconfig ($(common-objpfx)config.status): Depend on
20375 sysdeps/*/preconfigure{,.in} too.
20376
1ba4f030
JM
203772013-03-08 Joseph Myers <joseph@codesourcery.com>
20378
a222d91a
JM
20379 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20380 (__free_hook): Use void * instead of __malloc_ptr_t.
20381 (__malloc_hook): Likewise.
20382 (__realloc_hook): Likewise.
20383 (__memalign_hook): Likewise.
20384 (__after_morecore_hook): Likewise.
20385 * malloc/arena.c (save_malloc_hook): Likewise.
20386 (save_free_hook): Likewise.
20387 * malloc/hooks.c (malloc_hook_ini): Likewise.
20388 (realloc_hook_ini): Likewise.
20389 (memalign_hook_ini): Likewise.
20390 * malloc/malloc.c (malloc_hook_ini): Likewise.
20391 (realloc_hook_ini): Likewise.
20392 (memalign_hook_ini): Likewise.
20393 (__free_hook): Likewise.
20394 (__malloc_hook): Likewise.
20395 (__realloc_hook): Likewise.
20396 (__memalign_hook): Likewise.
20397 (__libc_malloc): Likewise.
20398 (__libc_free): Likewise.
20399 (__libc_realloc): Likewise.
20400 (__libc_memalign): Likewise.
20401 (__libc_valloc): Likewise.
20402 (__libc_pvalloc): Likewise.
20403 (__libc_calloc): Likewise.
20404 (__posix_memalign): Likewise.
20405 * malloc/morecore.c (__sbrk): Likewise.
20406 (__default_morecore): Likewise.
20407
5cc45e10
JM
20408 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20409
dd54b864
JM
20410 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20411 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20412 __malloc_ptrdiff_t.
20413
1ba4f030
JM
20414 * malloc/malloc.h (__malloc_size_t): Remove macro.
20415 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20416 __malloc_size_t.
20417 (old_memalign_hook): Likewise.
20418 (old_realloc_hook): Likewise.
20419 (struct hdr): Likewise.
20420 (flood): Likewise.
20421 (mallochook): Likewise.
20422 (memalignhook): Likewise.
20423 (reallochook): Likewise.
20424 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20425 (tr_old_realloc_hook): Likewise.
20426 (tr_old_memalign_hook): Likewise.
20427 (tr_mallochook): Likewise.
20428 (tr_reallochook): Likewise.
20429 (tr_memalignhook): Likewise.
20430
edf66e57
AZ
204312013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20432
20433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20434 default_ldbl_pack and using as default implementation.
20435 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20436 implementation.
20437 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20438 redundant definition.
20439 (ldbl_insert_mantissa): Likewise.
20440 (ldbl_canonicalize): Likewise.
20441 (ldbl_nearbyint): Likewise.
20442 (ldbl_pack): Rename to ldbl_pack_ppc.
20443 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20444 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20445 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20446
6d9145d8
SP
204472013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20448
20449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20450 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20451 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20452 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20454 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20455 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20456 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20457
4dd4e157
AJ
204582013-03-07 Andreas Jaeger <aj@suse.de>
20459
20460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20461 bits/mman-linux.h.
20462
adbb8027
SP
204632013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20464
ce544b5b
SP
20465 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20466 Include mpa.h and declare __MPEXP.
20467 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20468 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20469 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20470 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20472 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20473 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20474
4cc149fd
SP
20475 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20476 (__slowpow): Use long double EXPL and LOGL functions to
20477 compute POW.
20478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20479 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20481 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20482 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20483 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20484
e6ebd4a7
SP
20485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20486 intermediate variable to calculate exponent.
20487 (__sqr): Likewise.
20488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20489 Likewise.
20490 (__sqr): Likewise.
20491
82a9811d
SP
20492 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20493 [!NO__SQR]: Define __sqr.
20494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20495 and NO__SQR. Remove all code except __mul and __sqr. Include
20496 sysdeps/ieee754/dbl-64/mpa.c.
20497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20498
adbb8027
SP
20499 [BZ #12723]
20500 * posix/Makefile (tests): Add tst-pathconf.
20501 * posix/tst-pathconf.c: New test case.
20502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20503 _PC_PIPE_BUF.
20504 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20505
39120df9
PF
205062013-03-06 Patsy Franklin <pfrankli@redhat.com>
20507
20508 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20509
67525cb8
AJ
205102013-03-06 Andreas Jaeger <aj@suse.de>
20511
664a9ce4
AJ
20512 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20513 definition via __MAP_ANONYMOUS.
20514
8e39047d
AJ
20515 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20516 it's not part of Linux headers.
20517
67525cb8
AJ
20518 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20519 (MAP_HUGE_MASK): Define.
20520
20521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20522 Define.
20523 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20525 Define.
20526 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20527 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20528 Define.
20529 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20531 Define.
20532 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20533
20534 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20535 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20536 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20537 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20538 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20539 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20540
20541 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20542 Handle f2fs.
20543
20544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20545 Handle f2fs and efivarfs.
20546
20547 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20548 f2fs.
20549
20550 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20551 (EFIVARFS_MAGIC): Add.
20552 (F2FS_LINK_MAX): Add.
20553
e1b42695
PP
205542013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20555
20556 * stdio-common/vfprintf.c: Replace __builtin_expect with
20557 __glibc_unlikely.
20558
2d67d91a
JM
205592013-03-06 Joseph Myers <joseph@codesourcery.com>
20560
20561 [BZ #13550]
20562 * sysdeps/generic/bp-sym.h: Remove file.
20563 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20564 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20565 <bp-sym.h> and <bp-asm.h>.
20566 (__longjmp): Don't use BP_SYM.
20567 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20568 and <bp-asm.h>.
20569 (memcpy): Don't use BP_SYM.
20570 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20571 <bp-sym.h> and <bp-asm.h>.
20572 (memcpy): Don't use BP_SYM.
20573 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20574 <bp-asm.h>.
20575 (memcpy): Don't use BP_SYM.
20576 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20577 <bp-asm.h>.
20578 (memset): Don't use BP_SYM.
20579 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20580 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20581 (__bzero): Don't use BP_SYM.
20582 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20583 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20584 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20585 <bp-sym.h> and <bp-asm.h>.
20586 (memcmp): Don't use BP_SYM. Remove comment about bounded
20587 pointers.
20588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20589 <bp-sym.h> and <bp-asm.h>.
20590 (memcpy): Don't use BP_SYM.
20591 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20592 <bp-sym.h> and <bp-asm.h>.
20593 (memset): Don't use BP_SYM.
20594 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20595 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20596 (__bzero): Don't use BP_SYM.
20597 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20598 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20599 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20600 <bp-sym.h> and <bp-asm.h>.
20601 (strncmp): Don't use BP_SYM. Remove comment about bounded
20602 pointers.
20603 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20604 <bp-sym.h> and <bp-asm.h>.
20605 (memcpy): Don't use BP_SYM.
20606 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20607 <bp-sym.h> and <bp-asm.h>.
20608 (memset): Don't use BP_SYM.
20609 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20610 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20611 (__bzero): Don't use BP_SYM.
20612 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20613 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20615 <bp-sym.h> and <bp-asm.h>.
20616 (__memchr): Don't use BP_SYM.
20617 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20618 <bp-sym.h> and <bp-asm.h>.
20619 (memcmp): Don't use BP_SYM. Remove comment about bounded
20620 pointers.
20621 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20622 <bp-sym.h> and <bp-asm.h>.
20623 (memcpy): Don't use BP_SYM.
20624 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20625 <bp-sym.h> and <bp-asm.h>.
20626 (__mempcpy): Don't use BP_SYM.
20627 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20628 <bp-sym.h> and <bp-asm.h>.
20629 (__memrchr): Don't use BP_SYM.
20630 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20631 <bp-sym.h> and <bp-asm.h>.
20632 (memset): Don't use BP_SYM.
20633 (__bzero): Likewise.
20634 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20635 <bp-sym.h> and <bp-asm.h>.
20636 (__rawmemchr): Don't use BP_SYM.
20637 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20638 <bp-sym.h> and <bp-asm.h>.
20639 (__STRCMP): Don't use BP_SYM.
20640 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20641 <bp-sym.h> and <bp-asm.h>.
20642 (strchr): Don't use BP_SYM.
20643 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20644 <bp-sym.h> and <bp-asm.h>.
20645 (__strchrnul): Don't use BP_SYM.
20646 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20647 <bp-sym.h> and <bp-asm.h>.
20648 (strlen): Don't use BP_SYM.
20649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20650 <bp-sym.h> and <bp-asm.h>.
20651 (strncmp): Don't use BP_SYM. Remove comment about bounded
20652 pointers.
20653 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20654 <bp-sym.h> and <bp-asm.h>.
20655 (__strnlen): Don't use BP_SYM.
20656 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20657 <bp-sym.h> and <bp-asm.h>.
20658 (__GI__setjmp): Don't use BP_SYM.
20659 (_setjmp): Likewise.
20660 (__sigsetjmp): Likewise.
20661 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20662 (L(start_addresses)): Don't use BP_SYM.
20663 (_start): Likewise.
20664 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20665 <bp-asm.h>.
20666 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20667 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20668 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20669 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20670 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20671 <bp-asm.h>.
20672 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20673 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20674 about bounded pointers.
20675 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20676 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20677 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20678 <bp-asm.h>.
20679 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20680 about bounded pointers. Remove GKM FIXME comments.
20681 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20682 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20683 <bp-asm.h>.
20684 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20685 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20686 Remove GKM FIXME comments.
20687 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20688 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20689 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20690 <bp-asm.h>.
20691 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20692 about bounded pointers. Remove GKM FIXME comment.
20693 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20694 and <bp-asm.h>.
20695 (strncmp): Don't use BP_SYM. Remove comment about bounded
20696 pointers.
20697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20698 <bp-sym.h> and <bp-asm.h>.
20699 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20701 <bp-sym.h> and <bp-asm.h>.
20702 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20703 comment.
20704
cdcf361f
PP
207052013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20706
20707 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20708 call free(NULL).
20709
3c4a2b15
DM
207102013-03-05 David S. Miller <davem@davemloft.net>
20711
20712 * po/es.po: Update from translation team.
20713
cdcf361f 207142013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
20715
20716 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20717 <bits/mman-linux.h>.
20718 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20719 is fine.
20720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20721 <bits/mman-linux.h> to end of file.
20722 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20723 is fine.
20724 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20725 <bits/mman-linux.h> to end of file.
20726 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20727 is fine.
20728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20729 <bits/mman-linux.h> to end of file.
20730
20731 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20732 (MCL_CURRENT, MCL_FUTURE): Define here.
20733
5f67c04f
AK
207342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20735
8a4473cc 20736 [BZ #15232]
5f67c04f
AK
20737 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20738 attribute_hidden.
20739 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20740
c3e94a95
AK
207412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20742
20743 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20744 fourth parameter needed for rt_sigprocmask syscall.
20745 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20746 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20747 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20748 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20749 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20750 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20751
cfb6382a
JM
207522013-03-04 Joseph Myers <joseph@codesourcery.com>
20753
20754 [BZ #13550]
20755 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20756 comment about bounded pointers.
20757 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20758 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20759
539d8e01
AJ
207602013-03-04 Andreas Jaeger <aj@suse.de>
20761
20762 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20763 common definitions.
20764
20765 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20766 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20767 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20769 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
20770 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20771
2e167a70 207722013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
20773
20774 [BZ #15055]
20775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20776 __ieee754_sqrl instead of __sqrl.
20777
68508633
JM
207782013-03-01 Joseph Myers <joseph@codesourcery.com>
20779
20780 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20781 * sysdeps/powerpc/fpu_control.h: ... here.
20782 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20783 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20784 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20785 * sysdeps/powerpc/bits/mathinline.h: ... here.
20786
7775448e
RM
207872013-03-01 Roland McGrath <roland@hack.frob.com>
20788
20789 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20790 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20791 to just [NEED_DL_SYSINFO_DSO].
20792 * elf/dl-support.c: Likewise.
20793 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20794 * elf/rtld.c (dl_main): Likewise.
20795 * elf/setup-vdso.h (setup_vdso): Likewise.
20796 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20797 * sysdeps/unix/sysv/linux/dl-sysdep.c
20798 (_dl_discover_osversion): Likewise.
20799
4e9b5995
CD
208002013-03-01 Carlos O'Donell <carlos@redhat.com>
20801
20802 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20803 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20804
e23872c8
SP
208052013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20806
e5c74c63
SP
20807 * NEWS: Mention libm performance improvements and non-x86 PI
20808 futex support.
20809
e23872c8
SP
20810 * csu/libc-start.c (__pthread_initialize_minimal): Change
20811 function arguments.
20812 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20813
b5510883
JM
208142013-02-28 Joseph Myers <joseph@codesourcery.com>
20815
20816 [BZ #13550]
20817 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20818 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20819 <bp-sym.h> and <bp-asm.h>.
20820 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20821 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20822 and <bp-asm.h>.
20823 (memcpy): Don't use BP_SYM.
20824 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20825 <bp-asm.h>.
20826 (__mpn_add_n): Don't use BP_SYM.
20827 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20828 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20829 and <bp-asm.h>.
20830 (__mpn_addmul_1): Don't use BP_SYM.
20831 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20832 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20833 <bp-sym.h>.
20834 (_setjmp): Don't use BP_SYM.
20835 (__novmx_setjmp): Likewise.
20836 (__GI__setjmp): Likewise.
20837 (__vmx_setjmp): Likewise.
20838 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20839 <bp-sym.h>.
20840 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20841 (__bzero): Don't use BP_SYM.
20842 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20843 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20844 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20845 <bp-sym.h> and <bp-asm.h>.
20846 (memcpy): Don't use BP_SYM.
20847 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20848 <bp-sym.h> and <bp-asm.h>.
20849 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20850 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20851 <bp-sym.h> and <bp-asm.h>.
20852 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20853 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20854 <bp-asm.h>.
20855 (__mpn_lshift): Don't use BP_SYM.
20856 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20857 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20858 <bp-asm.h>.
20859 (memset): Don't use BP_SYM.
20860 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20861 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20862 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20863 <bp-asm.h>.
20864 (__mpn_mul_1): Don't use BP_SYM.
20865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20866 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20867 <bp-sym.h> and <bp-asm.h>.
20868 (memcmp): Don't use BP_SYM.
20869 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20870 <bp-sym.h> and <bp-asm.h>.
20871 (memcpy): Don't use BP_SYM.
20872 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20873 <bp-sym.h> and <bp-asm.h>.
20874 (memset): Don't use BP_SYM.
20875 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20876 <bp-sym.h> and <bp-asm.h>.
20877 (strncmp): Don't use BP_SYM.
20878 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20879 <bp-sym.h> and <bp-asm.h>.
20880 (memcpy): Don't use BP_SYM.
20881 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20882 <bp-sym.h> and <bp-asm.h>.
20883 (memset): Don't use BP_SYM.
20884 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20885 <bp-sym.h> and <bp-asm.h>.
20886 (__memchr): Don't use BP_SYM.
20887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20888 <bp-sym.h> and <bp-asm.h>.
20889 (memcmp): Don't use BP_SYM.
20890 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20891 <bp-sym.h> and <bp-asm.h>.
20892 (memcpy): Don't use BP_SYM.
20893 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20894 <bp-sym.h> and <bp-asm.h>.
20895 (__mempcpy): Don't use BP_SYM.
20896 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20897 <bp-sym.h> and <bp-asm.h>.
20898 (__memrchr): Don't use BP_SYM.
20899 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20900 <bp-sym.h> and <bp-asm.h>.
20901 (memset): Don't use BP_SYM.
20902 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20903 <bp-sym.h> and <bp-asm.h>.
20904 (__rawmemchr): Don't use BP_SYM.
20905 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20906 <bp-sym.h> and <bp-asm.h>.
20907 (__STRCMP): Don't use BP_SYM.
20908 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20909 <bp-sym.h> and <bp-asm.h>.
20910 (strchr): Don't use BP_SYM.
20911 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20912 <bp-sym.h> and <bp-asm.h>.
20913 (__strchrnul): Don't use BP_SYM.
20914 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20915 <bp-sym.h> and <bp-asm.h>.
20916 (strlen): Don't use BP_SYM.
20917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20918 <bp-sym.h> and <bp-asm.h>.
20919 (strncmp): Don't use BP_SYM.
20920 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20921 <bp-sym.h> and <bp-asm.h>.
20922 (__strnlen): Don't use BP_SYM.
20923 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20924 <bp-asm.h>.
20925 (__mpn_rshift): Don't use BP_SYM.
20926 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20927 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20928 <bp-sym.h> and <bp-asm.h>.
20929 (__sigsetjmp): Don't use BP_SYM.
20930 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20931 (L(start_addresses)): Don't use BP_SYM.
20932 (_start): Likewise.
20933 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20934 <bp-asm.h>.
20935 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20936 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20937 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20938 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20939 <bp-asm.h>.
20940 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20941 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20942 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20943 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20944 <bp-asm.h>.
20945 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20946 comments.
20947 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20948 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20949 <bp-asm.h>.
20950 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20951 FIXME comments.
20952 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20953 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20954 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20955 <bp-asm.h>.
20956 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20957 comment.
20958 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20959 and <bp-asm.h>.
20960 (strncmp): Don't use BP_SYM,
20961 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20962 <bp-asm.h>.
20963 (__mpn_sub_n): Don't use BP_SYM.
20964 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20965 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20966 and <bp-asm.h>.
20967 (__mpn_submul_1): Don't use BP_SYM.
20968 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20970 <bp-sym.h> and <bp-asm.h>.
20971 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20973 <bp-sym.h> and <bp-asm.h>.
20974 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20975 comment.
20976
8d19fe64
SP
209772013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20978
20979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20980 Use ZK to minimize writes to Z.
20981 (sub_magnitudes): Simplify code a bit.
20982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20983 Use ZK to minimize writes to Z.
20984 (sub_magnitudes): Simplify code a bit.
20985
85bd816a
RM
209862013-02-27 Roland McGrath <roland@hack.frob.com>
20987
20988 * csu/gmon-start.c: Add special exception to license text.
20989
b5977bf2
RH
209902013-02-27 Richard Henderson <rth@redhat.com>
20991
20992 * scripts/config.guess: Update from config.git.
20993 * scripts/config.sub: Likewise.
20994
11d6e2f2
SP
209952013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20996
09c14ed2
SP
20997 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20998
a688864e
SP
20999 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21000
6295157a
SP
21001 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21002
b8de2202
SP
21003 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21004
11d6e2f2
SP
21005 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21006
7e80ddb8
RM
210072013-02-26 Roland McGrath <roland@hack.frob.com>
21008
21009 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21010 [$(build-shared = yes].
7e80ddb8 21011
7da6d9ed
SP
210122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21013
45f05884
SP
21014 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21015 (__mul): Reduce iterations for calculating mantissa.
21016
2236d359
SP
21017 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21018 MPTWO.
21019 (__mpranred): Likewise.
21020
7da6d9ed
SP
21021 [BZ #15160]
21022 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21023 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21024
b7688c42
PE
210252013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21026
21027 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21028 Define __attribute__.
21029
53a5c423
SP
210302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21031
21032 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21033 unused.
21034 * posix/regex_internal.h (__attribute): Remove.
21035 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21036 (re_string_context_at): Likewise.
21037 (bitset_not): Use __attribute__ and mark function as possibly
21038 unused.
21039 (bitset_merge): Likewise.
21040 (bitset_mask): Likewise.
21041 (re_string_char_size_at): Likewise.
21042 (re_string_wchar_at): Likewise.
21043 (re_string_elem_size_at): Likewise.
21044
60f5a8b5
SP
210452013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21046
2a983a2e
SP
21047 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21048 code.
21049 (cc32): Likewise.
21050
e69804d1
SP
21051 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21052 (__acr): Likewise.
21053 (__cpy): Likewise.
21054 (norm): Likewise.
21055 (denorm): Likewise.
21056 (__dbl_mp): Likewise.
21057 (add_magnitudes): Likewise.
21058 (sub_magnitudes): Likewise.
21059 (__mul): Likewise.
21060 (__inv): Likewise.
21061
2f22a1e8
SP
21062 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21063 style.
21064
8930ddc7
SP
21065 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21066 style.
21067
dc60cb11
SP
21068 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21069 code.
21070
60f5a8b5
SP
21071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21072 up changes with default code.
21073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21074 Likewise.
21075
b4d1fd33
AM
210762013-02-24 Allan McRae <allan@archlinux.org>
21077
faf6f8bc
AM
21078 * manual/socket.texi (The Internet Namespace): Order menu items
21079 to match that in the file.
21080
b4d1fd33
AM
21081 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21082 node listing of the info page menu.
21083
2366713d
JM
210842013-02-21 Joseph Myers <joseph@codesourcery.com>
21085
21086 [BZ #13550]
21087 * sysdeps/i386/bp-asm.h: Remove file.
21088 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21089 (PARMS): Do not use macros from bp-asm.h.
21090 (S1): Likewise.
21091 (S2): Likewise.
21092 (SIZE): Likewise.
21093 (__mpn_add_n): Do not use BP_SYM
21094 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21095 "bp-asm.h".
21096 (PARMS): Do not use macros from bp-asm.h.
21097 (S1): Likewise.
21098 (SIZE): Likewise.
21099 (__mpn_addmul_1): Do not use BP_SYM
21100 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21101 "bp-asm.h".
21102 (PARMS): Do not use macros from bp-asm.h.
21103 (SIGMSK): Likewise.
21104 (_setjmp): Likewise. Do not use BP_SYM.
21105 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21106 "bp-asm.h".
21107 (PARMS): Do not use macros from bp-asm.h.
21108 (SIGMSK): Likewise.
21109 (setjmp): Likewise. Do not use BP_SYM.
21110 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21111 "bp-asm.h".
21112 (PARMS): Do not use macros from bp-asm.h.
21113 (__frexp): Do not use BP_SYM.
21114 (frexp): Likewise.
21115 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21116 "bp-asm.h".
21117 (PARMS): Do not use macros from bp-asm.h.
21118 (__frexpf): Do not use BP_SYM.
21119 (frexpf): Likewise.
21120 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21121 "bp-asm.h".
21122 (PARMS): Do not use macros from bp-asm.h.
21123 (__frexpl): Do not use BP_SYM.
21124 (frexpl): Likewise.
21125 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21126 "bp-asm.h".
21127 (PARMS): Do not use macros from bp-asm.h.
21128 (__remquo): Do not use BP_SYM.
21129 (remquo): Likewise.
21130 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21131 "bp-asm.h".
21132 (PARMS): Do not use macros from bp-asm.h.
21133 (__remquof): Do not use BP_SYM.
21134 (remquof): Likewise.
21135 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21136 "bp-asm.h".
21137 (PARMS): Do not use macros from bp-asm.h.
21138 (__remquol): Do not use BP_SYM.
21139 (remquol): Likewise.
21140 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21141 "bp-asm.h".
21142 (PARMS): Do not use macros from bp-asm.h.
21143 (DEST): Likewise.
21144 (SRC): Likewise.
21145 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21146 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21147 "bp-asm.h".
21148 (PARMS): Do not use macros from bp-asm.h.
21149 (strlen): Do not use BP_SYM.
21150 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21151 "bp-asm.h".
21152 (PARMS): Do not use macros from bp-asm.h.
21153 (S1): Likewise.
21154 (S2): Likewise.
21155 (SIZE): Likewise.
21156 (__mpn_add_n): Do not use BP_SYM.
21157 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21158 "bp-asm.h".
21159 (PARMS): Do not use macros from bp-asm.h.
21160 (S1): Likewise.
21161 (SIZE): Likewise.
21162 (__mpn_addmul_1): Do not use BP_SYM.
21163 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21164 weak_alias.
21165 (bzero): Likewise.
21166 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21167 "bp-asm.h".
21168 (PARMS): Do not use macros from bp-asm.h.
21169 (S): Likewise.
21170 (SIZE): Likewise.
21171 (__mpn_lshift): Do not use BP_SYM.
21172 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21173 "bp-asm.h".
21174 (PARMS): Do not use macros from bp-asm.h.
21175 (DEST): Likewise.
21176 (SRC): Likewise.
21177 (LEN): Likewise.
21178 (memcpy): Likewise. Do not use BP_SYM.
21179 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21180 libc_hidden_def and weak_alias.
21181 (mempcpy): Do not use BP_SYM in weak_alias.
21182 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21183 "bp-asm.h".
21184 (PARMS): Do not use macros from bp-asm.h.
21185 (DEST): Likewise.
21186 (LEN): Likewise.
21187 [!BZERO_P] (CHR): Likewise.
21188 (memset): Likewise. Do not use BP_SYM.
21189 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21190 "bp-asm.h".
21191 (PARMS): Do not use macros from bp-asm.h.
21192 (S1): Likewise.
21193 (SIZE): Likewise.
21194 (__mpn_mul_1): Do not use BP_SYM.
21195 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21196 "bp-asm.h".
21197 (PARMS): Do not use macros from bp-asm.h.
21198 (S): Likewise.
21199 (SIZE): Likewise.
21200 (__mpn_rshift): Do not use BP_SYM.
21201 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21202 "bp-asm.h".
21203 (PARMS): Do not use macros from bp-asm.h.
21204 (STR): Likewise.
21205 (CHR): Likewise.
21206 (strchr): Likewise. Do not use BP_SYM.
21207 (index): Do not use BP_SYM in weak_alias.
21208 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21209 "bp-asm.h".
21210 (PARMS): Do not use macros from bp-asm.h.
21211 (DEST): Likewise.
21212 (SRC): Likewise.
21213 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21214 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21215 "bp-asm.h".
21216 (PARMS): Do not use macros from bp-asm.h.
21217 (strlen): Do not use BP_SYM.
21218 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21219 "bp-asm.h".
21220 (PARMS): Do not use macros from bp-asm.h.
21221 (S1): Likewise.
21222 (S2): Likewise.
21223 (SIZE): Likewise.
21224 (__mpn_sub_n): Do not use BP_SYM.
21225 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21226 "bp-asm.h".
21227 (PARMS): Do not use macros from bp-asm.h.
21228 (S1): Likewise.
21229 (SIZE): Likewise.
21230 (__mpn_submul_1): Do not use BP_SYM.
21231 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21232 "bp-asm.h".
21233 (PARMS): Do not use macros from bp-asm.h.
21234 (S1): Likewise.
21235 (S2): Likewise.
21236 (SIZE): Likewise.
21237 (__mpn_add_n): Do not use BP_SYM.
21238 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21239 weak_alias.
21240 (bzero): Likewise.
21241 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21242 "bp-asm.h".
21243 (PARMS): Do not use macros from bp-asm.h.
21244 (BLK2): Likewise.
21245 (LEN): Likewise.
21246 (memcmp): Do not use BP_SYM.
21247 (bcmp): Do not use BP_SYM in weak_alias.
21248 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21249 "bp-asm.h".
21250 (PARMS): Do not use macros from bp-asm.h.
21251 (DEST): Likewise.
21252 (SRC): Likewise.
21253 (LEN): Likewise.
21254 (memcpy): Likewise. Do not use BP_SYM.
21255 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21256 "bp-asm.h".
21257 (PARMS): Do not use macros from bp-asm.h.
21258 (DEST): Likewise.
21259 (SRC): Likewise.
21260 (LEN): Likewise.
21261 (memmove): Likewise. Do not use BP_SYM.
21262 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21263 "bp-asm.h".
21264 (PARMS): Do not use macros from bp-asm.h.
21265 (DEST): Likewise.
21266 (SRC): Likewise.
21267 (LEN): Likewise.
21268 (__mempcpy): Likewise. Do not use BP_SYM.
21269 (mempcpy): Do not use BP_SYM in weak_alias.
21270 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21271 "bp-asm.h".
21272 (PARMS): Do not use macros from bp-asm.h.
21273 (DEST): Likewise.
21274 (LEN): Likewise.
21275 [!BZERO_P] (CHR): Likewise.
21276 (memset): Likewise. Do not use BP_SYM.
21277 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21278 "bp-asm.h".
21279 (PARMS): Do not use macros from bp-asm.h.
21280 (STR2): Likewise.
21281 (strcmp): Do not use BP_SYM.
21282 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21283 "bp-asm.h".
21284 (PARMS): Do not use macros from bp-asm.h.
21285 (STR): Likewise.
21286 (DELIM): Likewise.
21287 [USE_AS_STRTOK_R] (SAVE): Likewise.
21288 (FUNCTION): Likewise. Do not use BP_SYM.
21289 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21290 aliases.
21291 (strtok_r): Likewise.
21292 (__GI___strtok_r): Likewise.
21293 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21294 (PARMS): Do not use macros from bp-asm.h.
21295 (S): Likewise.
21296 (SIZE): Likewise.
21297 (__mpn_lshift): Do not use BP_SYM.
21298 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21299 (PARMS): Do not use macros from bp-asm.h.
21300 (STR): Likewise.
21301 (CHR): Likewise.
21302 (__memchr): Do not use BP_SYM.
21303 (memchr): Do not use BP_SYM in weak_alias.
21304 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21305 (PARMS): Do not use macros from bp-asm.h.
21306 (BLK2): Likewise.
21307 (LEN): Likewise.
21308 (memcmp): Do not use BP_SYM.
21309 (bcmp): Do not use BP_SYM in weak_alias.
21310 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21311 (PARMS): Do not use macros from bp-asm.h.
21312 (S1): Likewise.
21313 (SIZE): Likewise.
21314 (__mpn_mul_1): Do not use BP_SYM.
21315 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21316 "bp-asm.h".
21317 (PARMS): Do not use macros from bp-asm.h.
21318 (STR): Likewise.
21319 (CHR): Likewise.
21320 (__rawmemchr): Do not use BP_SYM.
21321 (rawmemchr): Do not use BP_SYM in weak_alias.
21322 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21323 (PARMS): Do not use macros from bp-asm.h.
21324 (S): Likewise.
21325 (SIZE): Likewise.
21326 (__mpn_rshift): Do not use BP_SYM.
21327 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21328 (PARMS): Do not use macros from bp-asm.h.
21329 (SIGMSK): Likewise.
21330 (__sigsetjmp): Likewise. Do not use BP_SYM.
21331 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21332 (_start): Do not use BP_SYM.
21333 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21334 (PARMS): Do not use macros from bp-asm.h.
21335 (DEST): Likewise.
21336 (SRC): Likewise.
21337 (__stpcpy): Likewise. Do not use BP_SYM.
21338 (stpcpy): Do not use BP_SYM in weak_alias.
21339 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21340 "bp-asm.h".
21341 (PARMS): Do not use macros from bp-asm.h.
21342 (DEST): Likewise.
21343 (SRC): Likewise.
21344 (LEN): Likewise.
21345 (__stpncpy): Likewise. Do not use BP_SYM.
21346 (stpncpy): Do not use BP_SYM in weak_alias.
21347 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21348 (PARMS): Do not use macros from bp-asm.h.
21349 (STR): Likewise.
21350 (CHR): Likewise.
21351 (strchr): Likewise. Do not use BP_SYM.
21352 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21353 "bp-asm.h".
21354 (PARMS): Do not use macros from bp-asm.h.
21355 (STR): Likewise.
21356 (CHR): Likewise.
21357 (__strchrnul): Likewise. Do not use BP_SYM.
21358 (strchrnul): Do not use BP_SYM in weak_alias.
21359 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21360 "bp-asm.h".
21361 (PARMS): Do not use macros from bp-asm.h.
21362 (STOP): Likewise.
21363 (strcspn): Do not use BP_SYM.
21364 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21365 "bp-asm.h".
21366 (PARMS): Do not use macros from bp-asm.h.
21367 (STR): Likewise.
21368 (STOP): Likewise.
21369 (strpbrk): Likewise. Do not use BP_SYM.
21370 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21371 "bp-asm.h".
21372 (PARMS): Do not use macros from bp-asm.h.
21373 (STR): Likewise.
21374 (CHR): Likewise.
21375 (strrchr): Likewise. Do not use BP_SYM.
21376 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21377 (PARMS): Do not use macros from bp-asm.h.
21378 (SKIP): Likewise.
21379 (strspn): Do not use BP_SYM.
21380 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21381 (PARMS): Do not use macros from bp-asm.h.
21382 (STR): Likewise.
21383 (DELIM): Likewise.
21384 (SAVE): Likewise.
21385 (FUNCTION): Likewise. Do not use BP_SYM.
21386 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21387 aliases.
21388 (strtok_r): Likewise.
21389 (__GI___strtok_r): Likewise.
21390 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21391 (PARMS): Do not use macros from bp-asm.h.
21392 (S1): Likewise.
21393 (S2): Likewise.
21394 (SIZE): Likewise.
21395 (__mpn_sub_n): Do not use BP_SYM.
21396 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21397 "bp-asm.h".
21398 (PARMS): Do not use macros from bp-asm.h.
21399 (S1): Likewise.
21400 (SIZE): Likewise.
21401 (__mpn_submul_1): Do not use BP_SYM.
21402 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21403 <bp-sym.h>.
21404 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21405 and <bp-asm.h>.
21406 (PARMS): Do not use macros from bp-asm.h.
21407 (FLAGS): Likewise.
21408 (PTID): Likewise.
21409 (TLS): Likewise.
21410 (CTID): Likewise.
21411 (__clone): Do not use BP_SYM.
21412 (clone): Do not use BP_SYM in weak_alias.
21413 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21414 and <bp-asm.h>.
21415 (PARMS): Do not use macros from bp-asm.h.
21416 (LEN): Likewise.
21417 (__mmap64): Do not use BP_SYM.
21418 (mmap64): Do not use BP_SYM in weak_alias.
21419 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21420 <bp-sym.h> and <bp-asm.h>.
21421 (PARMS): Do not use macros from bp-asm.h.
21422 (__posix_fadvise64_l64): Do not use BP_SYM.
21423 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21424 (PARMS): Do not use macros from bp-asm.h.
21425 (NSOPS): Likewise.
21426 (semtimedop): Do not use BP_SYM.
21427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21428 and <bp-asm.h>.
21429
582a3cff
AM
214302013-02-21 Allan McRae <allan@archlinux.org>
21431
21432 * manual/message.texi (Charset conversion in gettext):
21433 Move @end statement to beginning of line.
21434
bab8a695
SP
214352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21436
80945231
SP
21437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21438 static.
21439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21440 Likewise.
21441
bab8a695
SP
21442 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21443 (denorm): Likewise.
21444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21446
e21d7aa7
AK
214472013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21448
21449 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21450 tail-call to the resolved function if pltexit isn't needed.
21451
4c7a4263
SP
214522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21453
21454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21455 or Y being zero as being unlikely.
21456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21457 Likewise.
21458
41f49342
CD
214592013-02-20 Carlos O'Donell <carlos@redhat.com>
21460
21461 * manual/nss.texi (System Databases and Name Service Switch):
21462 Remove frobnicate @pxref.
21463
50022a93
TS
214642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21465
21466 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21467 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21468
08cbd996
PM
214692013-02-20 Petr Machata <pmachata@redhat.com>
21470
21471 * elf/elf.h (R_ARM_TARGET1): New macro.
21472 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21473 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21474 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21475 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21476 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21477 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21478 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21479 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21480 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21481 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21482 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21483 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21484 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21485 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21486 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21487 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21488 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21489 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21490 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21491 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21492 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21493 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21494 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21495 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21496 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21497 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21498 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21499 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21500 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21501 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21502 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21503 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21504 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21505 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21506 (R_ARM_THM_GOT_BREL12): Likewise.
21507 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21508 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21509 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21510 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21511 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21512 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21513 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21514 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21515 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21516
c7b275d6
TS
215172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21518
21519 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21520 __attribute_used__ to __attribute__ ((unused)).
21521
20cd7fb3
SP
215222013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21523
21524 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21525 powerpc mpa.c.
21526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21527 comment formatting.
21528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21529
92945b52
JM
215302013-02-19 Joseph Myers <joseph@codesourcery.com>
21531
21532 [BZ #13550]
21533 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21534 Remove macro.
21535 (ENTER): Remove both macro definitions.
21536 (LEAVE): Likewise.
21537 (CHECK_BOUNDS_LOW): Likewise.
21538 (CHECK_BOUNDS_HIGH): Likewise.
21539 (CHECK_BOUNDS_BOTH): Likewise.
21540 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21541 (RETURN_BOUNDED_POINTER): Likewise.
21542 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21543 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21544 (POP_ERRNO_LOCATION_RETURN): Likewise.
21545 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21546 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21547 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21548 macros.
21549 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21550 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21551 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21552 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21553 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21554 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21555 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21556 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21557 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21558 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21559 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21560 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21562 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21563 removed macros.
21564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21565 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21566 macros.
21567 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21568 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21569 * sysdeps/i386/i586/memset.S (memset): Likewise.
21570 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21571 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21572 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21573 macros.
21574 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21575 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21576 Change uses of L(2) to L(out).
21577 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21578 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21579 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21580 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21581 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21582 removed macros.
21583 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21584 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21585 macros.
21586 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21587 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21588 (RETURN): Do not use macro LEAVE.
21589 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21590 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21591 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21592 * sysdeps/i386/i686/memset.S (memset): Likewise.
21593 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21594 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21595 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21596 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21597 Likewise.
21598 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21599 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21600 L(1_2) and L(1_3) into L(1).
21601 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21602 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21603 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21604 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21605 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21606 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21607 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21608 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21609 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21610 macros.
21611 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21612 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21613 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21614 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21615 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21616 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21617 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21618 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21619 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21620 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21621 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21622 * sysdeps/i386/strspn.S (strspn): Likewise.
21623 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21624 conditional code.
21625 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21626 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21627 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21628 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21629 L(1_3) into L(1_1).
21630 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21631 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21632 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21633 macros.
21634 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21635
2389741a
JJ
216362013-02-19 Jakub Jelinek <jakub@redhat.com>
21637
21638 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21639 macro.
21640
2016b3cd
SP
216412013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21642
e4f22324
SP
21643 * math/atest-exp.c (exp_mpn): Remove ROUND.
21644 * math/atest-exp2.c (exp_mpn): Likewise.
21645 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21646
2016b3cd
SP
21647 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21648 * stdlib/tst-tls-atexit-lib.c: Likewise.
21649 * stdlib/tst-tls-atexit.c: Likewise.
21650
4be9b544
MF
216512013-02-18 Mike Frysinger <vapier@gentoo.org>
21652
21653 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21654 and __attribute_alloc_size__.
21655
2f62b9ee
MF
216562013-02-18 Mike Frysinger <vapier@gentoo.org>
21657
21658 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21659 __attribute_alloc_size__.
21660 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21661 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21662
6ff444c4
MF
216632013-02-18 Mike Frysinger <vapier@gentoo.org>
21664
21665 * include/programs/xmalloc.h: New file.
21666 * catgets/gencat.c: Include it.
21667 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21668 * elf/pldd.c: Likewise.
21669 * iconv/iconv_charmap.c: Likewise.
21670 * iconv/iconvconfig.c: Likewise.
21671 * iconv/strtab.c: Likewise.
21672 * locale/programs/locale.c: Likewise.
21673 * locale/programs/localedef.h: Likewise.
21674 * locale/programs/simple-hash.c: Likewise.
21675 * nscd/nscd.h: Likewise.
21676 * nss/makedb.c: Likewise.
21677 * sysdeps/generic/ldconfig.h: Likewise.
21678
be179c8a
SP
216792013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21680
ba384f6e
SP
21681 * Versions.def: Add GLIBC_2.18.
21682 * include/link.h (struct link_map): New member l_tls_dtor_count.
21683 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21684 (__call_tls_dtors): Likewise.
21685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21686 __cxa_thread_atexit_impl.
21687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21688 Likewise.
21689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21690 Likewise.
21691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21692 Likewise.
21693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21694 Likewise.
21695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21697 Likewise.
21698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21699 Likewise.
21700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21702 Likewise.
21703 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21704 (tests): Add test case tst-tls-atexit.
21705 (modules-names): Add shared library for tst-tls-atexit.
85891aca 21706 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
21707 (GLIBC_PRIVATE): Add __call_tls_dtors.
21708 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21709 for libstdc++.
21710 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21711 * stdlib/tst-tls-atexit.c: New test case.
21712 * stdlib/tst-tls-atexit-lib.c: New test case.
21713
ffaa74cf 21714 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 21715
be179c8a
SP
21716 * elf/Versions (ld): Add _dl_find_dso_for_object.
21717 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21718 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21719 (dl_open_worker): Use _dl_find_dso_for_object.
21720 * elf/dl-sym.c (do_sym): Likewise.
21721 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21722
f78b5caa
AK
217232013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21724
21725 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21726 Syntactic changes only.
21727 (_dl_runtime_profile): Do a tail-call to the resolved function.
21728
29691210
JM
217292013-02-17 Joseph Myers <joseph@codesourcery.com>
21730
21731 [BZ #13550]
21732 * sysdeps/x86_64/bp-asm.h: Remove file.
21733 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21734 <bp-sym.h> and <bp-asm.h>.
21735 (__clone): Do not use BP_SYM.
21736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21737 <bp-sym.h> and <bp-asm.h>.
21738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21739 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21740 "bp-asm.h".
21741 (_setjmp): Do not use BP_SYM.
21742 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21743 "bp-asm.h".
21744 (setjmp): Do not use BP_SYM.
21745 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21746 libc_hidden_def.
21747 (mempcpy): Do not use BP_SYM in weak_alias.
21748 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21749 "bp-asm.h".
21750 (strchr): Do not use BP_SYM.
21751 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21752 "bp-asm.h".
21753 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21754 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21755 (_start): Do not use BP_SYM.
21756 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21757 "bp-asm.h".
21758 (strcat): Do not use BP_SYM.
21759 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21760 "bp-asm.h".
21761 (STRCMP): Do not use BP_SYM.
21762 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21763 "bp-asm.h".
21764 (STRCPY): Do not use BP_SYM.
21765 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21766 "bp-asm.h".
21767 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21768 "bp-asm.h".
21769 (FUNCTION): Do not use BP_SYM.
21770 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21771 weak_alias.
21772 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21773
f238fd19
AJ
217742013-02-17 Andreas Jaeger <aj@suse.de>
21775
21776 * time/Versions: Sort entries.
21777 * string/Versions: Likewise.
21778 * resolv/Versions: Likewise.
21779 * posix/Versions: Likewise.
21780 * iconv/Versions: Likewise.
21781 * elf/Versions: Likewise.
21782 * wcsmbs/Versions: Likewise.
21783
bd07f23c 217842013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 21785
22af19f9
SP
21786 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21787 loop termination condition.
21788
4709fe76
SP
21789 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21790 variable to calculate EZ.
21791 (__sqr): Likewise.
2d0e0f29
SP
21792
21793 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21794 the lower precision input.
21795
daaa7713
JM
217962013-02-15 Joseph Myers <joseph@codesourcery.com>
21797
21798 [BZ #13550]
21799 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21800 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21801 (run-via-rtld-prefix): Do not handle %-bp tests.
21802 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21803 (all-object-suffixes): Remove .ob.
21804 (bppfx): Remove variable.
21805 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21806 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21807 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21808 [$(build-bounded) = yes] (libtype.ob): Likewise.
21809 * Makerules (elide-routines.ob): Remove variable.
21810 (do-tests-clean): Do not handle *-bp.out.
21811 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21812 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21813 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21814 (tests): Do not include $(tests-bp.out).
21815 (xtests): Do not include $(xtests-bp.out).
21816 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21817 [$(build-bounded) = yes] ($(addprefix
21818 $(objpfx),$(binaries-bounded))): Remove rule.
21819 ($(objpfx)%-bp.out): Remove rule.
21820 * config.make.in (build-bounded): Remove variable.
21821 * crypt/Makefile [$(build-bounded) = yes]
21822 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21823 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21824 append to variable.
21825 [$(build-bounded) = yes] (install-lib): Likewise.
21826 [$(build-bounded) = yes] (generated): Likewise.
21827 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21828 Remove rule.
21829 * intl/Makefile [$(build-bounded) = yes]
21830 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21831 * math/Makefile [$(build-bounded) = yes]
21832 ($(tests:%=$(objpfx)%-bp): Likewise.
21833 * misc/Makefile [$(build-bounded) = yes]
21834 ($(objpfx)tst-tsearch-bp): Likewise.
21835 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21836 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21837 Remove dependency.
21838 * string/Makefile (o-objects.ob): Remove variable.
21839 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21840 (CFLAGS-.ob): Remove variable.
21841 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21842 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21843 both definitions of variable.
21844 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21845 (ASFLAGS-.ob): Remove variable.
21846
e97ed6dd
JM
218472013-02-14 Joseph Myers <joseph@codesourcery.com>
21848
2bdd4ca6
JM
21849 [BZ #13550]
21850 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21851 Remove __BOUNDED_POINTERS__ from condition.
21852 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21853 * string/bits/string2.h [!__NO_STRING_INLINES &&
21854 !__BOUNDED_POINTERS__]: Likewise.
21855 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21856 Likewise.
21857 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21858 Remove conditional code.
21859 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21860 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21861 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21862 condition.
21863
e97ed6dd
JM
21864 [BZ #13550]
21865 * csu/libc-start.c: Do not include <bp-sym.h>.
21866 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21867 * elf/dl-open.c: Do not include <bp-sym.h>.
21868 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21869 * math/fegetenv.c: Do not include <bp-sym.h>.
21870 (fegetenv): Do not use BP_SYM in versioned symbols.
21871 * nptl/sysdeps/pthread/bits/libc-lockP.h
21872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21873 <bp-sym.h>.
21874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21875 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21877 (__pthread_mutex_destroy): Likewise.
21878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21879 (__pthread_mutex_lock): Likewise.
21880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21881 (__pthread_mutex_trylock): Likewise.
21882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21883 (__pthread_mutex_unlock): Likewise.
21884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21885 (__pthread_mutexattr_init): Likewise.
21886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21887 (__pthread_mutexattr_destroy): Likewise.
21888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21889 (__pthread_mutexattr_settype): Likewise.
21890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21891 (__pthread_rwlock_init): Likewise.
21892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21893 (__pthread_rwlock_destroy): Likewise.
21894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21895 (__pthread_rwlock_rdlock): Likewise.
21896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21897 (__pthread_rwlock_tryrdlock): Likewise.
21898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21899 (__pthread_rwlock_wrlock): Likewise.
21900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21901 (__pthread_rwlock_trywrlock): Likewise.
21902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21903 (__pthread_rwlock_unlock): Likewise.
21904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21905 (__pthread_key_create): Likewise.
21906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21907 (__pthread_setspecific): Likewise.
21908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21909 (__pthread_getspecific): Likewise.
21910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21911 Likewise.
21912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21913 (_pthread_cleanup_push_defer): Likewise.
21914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21915 (_pthread_cleanup_pop_restore): Likewise.
21916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21917 (pthread_setcancelstate): Likewise.
21918 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21919 <bp-sym.h>.
21920 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21921 (memchr): Do not use BP_SYM in weak_alias.
21922 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21923 (fegetenv): Do not use BP_SYM in versioned symbols.
21924 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21925 (fesetenv): Do not use BP_SYM in versioned symbols.
21926 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21927 (feupdateenv): Do not use BP_SYM in versioned symbols.
21928 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21929 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21930 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21931 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21932 (open64): Do not use BP_SYM in weak_alias.
21933 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21934 (fegetenv): Do not use BP_SYM in versioned symbols.
21935 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21936 (fesetenv): Do not use BP_SYM in versioned symbols.
21937 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21938 (feupdateenv): Do not use BP_SYM in versioned symbols.
21939 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21940 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21941 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21942 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21943 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21944 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21945 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21946 <bp-sym.h>.
21947 (__libc_start_main): Do not use BP_SYM.
21948
d6752ccd
SP
219492013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21950
cb57ce60
SP
21951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21952 redundant return line.
21953 (norm): Likewise.
21954 (denorm): Likewise.
21955 (dbl_mp): Likewise.
21956 (sub_magnitudes): Likewise.
21957 (__add): Likewise.
21958 (__sub): Likewise.
21959 (__mul): Likewise.
21960 (__inv): Likewise.
21961 (__dvd): Likewise.
21962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21963 (norm): Likewise.
21964 (denorm): Likewise.
21965 (dbl_mp): Likewise.
21966 (sub_magnitudes): Likewise.
21967 (__add): Likewise.
21968 (__sub): Likewise.
21969 (__mul): Likewise.
21970 (__inv): Likewise.
21971 (__dvd): Likewise.
21972
f414520d
SP
21973 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21974 instead of __mul.
21975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21976 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21977 (cc32): Likewise.
21978
d6752ccd
SP
21979 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21980 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21982 of __mul for squares.
21983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21984 function
21985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21986 Likewise.
21987 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21988 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21989
70d9946a
JM
219902013-02-13 Joseph Myers <joseph@codesourcery.com>
21991
21992 [BZ #13550]
21993 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21994 code.
21995 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21996 prototype or function definition. Rename ubp_* variables and
21997 parameters. Remove argv definitions conditional on
21998 [__BOUNDED_POINTERS__].
21999 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22000 * elf/dl-runtime.c (_dl_fixup): Likewise.
22001 * include/set-hooks.h (RUN_HOOK): Likewise.
22002 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22003 definition.
22004 * string/strcpy.c (strcpy): Do not use __unbounded.
22005 * sysdeps/generic/frame.h (struct layout): Likewise.
22006 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22007 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22008 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22009 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22010 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22011 (__backtrace): Likewise.
22012 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22013 use __ptrvalue.
22014 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22015 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22016 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22017 Likewise.
22018 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22019 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22020 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22021 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22022 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22023 Do not use __unbounded.
22024 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22025 Rename __unboundedrlimits parameter to rlimits in prototype.
22026 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22027 Do not use __unbounded.
22028 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22029 not use __ptrvalue.
22030 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22031 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22032 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22033 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22034 __ptrvalue or __unbounded.
22035 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22036 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22037 use __unbounded.
22038 (__new_msgctl): Do not use __ptrvalue.
22039 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22040 __unbounded.
22041 (__libc_msgrcv): Do not use __ptrvalue.
22042 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22043 startup_info): Do not use __unbounded.
22044 (__libc_start_main): Likewise. Rename ubp_* variables and
22045 parameters. Remove argv definitions conditional on
22046 [__BOUNDED_POINTERS__].
22047 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22048 __ptrvalue.
22049 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22050 use __unbounded.
22051 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22052 or __ptrvalue.
22053 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22054 use __unbounded.
22055 (__new_shmctl): Do not use __ptrvalue.
22056 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22057 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22058 Likewise.
22059 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22061 (__libc_sigaction): Likewise.
22062 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22063 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22064 Likewise.
22065 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22066
cc7834d6
OB
220672013-02-13 Ondřej Bílka <neleai@seznam.cz>
22068
ffb1ec7b 22069 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
22070
22071 * string/mempcpy.c: Implement by calling memcpy.
22072
bdf02814
SP
220732013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22074
c2af38aa
SP
22075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22076
4e92d59e
SP
22077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22078 evaluation.
22079
909279a5
SP
22080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22081 values in the mantissa.
22082
bdf02814
SP
22083 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22084 minimize writes to Z.
22085 (sub_magnitudes): Simplify code a bit.
22086
cd525923
RM
220872013-02-12 Roland McGrath <roland@hack.frob.com>
22088
22089 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22090 from the message. The linker prefixes all warnings with that already.
22091
7e2f0d2d
AS
220922013-02-12 Andreas Schwab <schwab@suse.de>
22093
a445af0b
AS
22094 [BZ #15078]
22095 * posix/regexec.c (extend_buffers): Add parameter min_len.
22096 (check_matching): Pass minimum needed length.
22097 (clean_state_log_if_needed): Likewise.
22098 (get_subexp): Likewise.
22099 * posix/Makefile (tests): Add bug-regex34.
22100 (bug-regex34-ENV): Define.
22101 * posix/bug-regex34.c: New file.
22102
7e2f0d2d
AS
22103 [BZ #11561]
22104 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22105 elements compare against the byte sequence of it, not its name.
22106 * posix/Makefile (tests): Add bug-regex35.
22107 (bug-regex35-ENV): Define.
22108 * posix/bug-regex35.c: New file.
22109
a175b684
TV
221102013-02-11 Tom de Vries <tom@codesourcery.com>
22111
22112 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22113 comment.
22114 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22115 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22116 (CHECK_EOL): Add undef.
22117
310998fe 221182013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
22119
22120 * bits/stdlib-bsearch.h: New file.
22121 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 22122 * stdlib/stdlib.h: Likewise.
41eda41d 22123
8ded91fb
RM
221242013-02-11 Roland McGrath <roland@hack.frob.com>
22125
22126 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22127 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22128 declaration.
22129 * manual/search.texi (Array Search Function): Add missing const in
22130 lfind prototype.
22131 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22132 declaration to use rlim_t.
22133 (Basic Scheduling Functions): Remove erroneous const from
22134 sched_getparam prototype. Remove erroneous * from
22135 sched_get_priority_max and sched_get_priority_min prototypes.
22136 (Resource Usage): Fix summary @comment on vtimes to refer to
22137 sys/vtimes.h rather than vtimes.h.
22138 Add missing *s in vtimes prototype.
22139 (Limits on Resources): Fix ulimit prototype to return long int.
22140 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22141 prototypes to use long int rather than double.
22142 (BSD Random): Fix initstate and setstate to use char *, not void *.
22143 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22144 prototype to make second argument 'struct aiocb64 *const[]'.
22145 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22146 (Status of AIO Operations): Remove erroneous const in aio_return and
22147 aio_return64 prototypes.
22148 (Synchronizing I/O): Fix sync prototype to return void.
22149 * manual/startup.texi (Suboptions): Remove an erroneous const in
22150 getsubopt prototype.
22151 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22152 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22153 use size_t rather than int.
22154 (Scanning All Users): Likewise for getpwent_r.
22155 (Setting Groups): Add missing const to setgroups prototype.
22156 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22157 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22158 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22159 'const void *' rather than 'const char *'.
22160 (Host Address Functions): Likewise for inet_ntop.
22161 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22162 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22163 ssize_t for return value.
22164 (Sending Data): Likewise for send, sendto, sendmsg.
22165 (Socket Option Functions): Add a missing const in setsockopt prototype.
22166 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22167 use wchar_t for the argument.
22168 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22169 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22170 take no arguments.
22171 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22172 double/float/long double for second argument.
22173 Fix return types of significand, significandf, significandl.
22174 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22175 argument in fchmod prototype.
22176 (File Owner): Use uid_t and gid_t in fchown prototype.
22177 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22178 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22179 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22180 use 'const struct dirent **' as argument types to CMP function pointer
22181 argument.
22182 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22183 (File Times): Fix summary magic @comment for struct utimbuf and utime
22184 to refer to utime.h, not time.h.
22185 * manual/string.texi (Argz Functions): Add missing const in
22186 argz_extract and argz_next prototypes.
22187 (Finding Tokens in a String): Likewise for basename.
22188 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22189 (Copying and Concatenation): Fix typo in wmemmove prototype.
22190 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22191 (Signal Stack): Remove erroneous const in sigstack prototype.
22192 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22193 prototype.
22194 (Simple Calendar Time): Likewise for stime.
22195 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22196 prototype.
22197 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22198 say sys/sysctl.h instead.
22199 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22200 and vsyslog prototypes.
22201
fe77fe6d
TV
222022013-02-11 Tom de Vries <tom@codesourcery.com>
22203
22204 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22205 Remove.
22206
3a09b620
RM
222072013-02-11 Roland McGrath <roland@hack.frob.com>
22208
22209 * misc/sys/mman.h: Fix typo in mremap comment.
22210
550a0b89
RM
222112013-02-08 Roland McGrath <roland@hack.frob.com>
22212
22213 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22214 the '\0' terminator.
22215
a2da1673
JM
222162013-02-08 Joseph Myers <joseph@codesourcery.com>
22217
22218 [BZ #13550]
22219 * debug/segfault.c: Don't include <bp-checks.h>.
22220 * sysdeps/generic/bp-checks.h: Remove file.
22221 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22222 (__GETDENTS): Don't use CHECK_N.
22223 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22224 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22225 (__getgroups): Don't use CHECK_N.
22226 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22227 (setgroups): Don't use CHECK_N.
22228 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22229 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22230 (__libc_msgrcv): Don't use CHECK_N.
22231 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22232 (__libc_msgsnd): Don't use CHECK_N.
22233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22234 <bp-checks.h>.
22235 (__libc_pread): Don't use CHECK_N.
22236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22237 include <bp-checks.h>.
22238 (__libc_pread64): Don't use CHECK_N.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22240 include <bp-checks.h>.
22241 (__libc_pwrite): Don't use CHECK_N.
22242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22243 include <bp-checks.h>.
22244 (__libc_pwrite64): Don't use CHECK_N.
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22246 <bp-checks.h>.
22247 (__libc_pread): Don't use CHECK_N.
22248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22249 include <bp-checks.h>.
22250 (__libc_pread64): Don't use CHECK_N.
22251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22252 include <bp-checks.h>.
22253 (__libc_pwrite): Don't use CHECK_N.
22254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22255 include <bp-checks.h>.
22256 (__libc_pwrite64): Don't use CHECK_N.
22257 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22258 (do_pread): Don't use CHECK_N.
22259 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22260 (do_pread64): Don't use CHECK_N.
22261 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22262 (do_pwrite): Don't use CHECK_N.
22263 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22264 (do_pwrite64): Don't use CHECK_N.
22265 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22266 (__libc_readv): Don't use CHECK_N.
22267 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22268 (semop): Don't use CHECK_N.
22269 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22270 <bp-checks.h>.
22271 (semtimedop): Don't use CHECK_N.
22272 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22273 (__libc_pread): Don't use CHECK_N.
22274 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22275 <bp-checks.h>.
22276 (__libc_pread64): Don't use CHECK_N.
22277 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22278 <bp-checks.h>.
22279 (__libc_pwrite): Don't use CHECK_N.
22280 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22281 <bp-checks.h>.
22282 (__libc_pwrite64): Don't use CHECK_N.
22283 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22284 <bp-checks.h>.
22285 (__libc_msgrcv): Don't use CHECK_N.
22286 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22287 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22288 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22289 (__libc_writev): Don't use CHECK_N.
22290
b84660a8
RM
222912013-02-08 Roland McGrath <roland@hack.frob.com>
22292
7f3e75f8
RM
22293 * string/strcpy.c: Removed unused variable.
22294
b84660a8
RM
22295 * Makeconfig (+sysdep-includes): Define with := rather than =.
22296 Use an existing include/ subdir of each sysdeps dir before it.
22297
471514d3
CD
222982013-02-08 Carlos O'Donell <carlos@redhat.com>
22299
22300 * nscd/connection.c (register_traced_file): Comment function.
22301 [HAVE_INOTIFY] (union __inev): Define.
22302 [HAVE_INOTIFY] (inotify_check_files): New function.
22303 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22304 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22305 clear_db_cache.
22306 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22307
b2d3c3be
CD
223082013-02-08 Carlos O'Donell <carlos@redhat.com>
22309
22310 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22311 loaded if not already and that a failure is permanent.
22312
b39949d2
CD
223132013-02-08 Carlos O'Donell <carlos@redhat.com>
22314
ddacd1db 22315 [BZ #15006]
b39949d2
CD
22316 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22317 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22318
b2c9eff4
JM
223192013-02-08 Joseph Myers <joseph@codesourcery.com>
22320
f3aae3f3
JM
22321 [BZ #13550]
22322 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22323 (CHECK_1_NULL_OK): Likewise.
22324 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22325 (__fxstat): Do not use CHECK_1.
22326 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22327 <bp-checks.h>.
22328 (___fxstat64): Do not use CHECK_1.
22329 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22330 <bp-checks.h>.
22331 (__fxstatat): Do not use CHECK_1.
22332 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22333 <bp-checks.h>.
22334 (__fxstatat64): Do not use CHECK_1.
22335 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22336 <bp-checks.h>.
22337 (__fxstat): Do not use CHECK_1.
22338 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22339 <bp-checks.h>.
22340 (__fxstatat): Do not use CHECK_1.
22341 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22342 <bp-checks.h>.
22343 (__getresgid): Do not use CHECK_1.
22344 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22345 <bp-checks.h>.
22346 (__getresuid): Do not use CHECK_1.
22347 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22348 <bp-checks.h>.
22349 (__lxstat): Do not use CHECK_1.
22350 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22351 <bp-checks.h>.
22352 (__old_msgctl): Do not use CHECK_1.
22353 (__new_msgctl): Likewise.
22354 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22355 <bp-checks.h>.
22356 (__new_setrlimit): Do not use CHECK_1.
22357 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22358 <bp-checks.h>.
22359 (__old_shmctl): Do not use CHECK_1.
22360 (__new_shmctl): Likewise.
22361 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22362 <bp-checks.h>.
22363 (__xstat): Do not use CHECK_1.
22364 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22365 (__lxstat): Do not use CHECK_1.
22366 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22367 <bp-checks.h>.
22368 (___lxstat64): Do not use CHECK_1.
22369 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22370 (__old_msgctl): Do not use CHECK_1.
22371 (__new_msgctl): Likewise.
22372 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22373 <bp-checks.h>.
22374 (__gettimeofday): Do not use CHECK_1.
22375 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22376 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22377 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22378 <bp-checks.h>.
22379 (__gettimeofday): Do not use CHECK_1.
22380 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22381 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22382 (__new_shmctl): Do not use CHECK_1.
22383 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22384 <bp-checks.h>.
22385 (do_sigtimedwait): Do not use CHECK_1.
22386 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22387 <bp-checks.h>.
22388 (do_sigwaitinfo): Do not use CHECK_1.
22389 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22390 <bp-checks.h>.
22391 (msgctl): Do not use CHECK_1.
22392 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22393 <bp-checks.h>.
22394 (shmctl): Do not use CHECK_1.
22395 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22396 (ustat): Do not use CHECK_1.
22397 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22398 <bp-checks.h>.
22399 (__fxstat): Do not use CHECK_1.
22400 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22401 <bp-checks.h>.
22402 (__fxstatat): Do not use CHECK_1.
22403 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22404 <bp-checks.h>.
22405 (__lxstat): Do not use CHECK_1.
22406 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22407 <bp-checks.h>.
22408 (__xstat): Do not use CHECK_1.
22409 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22410 (__xstat): Do not use CHECK_1.
22411 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22412 (___xstat64): Do not use CHECK_1.
22413
b2c9eff4
JM
22414 [BZ #13550]
22415 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22416 definitions.
22417 (CHECK_BOUNDS_HIGH): Likewise.
22418 * string/strcpy.c: Do not include <bp-checks.h>.
22419 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22420
f1d70dad
RM
224212013-02-07 Roland McGrath <roland@hack.frob.com>
22422
22423 * nscd/nscd-client.h (__nscd_drop_map_ref):
22424 Add __attribute__ ((unused)).
22425 * nis/nss-nisplus.h (niserr2nss): Likewise.
22426
22427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22428 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22429
22430 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22431 Remove inline keyword.
22432 * include/rounding-mode.h (round_away): Likewise.
22433 * libio/wfileops.c (adjust_wide_data): Likewise.
22434 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22435 (__m128i_strloadu_tolower): Likewise.
22436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22437 (__m128i_strloadu_tolower): Likewise.
22438 * time/mktime.c (ydhms_diff): Likewise.
22439 * locale/elem-hash.h (elem_hash): Likewise.
22440 * locale/setlocale.c (setdata): Likewise.
22441 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22442 (re_string_wchar_at): Likewise.
22443 (bitset_not, bitset_merge, bitset_mask): Likewise.
22444 [!(__GNUC__ > 3)] (inline): Remove macro.
22445 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22446 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22447 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22448 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22449 * string/memcmp.c (memcmp_bytes): Likewise.
22450 * locale/programs/locarchive.c (compute_hashval): Likewise.
22451 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22452 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22453 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22454 * nss/getent.c (print_rpc, print_protocols): Likewise.
22455 (print_passwd, print_group, print_aliases): Likewise.
22456 * nis/nss-nisplus.h (niserr2nss): Likewise.
22457 * nscd/connections.c (restart_p): Likewise.
22458 Change return type to bool.
22459
eab55bfb
RM
224602013-02-05 Roland McGrath <roland@hack.frob.com>
22461
7bd642f5
RM
22462 * Makeconfig (all-Depend-files): Add existing
22463 $(sorted-subdirs:=/Depend) files.
22464 (all-subdirs): Remove nss.
22465 * sysdeps/unix/inet/Subdirs: Add it here instead.
22466 * hesiod/Depend: New file.
22467
573c29b2
RM
22468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22469 instead of calling alloca.
22470
b2e25af0
RM
22471 * io/lseek.c (__lseek): Rename to __libc_lseek.
22472 Define __lseek as an alias.
22473
eab55bfb
RM
22474 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22475
9a0d1941
CD
224762013-02-04 Carlos O'Donell <carlos@redhat.com>
22477
22478 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22479 else clause and remove check for non-standard endianness.
22480
b83bbec4
DM
224812013-02-04 David S. Miller <davem@davemloft.net>
22482
22483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22484
6277fdab
JM
224852013-02-04 Joseph Myers <joseph@codesourcery.com>
22486
22487 [BZ #13550]
22488 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22489 (__ubp_memchr): Remove prototype.
22490 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22491 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22492 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22493 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22494 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22495 Remove alias.
22496 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22497 (__ubp_memchr): Likewise.
22498 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22499 (__ubp_memchr): Likewise.
22500 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22501 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22502 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22503 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22504 CHECK_STRING.
22505 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22506 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22507 (__getcwd): Do not use CHECK_STRING.
22508 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22509 <bp-checks.h>.
22510 (__real_chown): Do not use CHECK_STRING.
22511 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22512 <bp-checks.h>.
22513 (fchownat): Do not use CHECK_STRING.
22514 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22515 CHECK_STRING.
22516 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22517 <bp-checks.h>.
22518 (__lchown): Do not use CHECK_STRING.
22519 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22520 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22521 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22522 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22524 include <bp-checks.h>.
22525 (truncate64): Do not use CHECK_STRING.
22526 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22527 <bp-checks.h>.
22528 (__real_chown): Do not use CHECK_STRING.
22529 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22530 <bp-checks.h>.
22531 (__lchown): Do not use CHECK_STRING.
22532 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22533 <bp-checks.h>.
22534 (__chown): Do not use CHECK_STRING.
22535 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22536 <bp-checks.h>.
22537 (truncate64): Do not use CHECK_STRING.
22538 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22539 Likewise.
22540 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22541 (__xmknod): Do not use CHECK_STRING.
22542 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22543 <bp-checks.h>.
22544 (__xmknodat): Do not use CHECK_STRING.
22545 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22546 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22547
903ae060
AS
225482013-02-04 Andreas Schwab <schwab@suse.de>
22549
22550 [BZ #14142]
22551 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22552 * include/netdb.h: Likewise for h_errno.
22553 * elf/tst-stackguard1.c: Include <tls.h>.
22554
542f9466
JK
225552013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22556
22557 * elf/link.h (struct link_map): Extend the l_addr comment.
22558 * include/link.h (struct link_map): Likewise.
22559
e782a927
JM
225602013-02-01 Joseph Myers <joseph@codesourcery.com>
22561
22562 [BZ #13550]
22563 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22564 (BOUNDED_1): Remove macro.
22565 * debug/backtrace.c: Don't include <bp-checks.h>.
22566 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22567 (__backtrace): Likewise.
22568 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22569 <bp-checks.h>.
22570 (__backtrace): Don't use BOUNDED_1.
22571 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22572 <bp-checks.h>.
22573 (__backtrace): Don't use BOUNDED_1.
22574 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22575 (__backtrace): Don't use BOUNDED_1.
22576 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22577 (shmat): Don't use BOUNDED_N.
22578
8cf28c5e
JM
225792013-01-31 Joseph Myers <joseph@codesourcery.com>
22580
3a7ac8a0
JM
22581 [BZ #13550]
22582 * sysdeps/generic/bp-start.h: Remove file.
22583 * csu/libc-start.c: Don't include <bp-start.h>.
22584 (LIBC_START_MAIN): Set up __environ directly instead of using
22585 INIT_ARGV_and_ENVIRON.
22586 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22587 <bp-start.h>.
22588
f3499f95
JM
22589 [BZ #13550]
22590 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22591 definitions.
22592 (CHECK_FCNTL): Likewise.
22593 (CHECK_N_PAGES): Likewise.
22594
32a45bea
JM
22595 [BZ #13550]
22596 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22597 definitions.
22598 (CHECK_SIGSET_NULL_OK): Likewise.
22599 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22600 <bp-checks.h>.
22601 (sigpending): Don't use CHECK_SIGSET.
22602 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22603 <bp-checks.h>.
22604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22605 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22606 <bp-checks.h>.
22607 (do_sigsuspend): Don't use CHECK_SIGSET.
22608 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22609 use CHECK_SIGSET.
22610 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22611 (do_sigwait): Don't use CHECK_SIGSET.
22612 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22613 use CHECK_SIGSET.
22614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22615 include <bp-checks.h>.
22616 (sigpending): Don't use CHECK_SIGSET.
22617 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22618 include <bp-checks.h>.
22619 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22620 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22621 <bp-checks.h>.
22622 (sigpending): Don't use CHECK_SIGSET.
22623 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22624 <bp-checks.h>.
22625 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22626
2e8a5c8c
JM
22627 [BZ #13550]
22628 * sysdeps/generic/bp-semctl.h: Remove file.
22629 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22630 <bp-checks.h> and <bp-semctl.h>.
22631 (__old_semctl): Don't use CHECK_SEMCTL.
22632 (__new_semctl): Likewise.
22633 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22634 and <bp-semctl.h>.
22635 (__old_semctl): Don't use CHECK_SEMCTL.
22636 (__new_semctl): Likewise.
22637 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22638 <bp-checks.h> and <bp-semctl.h>.
22639 (__old_semctl): Don't use CHECK_SEMCTL.
22640 (__new_semctl): Likewise.
22641 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22642 <bp-checks.h> and <bp-semctl.h>.
22643 (semctl): Don't use CHECK_SEMCTL.
22644
c2d54929
JM
22645 [BZ #13550]
22646 * Makerules (elide-bp-thunks): Remove variable.
22647 (elide-routines.oS): Don't use $(elide-bp-thunks).
22648 (elide-routines.os): Likewise.
22649 (elide-routines.o): Likewise.
22650 (elide-routines.op): Likewise.
22651 (elide-routines.og): Likewise.
22652 (objects): Don't use $(bp-thunks).
22653 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22654 include.
22655 (common-generated): Do not add s-proto-bp.d.
22656 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22657 (int): Likewise.
22658 (typ): Likewise.
22659 Do not generate makefile rules for bounded-pointer thunks.
22660 * sysdeps/generic/bp-thunks.h: Remove file.
22661 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22662 * sysdeps/unix/s-proto-bp.S: Likewise.
22663
8cf28c5e
JM
22664 [BZ #15062]
22665 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22666 parts of result separately when argument is not close to line from
22667 -i to i and one part of argument is small.
22668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22670 * math/libm-test.inc (cacos_test): Add more tests.
22671 (casin_test): Likewise.
22672 (casinh_test): Likewise.
22673 * sysdeps/i386/fpu/libm-test-ulps: Update.
22674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22675
c4e33b8d
DM
226762013-01-31 David S. Miller <davem@davemloft.net>
22677
22678 * po/de.po: Update from translation team.
22679
3b60b421
MK
226802013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22681
22682 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22683
bb931195
TS
226842013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22685
b5a5da23
TS
22686 * configure.in (_AC_PROG_CC_C89): New definition.
22687 * configure: Regenerate.
22688
bb931195
TS
22689 * configure.in (AC_PROG_CPP): New definition.
22690 * configure: Regenerate.
22691
8c53a12c
JM
226922013-01-23 Joseph Myers <joseph@codesourcery.com>
22693
22694 * debug/tst-backtrace.h: New file.
22695 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22696 (ret): Remove variable.
22697 (x): Likewise.
22698 (FAIL): Remove macro.
22699 (NO_INLINE): Likewise.
22700 (fn1): Use match function instead of strstr.
22701 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22702 (ret): Remove variable.
22703 (x): Likewise.
22704 (FAIL): Remove macro.
22705 (NO_INLINE): Likewise.
22706 (fn): Use match function instead of strstr.
22707 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22708 (ret): Remove variable.
22709 (x): Likewise.
22710 (FAIL): Remove macro.
22711 (NO_INLINE): Likewise.
22712 (handle_signal): Use match function instead of strstr.
22713 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22714 (ret): Remove variable.
22715 (x): Likewise.
22716 (FAIL): Remove macro.
22717 (NO_INLINE): Likewise.
22718 (handle_signal): Use match function instead of strstr.
22719
4858fa2a
RM
227202013-01-23 Roland McGrath <roland@hack.frob.com>
22721
22722 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22723
bae8e7f5
DM
227242013-01-23 David S. Miller <davem@davemloft.net>
22725
22726 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22727 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22728 argument of CAS if possible.
22729 * sysdeps/sparc/sparc64/bits/atomic.h
22730 (__arch_compare_and_exchange_val_32_acq): Likewise.
22731 (__arch_compare_and_exchange_val_64_acq): Likewise.
22732
9cbbc4ae
PT
227332013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22734
22735 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22736 * sysdeps/posix/ulimit.c: ... this.
92a601b8 22737 Include <limits.h>.
67b3f58c 22738 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 22739
5655a0b5
AC
227402013-01-23 Adam Conrad <adconrad@0c3.net>
22741
22742 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22743 (LDFLAGS-tst-array5): Likewise.
22744
052aff95
JM
227452013-01-23 Joseph Myers <joseph@codesourcery.com>
22746
22747 [BZ #15036]
22748 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22749 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22750 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22751 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22752
7c1e01aa
DM
227532013-01-21 David S. Miller <davem@davemloft.net>
22754
22755 * sysdeps/sparc/backtrace.c: New file.
22756 * sysdeps/sparc/sparc32/backtrace.h: New file.
22757 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22758 * sysdeps/sparc/sparc64/backtrace.h: New file.
22759 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22760 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22761 -funwind-tables.
22762
ab087e0a
AS
227632013-01-21 Andreas Schwab <schwab@suse.de>
22764
22765 [BZ #15020]
22766 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22767 closed its stdout.
22768
ed689c2f
AS
227692013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22770
22771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22772 "mpa2.h".
22773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22774
31d470ac
JM
227752013-01-18 Joseph Myers <joseph@codesourcery.com>
22776 Mark Mitchell <mark@codesourcery.com>
22777 Tom de Vries <tom@codesourcery.com>
22778 Paul Pluzhnikov <ppluzhnikov@google.com>
22779
22780 * debug/tst-backtrace2.c: New file.
22781 * debug/tst-backtrace3.c: Likewise.
22782 * debug/tst-backtrace4.c: Likewise.
22783 * debug/tst-backtrace5.c: Likewise.
22784 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22785 (CFLAGS-tst-backtrace3.c): Likewise.
22786 (CFLAGS-tst-backtrace4.c): Likewise.
22787 (CFLAGS-tst-backtrace5.c): Likewise.
22788 (LDFLAGS-tst-backtrace2): Likewise.
22789 (LDFLAGS-tst-backtrace3): Likewise.
22790 (LDFLAGS-tst-backtrace4): Likewise.
22791 (LDFLAGS-tst-backtrace5): Likewise.
22792 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22793 tst-backtrace4 and tst-backtrace5.
22794
90567f30 227952013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
22796 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22797
22798 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22799 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22801 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22803 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22804 "+r" and remove output regs list as redundant. Add explicit inline
22805 asm to specify register of return val to work around compiler codegen
22806 bug. Remove (int) cast on return value. Add return type parameter to
22807 use in macro so that this macro does not truncate return value for
22808 64-bit values.
22809 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22810 pass to INTERNAL_VSYSCALL_NCS.
22811 (INLINE_VSYSCALL): Add 'long int' as return type to
22812 INTERNAL_VSYSCALL_NCS macro invocation.
22813 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22814 INTERNAL_VSYSCALL_NCS macro invocation.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22816
d3b9ea61
SP
228172013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22818
0b57daeb
SP
22819 [BZ #14496]
22820 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22821 Fix application of SIMD FP exception mask.
22822
caa99d06
SP
22823 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22824 mp_no from a power of two.
22825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22826 __mpexp_twomm1. Use __pow_mp.
22827
d3b9ea61
SP
22828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22829 multiplication.
22830
1dbaee3c
DM
228312013-01-17 David S. Miller <davem@davemloft.net>
22832
22833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22834
728d7b43
JM
228352013-01-17 Joseph Myers <joseph@codesourcery.com>
22836
22837 [BZ #15023]
22838 * include/complex.h: Condition contents on [!_COMPLEX_H].
22839 (__kernel_casinhf): New prototype.
22840 (__kernel_casinh): Likewise.
22841 (__kernel_casinhl): Likewise.
22842 * math/Makefile (libm_calls): Add k_casinh.
22843 * math/k_casinh.c: New file.
22844 * math/k_casinhf.c: Likewise.
22845 * math/k_casinhl.c: Likewise.
22846 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22847 finite nonzero arguments.
22848 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22849 finite nonzero arguments.
22850 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22851 finite nonzero arguments.
22852 * math/s_casinh.c: Do not include <float.h>.
22853 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22854 * math/s_casinhf.c: Do not include <float.h>.
22855 (__casinhf): Move code for finite nonzero arguments to
22856 k_casinhf.c.
22857 * math/s_casinhl.c: Do not include <float.h>.
22858 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22859 redefine.
22860 (__casinhl): Move code for finite nonzero arguments to
22861 k_casinhl.c.
22862 * math/libm-test.inc (cacos_test): Add more tests.
22863 * sysdeps/i386/fpu/libm-test-ulps: Update.
22864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22865
2a26ef3a
PT
228662013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22867
22868 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22869 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22870 [!HAVE_MREMAP]: Remove [defined linux] case.
22871 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22872
a897655d
SP
228732013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22874
22875 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22876
881ebe89 228772013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
22878
22879 * elf/elf.h (R_386_SIZE32): New relocation.
22880 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22881 R_386_SIZE32.
22882 (elf_machine_rela): Likewise.
22883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22884 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22885
59981e9b
JM
228862013-01-17 Joseph Myers <joseph@codesourcery.com>
22887
22888 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22889 (FP_FAST_FMA): Do not define.
22890 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22891 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22892 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22893 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22894 !_SOFT_FLOAT]: Likewise.
22895 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22897 value.
22898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22899 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22900 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22901 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22902 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22903 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22904 file.
22905
cfa8054f
AS
229062013-01-16 Andreas Schwab <schwab@suse.de>
22907
22908 [BZ #14327]
22909 * include/stdlib.h (__mktemp): Add declaration.
22910 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22911 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22912
dd930cc5
SP
229132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22914
881ebe89
SP
22915 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22916 definitions.
22917 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22918 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22919 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22920 definitions here.
22921 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22922 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22923 definitions.
22924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22925 and ONE.
22926 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22927 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22928 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22929 definitions.
22930 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22931 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22932 definitions.
22933 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 22934
dd930cc5
SP
22935 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22936
c19a9f89
DM
229372013-01-15 David S. Miller <davem@davemloft.net>
22938
1aa61767
DM
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22940 trunc{,f} to libm-sysdep_routes.
22941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22943 file.
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22946 file.
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22948 file.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22951 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22952 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22953 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22954 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22955 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22956 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22957
c42d5e98
DM
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22959 nearbyint{,f} to libm-sysdep_routes.
22960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22962 New file.
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22964 file.
22965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22966 New file.
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22968 file.
22969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22972 file.
22973 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22975 file.
22976 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22977 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22978 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22979
c19a9f89
DM
22980 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22981 libc_feholdexcept and libc_fesetenv.
22982
357679d2
MF
229832013-01-15 Mike Frysinger <vapier@gentoo.org>
22984
22985 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22986
65a82e3d
DM
229872013-01-14 David S. Miller <davem@davemloft.net>
22988
8b954ab9
DM
22989 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22990 (SPARC_ASM_VIS2_IFUNC): Likewise.
22991 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22993 use of 'siam' instruction.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22995 Likewise.
22996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22997 Likewise.
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22999 Likewise.
23000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23005 file.
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23007 file.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23009 file.
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23011 file.
23012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23017 new VIS2 routines.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23021 Likewise.
23022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23027 routines to libm-sysdep_routines.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23029
65a82e3d
DM
23030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23031 fdim/fdimf to libm-sysdep_routines.
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23033 file.
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23036 file.
23037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23040 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23041 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23043 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23044
e34ab705
SP
230452013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23046
2a91b573
SP
23047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23048 to optimize copies.
23049
1066a534
SP
23050 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23053
e34ab705
SP
23054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23055 local variable MPTWO.
23056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23057 Likewise.
23058
aba5e596
MF
230592013-01-13 Mike Frysinger <vapier@gentoo.org>
23060
23061 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23062 GLOB_NOESCAPE.
23063
e557e9e5
MF
230642013-01-13 Mike Frysinger <vapier@gentoo.org>
23065
23066 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23067
0428cec9
MF
230682013-01-13 Mike Frysinger <vapier@gentoo.org>
23069
23070 * manual/pattern.texi (glob_t): Document gl_flags.
23071 (glob64_t): Likewise.
23072
8794a964
DM
230732013-01-11 David S. Miller <davem@davemloft.net>
23074
66438c3f
RM
23075 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23076 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23077 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
23078 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23079 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23080 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23081 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23082 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23083 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23084 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23085 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23086 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23087 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23088
4ae4244d
DM
23089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23090 sparc V9 rather than using V8 code.
23091 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23092 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23093
8794a964
DM
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23095 Move to...
23096 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23097 Here.
23098
6270516e
RM
230992013-01-11 Roland McGrath <roland@hack.frob.com>
23100
23101 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23102 not in the main loop.
23103 * configure: Regenerated.
23104
6a57d931
JM
231052013-01-11 Joseph Myers <joseph@codesourcery.com>
23106
23107 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23108 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23109 to just #else.
23110 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23111 [!__GLIBC_HAVE_LONG_LONG] case.
23112 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23113 condition to just #else.
23114 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23115 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23116 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23117 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23118 unconditional.
23119 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23120 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23121 #elif condition to just #else.
23122 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23123 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23124 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23125 #elif condition to just #else.
23126
0e8529e9
SE
231272013-01-11 Steve Ellcey <sellcey@mips.com>
23128
23129 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23130 (EF_MIPS_ARCH_64): Fix value.
23131 (EF_MIPS_ARCH_32R2): New.
23132 (EF_MIPS_ARCH_64R2): New.
23133
740b3dbe
L
231342013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23135
23136 * Makeconfig (+link-pie-before-libc): New.
23137 (+link-pie-after-libc): Likewise.
23138 (+link-pie-tests): Likewise.
23139 (+link-pie): Rewritten.
23140 (link-before-libc): Remove $(config-LDFLAGS).
23141 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23142 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23143 (config-LDFLAGS): Renamed to ...
23144 (rtld-LDFLAGS): This.
23145 (rtld-tests-LDFLAGS): New macro.
23146 (link-libc-rpath-link): Likewise.
23147 (link-libc-tests-rpath-link): Likewise.
23148 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23149 (link-libc): Prepand $(link-libc-rpath-link).
23150 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23151 (test-program-prefix): New macro.
23152 (test-via-rtld-prefix): Likewise.
23153 (test-program-cmd): Likewise.
23154 (host-test-program-cmd): Likewise.
23155 * Makefile ($(common-objpfx)testrun.sh): Replace
23156 $(run-program-prefix) with $(test-program-prefix).
23157 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23158 $(rtld-LDFLAGS).
23159 ($(common-objpfx)shlib.lds): Likewise.
23160 (build-module-helper): Likewise.
23161 ($(common-objpfx)format.lds): Likewise.
23162 * Rules (binaries-pie-tests): New.
23163 (binaries-pie-notests): Likewise.
23164 (binaries-pie): Rewritten.
23165 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23166 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23167 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23168 (make-test-out): Replace $(host-built-program-cmd) with
23169 $(host-test-program-cmd).
23170 * config.make.in (build-hardcoded-path-in-tests): New variable.
23171 * configure.in (--enable-hardcoded-path-in-tests): New configure
23172 option.
23173 (hardcoded_path_in_tests): New AC_SUBST.
23174 * configure: Regenerated.
23175 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23176 $(built-program-cmd) with $(test-program-cmd).
23177 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23178 (test_program_cmd): This.
23179 * elf/Makefile ($(objpfx)order.out): Run test with
23180 $(test-program-prefix).
23181 ($(objpfx)order2.out): Likewise.
23182 ($(objpfx)tst-initorder.out): Likewise.
23183 ($(objpfx)tst-initorder2.out): Likewise.
23184 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23185 $(test-program-cmd).
23186 ($(objpfx)tst-array1-static.out): Likewise.
23187 ($(objpfx)tst-array2.out): Likewise.
23188 ($(objpfx)tst-array3.out): Likewise.
23189 ($(objpfx)tst-array4.out): Likewise.
23190 ($(objpfx)tst-array5.out): Likewise.
23191 ($(objpfx)tst-array5-static.out): Likewise.
23192 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23193 $(test-program-cmd).
23194 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23195 $(run-program-prefix) with $(test-program-prefix).
23196 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23197 (test_program_prefix): This.
23198 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23199 $(run-program-prefix) with $(test-program-prefix).
23200 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23201 (test_program_prefix): This.
23202 * iconvdata/tst-tables.sh: Likewise.
23203 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23204 $(run-program-prefix) with $(test-program-prefix).
23205 ($(objpfx)tst-translit.out): Likewise.
23206 ($(objpfx)tst-gettext2.out): Likewise.
23207 ($(objpfx)tst-gettext4.out): Likewise.
23208 ($(objpfx)tst-gettext6.out): Likewise.
23209 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23210 (test_program_prefix): This.
23211 * intl/tst-gettext2.sh: Likewise.
23212 * intl/tst-gettext4.sh Likewise.
23213 * intl/tst-gettext6.sh: Likewise.
23214 * intl/tst-translit.sh: Likewise.
23215 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23216 with $(test-program-cmd).
23217 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23218 $(run-program-prefix) with $(test-program-prefix).
23219 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23220 (test_program_prefix): This.
23221 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23222 $(run-program-prefix) with $(test-program-prefix).
23223 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23224 (test_program_prefix): This.
23225 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23226 * posix/Makefile ($(objpfx)globtest.out): Replace
23227 $(run-via-rtld-prefix) and $(test-wrapper) with
23228 $(test-program-prefix) and $(test-via-rtld-prefix).
23229 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23230 $(test-program-prefix).
23231 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23232 $(host-test-program-cmd).
23233 (tst-spawn-ARGS): Likewise.
23234 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23235 $(test-program-prefix).
23236 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23237 (test_via_rtld_prefix): This.
23238 (test_wrapper): Renamed to ...
23239 (test_program_prefix): This.
23240 (run_program_prefix): Replaced by test_program_prefix.
23241 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23242 (test_program_prefix): This.
23243 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23244 with $(host-test-program-cmd).
23245 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23246 $(run-program-prefix) with $(test-program-prefix).
23247 ($(objpfx)tst-printf.out): Likewise.
23248 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23249 $(test-program-cmd).
23250 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23251 (test_program_prefix): This.
23252 * stdio-common/tst-unbputc.sh: Likewise.
23253 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23254 $(run-program-prefix) with $(test-program-prefix).
23255 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23256 (test_program_prefix): This.
23257 * string/Makefile ($(objpfx)tst-svc.out): Replace
23258 $(built-program-cmd) with $(test-program-cmd).
23259
c6fe55cf
AJ
232602013-01-11 Andreas Jaeger <aj@suse.de>
23261
23262 [BZ #15003]
23263 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23264 value. Sync with Linux 3.7.
23265
9e6919c8
DM
232662013-01-10 David S. Miller <davem@davemloft.net>
23267
23268 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23269 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23270 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23271
1c9f1a02
RM
232722013-01-10 Roland McGrath <roland@hack.frob.com>
23273
23274 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23275 never set.
23276 * configure: Regenerated.
23277
b9de2dde
DM
232782013-01-10 David S. Miller <davem@davemloft.net>
23279
23280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23281 sparc V9 rather than using V8 code.
23282 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23283 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23284
e7f68ef4
RM
232852013-01-10 Roland McGrath <roland@hack.frob.com>
23286
23287 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23288 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23289 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23290 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23291 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23292 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23293 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23294 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23295 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23296 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23297 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23298 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23299 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23300 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23301 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23302 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23303 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23304 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23305 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23306 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23307 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23308 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23309 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23310 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23311 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23312 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23313 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23314
5a47cc9c
DM
233152013-01-10 David S. Miller <davem@davemloft.net>
23316
23317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23318
4cf8f209
L
233192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23320
23321 * posix/Makefile (tests-static): New variable.
23322 (tests): Add $(tests-static).
23323 (tst-exec-static-ARGS): New variable.
23324 (tst-spawn-static-ARGS): Likewise.
23325 * posix/tst-exec-static.c: New file.
23326 * posix/tst-spawn-static.c: Likewise.
23327 * posix/tst-exec.c: Support run directly.
23328 * posix/tst-spawn.c: Likewise.
23329
fed0faa1
JM
233302013-01-10 Joseph Myers <joseph@codesourcery.com>
23331
828beb13
JM
23332 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23333 long.
23334 * math/bits/mathcalls.h (llrint): Likewise.
23335 (llround): Likewise.
23336 * stdlib/stdlib.h (struct drand48_data): Likewise.
23337 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23338 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23339 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23340 Likewise.
23341 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23342 Likewise.
23343 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23344 (elf_greg_t): Likewise.
23345 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23346 (__jmp_buf): Likewise.
23347 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23348 definitions.
23349 (llrint): Likewise, for all definitions.
23350 (llrintl): Likewise.
23351
fed0faa1
JM
23352 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23353 Remove [__GNUC__] condition.
23354 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23355 condition to just [__USE_ISOC99].
23356 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23357
1a20cb20
L
233582013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23359
23360 [BZ #14200]
23361 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23362 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23363 defined.
23364 (_POSIX_V6_ILP32_OFF32): Likewise.
23365 (_XBS5_ILP32_OFF32): Likewise.
23366 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23367 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23368
751b85f7
SP
233692013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23370
7490eb81
SP
23371 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23372
751b85f7
SP
23373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23374 doubles __mpexp_twomm1. Adjust usage.
23375 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23376 Remove.
23377
988197f0
AS
233782013-01-10 Andreas Schwab <schwab@suse.de>
23379
23380 [BZ #14964]
23381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23382 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23383
e83d7298
DM
233842013-01-09 David S. Miller <davem@davemloft.net>
23385
034ed64b 23386 [BZ #15003]
57f41c40
AS
23387 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23388 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23389 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23390 (TCP_FASTOPEN): Define.
e83d7298
DM
23391 (tcp_repair_opt): New structure.
23392 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23393 enum values.
57f41c40
AS
23394 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23395 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23396 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
23397 (tcp_cookie_transactions): New structure.
23398
d5e0b9bd
AB
233992013-01-09 Anton Blanchard <anton@samba.org>
23400
23401 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23402 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23405
0c07e3ea
JM
234062013-01-09 Joseph Myers <joseph@codesourcery.com>
23407
23408 * include/features.h (__USE_ANSI): Remove.
23409
232f7002
RM
234102013-01-09 Roland McGrath <roland@hack.frob.com>
23411
ad98e30c
RM
23412 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23413
232f7002
RM
23414 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23415
950c99ca
SP
234162013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23417
b5792741
SP
23418 * sysdeps/s390/fpu/libm-test-ulps: Update.
23419
47cf2278
SP
23420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23421
950c99ca
SP
23422 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23423 (__acr): Likewise.
23424 (__cpy): Likewise.
23425 (norm): Likewise.
23426 (denorm): Likewise.
23427 (__mp_dbl): Likewise.
23428 (__dbl_mp): Likewise.
23429 (add_magnitudes): Likewise.
23430 (sub_magnitudes): Likewise.
23431 (__add): Likewise.
23432 (__sub): Likewise.
23433 (__mul): Likewise.
23434 (__inv): Likewise.
23435 (__dvd): Likewise.
23436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23437 (__acr): Likewise.
23438 (__cpy): Likewise.
23439 (norm): Likewise.
23440 (denorm): Likewise.
23441 (__mp_dbl): Likewise.
23442 (__dbl_mp): Likewise.
23443 (add_magnitudes): Likewise.
23444 (sub_magnitudes): Likewise.
23445 (__add): Likewise.
23446 (__sub): Likewise.
23447 (__mul): Likewise.
23448 (__inv): Likewise.
23449 (__dvd): Likewise.
23450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23451 (__acr): Likewise.
23452 (__cpy): Likewise.
23453 (norm): Likewise.
23454 (denorm): Likewise.
23455 (__mp_dbl): Likewise.
23456 (__dbl_mp): Likewise.
23457 (add_magnitudes): Likewise.
23458 (sub_magnitudes): Likewise.
23459 (__add): Likewise.
23460 (__sub): Likewise.
23461 (__mul): Likewise.
23462 (__inv): Likewise.
23463 (__dvd): Likewise.
23464
eede9df9
JM
234652013-01-08 Joseph Myers <joseph@codesourcery.com>
23466
23467 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23468 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23469 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23470 2 && __USE_EXTERN_INLINES]: Likewise.
23471
c40ea3d9
AJ
234722013-01-08 Andreas Jaeger <aj@suse.de>
23473
23474 [BZ# 14985]
23475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23476 Remove.
23477 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23478 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23479
2ccdea26
AB
234802013-01-07 Anton Blanchard <anton@samba.org>
23481
23482 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23483 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23484 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23485 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23486 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23487 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23488 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23489 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23492 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23494 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23496 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23499 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23500 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23501 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23502 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23504 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23505 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23506 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23507 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23508 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23509 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23511 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23512 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23514 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23515 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23516 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23518 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23519 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23521 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23522 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23524 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23525
a9708fed
JM
235262013-01-07 Joseph Myers <joseph@codesourcery.com>
23527
375607b9
JM
23528 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23529 (__MALLOC_PMT): Likewise.
23530 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23531 [__GNUC__], only on [_LIBC].
23532 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23533 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23534 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23535 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23536 forward declaration.
23537 (realloc_hook_ini): Likewise.
23538 (memalign_hook_ini): Likewise.
23539 (__libc_memalign): Do not use __MALLOC_PMT in variable
23540 declaration.
23541 (__libc_valloc): Likewise.
23542 (__libc_pvalloc): Likewise.
23543 (__libc_calloc): Likewise.
23544 (__posix_memalign): Likewise.
23545
a9708fed
JM
23546 [BZ #14996]
23547 * math/s_casinh.c: Include <float.h>.
23548 (__casinh): Do not do computation with squaring and square root
23549 for large arguments.
23550 * math/s_casinhf.c: Include <float.h>.
23551 (__casinhf): Do not do computation with squaring and square root
23552 for large arguments.
23553 * math/s_casinhl.c: Include <float.h>.
23554 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23555 (__casinhl): Do not do computation with squaring and square root
23556 for large arguments.
23557 * math/libm-test.inc (casin_test): Add more tests.
23558 (casinh_test): Likewise.
23559 * sysdeps/i386/fpu/libm-test-ulps: Update.
23560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23561
afec409a
L
235622013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23563
23564 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23565 (__x86_64_raw_data_cache_size): Likewise.
23566 (__x86_64_data_cache_size_half): Likewise.
23567 (__x86_64_raw_data_cache_size_half): Likewise.
23568 (__x86_64_shared_cache_size): Likewise.
23569 (__x86_64_raw_shared_cache_size): Likewise.
23570 (__x86_64_shared_cache_size_half): Likewise.
23571 (__x86_64_raw_shared_cache_size_half): Likewise.
23572 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23573 to ...
23574 (__x86_data_cache_size): This.
23575 (__x86_64_raw_data_cache_size): Renamed to ...
23576 (__x86_raw_data_cache_size): This.
23577 (__x86_64_data_cache_size_half): Renamed to ...
23578 (__x86_data_cache_size_half): This.
23579 (__x86_64_raw_data_cache_size_half): Renamed to ...
23580 (__x86_raw_data_cache_size_half): This.
23581 (__x86_64_shared_cache_size): Renamed to ...
23582 (__x86_shared_cache_size): This.
23583 (__x86_64_raw_shared_cache_size): Renamed to ...
23584 (__x86_raw_shared_cache_size): This.
23585 (__x86_64_shared_cache_size_half): Renamed to ...
23586 (__x86_shared_cache_size_half): This.
23587 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23588 (__x86_raw_shared_cache_size_half): This.
23589 * sysdeps/x86_64/memcpy.S: Updated.
23590 * sysdeps/x86_64/memset.S: Likewise.
23591 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23594
0b3986d0
DM
235952013-01-04 David S. Miller <davem@davemloft.net>
23596
23597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23598
e47686e9
AS
235992013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23600
d643bac1
AS
23601 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23602 1 to avoid redefinition warning.
23603 (__USE_GNU): Don't define.
23604 (init_signaling_nan): Protoize.
23605
e47686e9
AS
23606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23607
b18decba
SP
236082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23609
fffb407f
SP
23610 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23612 (__cpymn): Likewise.
23613 (norm): Remove commented code.
23614 (denorm): Likewise.
23615 (__mp_dbl): Likewise.
23616 (__inv): Likewise.
23617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23618 (__cpymn): Likewise.
23619 (norm): Remove commented code.
23620 (denorm): Likewise.
23621 (__mp_dbl): Likewise.
23622 (__inv): Likewise.
23623
b18decba
SP
23624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23625 mp_no value for 1.0 and 2.0.
23626 (norm): Use RADIXI instead of radixi.d.
23627 (denorm): Likewise.
23628 (__mul): Use 0.0 instead of zero.d.
23629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23630 mp_no value for 1.0 and 2.0.
23631 (norm): Use RADIXI instead of radixi.d.
23632 (denorm): Likewise.
23633 (__mul): Use 0.0 instead of zero.d.
23634
cdc1c96f
JM
236352013-01-04 Joseph Myers <joseph@codesourcery.com>
23636
23637 [BZ #14994]
23638 * math/s_casinh.c (__casinh): Reduce finite argument to first
23639 quadrant then set signs of results at the end.
23640 * math/s_casinhf.c (__casinhf): Likewise.
23641 * math/s_casinhl.c (__casinhl): Likewise.
23642 * math/libm-test.inc (casin_test): Add more tests.
23643 (casinh_test): Likewise.
23644 * sysdeps/i386/fpu/libm-test-ulps: Update.
23645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23646
302913e1
SP
236472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23648
6420d207
SP
23649 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23650
a9e48ab4
SP
23651 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23652
b7837264
SP
23653 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23654 declarations.
23655 (denorm): Likewise.
23656 (__mp_dbl): Likewise.
23657 (__inv): Likewise.
23658
f8af25d2
SP
23659 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23660 and adjust the header comment.
23661
302913e1
SP
23662 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23663 variable name from declaration.
23664
5d7dd1ca
L
236652013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23666
23667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23668 Initialize COMMON_CPUID_INDEX_7 element.
23669 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23670 (CPUID_RTM): Likewise.
23671 (HAS_RTM): Likewise.
23672 (COMMON_CPUID_INDEX_7): New enum.
23673
2f5f40f4
AS
236742013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23675
23676 [BZ #14981]
23677 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23678 size is zero, record memory as freed.
23679
4056f4a0
AJ
236802013-01-03 Andreas Jaeger <aj@suse.de>
23681
23682 * po/ia.po: Add new Interlingua translation.
23683
ab15736f 236842012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
23685
23686 * locale/programs/localedef.c: Fix description of '--posix' flag.
23687
568035b7
JM
236882013-01-02 Joseph Myers <joseph@codesourcery.com>
23689
e6898b8d
JM
23690 * NEWS: Update dates in second copyright notice.
23691 * README: Update copyright dates in example.
23692 * manual/libc.texinfo: Update copyright dates.
23693 * scripts/test-installation.pl: Update copyright date in --version
23694 output.
23695
0e2f9562
JM
23696 * hurd/ctty-input.c: Fix copyright notice formatting.
23697 * hurd/ctty-output.c: Likewise.
23698 * hurd/dtable.c: Likewise.
23699 * hurd/hurd-raise.c: Likewise.
23700 * hurd/hurdprio.c: Likewise.
23701 * hurd/msgportdemux.c: Likewise.
23702 * misc/sys/file.h: Likewise.
23703 * misc/sys/ioctl.h: Likewise.
23704 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23705 * sysdeps/mach/hurd/chdir.c: Likewise.
23706 * sysdeps/mach/hurd/fchdir.c: Likewise.
23707 * sysdeps/mach/hurd/rename.c: Likewise.
23708 * sysdeps/mach/hurd/rmdir.c: Likewise.
23709 * sysdeps/mach/hurd/seekdir.c: Likewise.
23710 * sysdeps/mach/hurd/setsid.c: Likewise.
23711 * sysdeps/posix/wait3.c: Likewise.
23712
568035b7
JM
23713 * All files with FSF copyright notices: Update copyright dates
23714 using scripts/update-copyrights.
23715 * intl/plural.c: Regenerated.
23716 * locale/programs/charmap-kw.h: Likewise.
23717 * locale/programs/locfile-kw.h: Likewise.
23718
da08f647
SP
237192013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23720
0f5477af
SP
23721 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23722 four values.
23723
44e0d4c2
SP
23724 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23725 calculation loop and add branch prediction.
23726
4d55b4e5
SP
23727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23728 check access beyond bounds of m1np.
23729
da08f647
SP
23730 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23731 MPTWO.
23732 (__inv): Remove local variable MPTWO to use the global
23733 constant.
23734 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23735 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23736 variable MPTWO.
23737 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23738 MP3HALFS static const.
23739
8e051029
DM
237402013-01-01 David S. Miller <davem@davemloft.net>
23741
23742 * po/ca.po: Update from translation team.
23743
f4cf5f2d
JM
237442013-01-01 Joseph Myers <joseph@codesourcery.com>
23745
23746 * scripts/update-copyrights: New file.
23747 * Makeconfig: Reformat copyright notice.
23748 * ctype/ctype.h: Likewise.
23749 * debug/swprintf_chk.c: Likewise.
23750 * elf/dl-cache.c: Likewise.
23751 * elf/dl-debug.c: Likewise.
23752 * elf/dl-object.c: Likewise.
23753 * grp/initgroups.c: Likewise.
23754 * hurd/Makefile: Likewise.
23755 * hurd/hurd/signal.h: Likewise.
23756 * hurd/hurdfault.c: Likewise.
23757 * hurd/hurdioctl.c: Likewise.
23758 * hurd/hurdlookup.c: Likewise.
23759 * hurd/intr-msg.c: Likewise.
23760 * iconv/gconv_open.c: Likewise.
23761 * libio/swprintf.c: Likewise.
23762 * locale/lc-ctype.c: Likewise.
23763 * locale/nl_langinfo.c: Likewise.
23764 * mach/Machrules: Likewise.
23765 * mach/Makefile: Likewise.
23766 * malloc/obstack.h: Likewise.
23767 * manual/Makefile: Likewise.
23768 * manual/tsort.awk: Likewise.
23769 * misc/bits/stab.def: Likewise.
23770 * nis/nis_print_group_entry.c: Likewise.
23771 * nis/nis_table.c: Likewise.
23772 * nis/nss_compat/compat-pwd.c: Likewise.
23773 * nis/nss_compat/compat-spwd.c: Likewise.
23774 * po/Makefile: Likewise.
23775 * posix/fnmatch.c: Likewise.
23776 * posix/regex.h: Likewise.
23777 * resolv/Makefile: Likewise.
23778 * resolv/nss_dns/dns-network.c: Likewise.
23779 * resolv/res_hconf.c: Likewise.
23780 * scripts/gen-sorted.awk: Likewise.
23781 * soft-fp/soft-fp.h: Likewise.
23782 * stdio-common/printf.h: Likewise.
23783 * stdlib/monetary.h: Likewise.
23784 * stdlib/random.c: Likewise.
23785 * stdlib/random_r.c: Likewise.
23786 * sysdeps/generic/Makefile: Likewise.
23787 * sysdeps/gnu/Makefile: Likewise.
23788 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23790 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23792 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23796 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23799 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23800 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23801 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23802 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23803 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23804 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23808 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23809 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23810 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23816 * sysdeps/mach/hurd/errnos.awk: Likewise.
23817 * sysdeps/mach/hurd/fork.c: Likewise.
23818 * sysdeps/mach/hurd/getcwd.c: Likewise.
23819 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23820 * sysdeps/mach/hurd/mmap.c: Likewise.
23821 * sysdeps/mach/hurd/utimes.c: Likewise.
23822 * sysdeps/mach/hurd/xmknod.c: Likewise.
23823 * sysdeps/posix/profil.c: Likewise.
23824 * sysdeps/posix/readdir_r.c: Likewise.
23825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23826 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23827 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23828 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23830 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23831 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23836 * sysdeps/pthread/lio_listio.c: Likewise.
23837 * sysdeps/sparc/dl-procinfo.h: Likewise.
23838 * sysdeps/unix/i386/sysdep.S: Likewise.
23839 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23840 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23841 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23842 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23844 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23845 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23846 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23847 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23848 * sysdeps/wordsize-32/divdi3.c: Likewise.
23849 * time/sys/time.h: Likewise.
23850 * wcsmbs/Makefile: Likewise.
23851
0549fbba
DM
238522013-01-01 David S. Miller <davem@davemloft.net>
23853
a141f1a7
DM
23854 * po/fr.po: Update from translation team.
23855
0549fbba
DM
23856 * catgets/gencat.c: Update copyright year.
23857 * csu/version.c: Likewise.
23858 * debug/catchsegv.sh: Likewise.
23859 * debug/pcprofiledump.c: Likewise.
23860 * debug/xtrace.sh: Likewise.
23861 * elf/ldconfig.c: Likewise.
23862 * elf/ldd.bash.in: Likewise.
23863 * elf/pldd.c: Likewise.
23864 * elf/sotruss.ksh: Likewise.
23865 * elf/sprof.c: Likewise.
23866 * iconv/iconv_prog.c: Likewise.
23867 * iconv/iconvconfig.c: Likewise.
23868 * locale/programs/locale.c: Likewise.
23869 * locale/programs/localedef.c: Likewise.
23870 * login/programs/pt_chown.c: Likewise.
23871 * malloc/memusage.sh: Likewise.
23872 * malloc/memusagestat.c: Likewise.
23873 * malloc/mtrace.pl: Likewise.
23874 * nscd/nscd.c: Likewise.
23875 * nss/getent.c: Likewise.
23876 * nss/makedb.c: Likewise.
23877 * posix/getconf.c: Likewise.
23878
18ea052c
SP
238792012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23880
23881 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23882 numbers.
23883
9c89fca6
MF
238842012-12-30 Mike Frysinger <vapier@gentoo.org>
23885
23886 * math/bits/mathcalls.h (modf): Use __nonnull.
23887
085ec079
SP
238882012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23889
23890 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23891 (split): Use macro CN instead of the bare value.
23892 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23893 could be used.
23894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23895 instead of the bare value.
23896 (power1): Likewise.
23897
6d9f97e1
SP
238982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23899
d63f73be
SP
23900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23901 __ATAN_TWOM.
23902 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23903
6d9f97e1
SP
23904 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23905 their values.
23906 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23907 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23908 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23909 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23910
4c4febf5
AJ
239112012-12-28 Andreas Jaeger <aj@suse.de>
23912
af5843ef
AJ
23913 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23914 values are from Linux 3.7.
23915
4c4febf5
AJ
23916 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23917 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23918
99136f82
SP
239192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23920
2f216c3c 23921 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
23922 TRUE case.
23923
99136f82
SP
23924 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23925 (norm): Likewise.
23926 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23927 variables with preprocessor constants.
23928 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23929 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23930 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23931
7fffbdff
BH
239322012-12-27 Bruno Haible <bruno@clisp.org>
23933
23934 [BZ #14317]
23935 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23936 only if needed.
23937
b76eb5f0
SP
239382012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23939
31a7fe5c
SP
23940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23941 and use variable directly.
23942 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23943
b76eb5f0
SP
23944 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23945 MPONE.
23946 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23948 variable MPONE.
23949 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23951 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23952 include directive. Remove local variable MPONE.
23953 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23954 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23956
2c8bfe7d
DM
239572012-12-25 David S. Miller <davem@davemloft.net>
23958
23959 * version.h (RELEASE): Set to "development".
23960 (VERSION): Set to "2.17.90".
23961 * NEWS: Add 2.18 section.
23962
147d03b0
DM
239632012-12-21 David S. Miller <davem@davemloft.net>
23964
23965 * po/hr.po: Update from translation team.
23966
a8ebb2b9
AK
239672012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23968
23969 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23970
95b4f1b6
SE
239712012-12-19 Steve Ellcey <sellcey@mips.com>
23972
b2d94007 23973 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 23974
cedb2a90
MS
239752012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23976
23977 * manual/contrib.texi (Contributors): Spelling correction.
23978
bbf527d6
DM
239792012-12-15 David S. Miller <davem@davemloft.net>
23980
23981 * po/ru.po: Update from translation team.
23982
bc38c906
DM
239832012-12-13 David S. Miller <davem@davemloft.net>
23984
85429b1a
DM
23985 * NEWS: Mention IFUNC testsuite enhancements.
23986
d283e353
DM
23987 * po/pl.po: Update from translation team.
23988 * po/bg.po: Likewise.
23989
bc38c906
DM
23990 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23991 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23992
a181b0d7
DM
239932012-12-11 David S. Miller <davem@davemloft.net>
23994
4641d57e
DM
23995 * po/sv.po: Update from translation team.
23996
f7bc6495
DM
23997 * po/vi.po: Update from translation team.
23998
6fc9048f
DM
23999 * po/cs.po: Update from translation team.
24000
a181b0d7
DM
24001 * po/de.po: Update from translation team.
24002 * po/eo.po: Likewise.
24003 * po/nl.po: Likewise.
24004
f70bfe80
SP
240052012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24006
3c8b4190
SP
24007 [BZ #14246]
24008 * manual/argp.texi (Argp Helper Functions): Move node to follow
24009 Argp Parsing State.
24010
f70bfe80
SP
24011 [BZ #14872]
24012 * manual/conf.texi (Limits on File System Capacity): Mention if
24013 terminating null is included in the max size.
24014
188f0adf
AJ
240152012-12-10 Andreas Jaeger <aj@suse.de>
24016
24017 * po/cs.po: Update from translation team.
24018
56e7d3ad
SP
240192012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24020
24021 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24022 void pointer and cast to uintptr_t.
24023 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24024 path.
24025 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24026 * sysdeps/s390/s390-64/memset.S: Likewise.
24027
76f2d2ea 240282012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
24029
24030 [BZ #14833]
24031 * menual/message.texi (Message Translation): Fix typos.
24032 (Helper programs for gettext): Likewise.
24033
67cbf9a2
AS
240342012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24035
24036 [BZ #14898]
24037 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24038 Change to -1.
24039
682d0e9a
DM
240402012-12-07 David S. Miller <davem@davemloft.net>
24041
24042 * po/libc.pot: Update.
24043
573cd484
RH
240442012-12-07 Richard Henderson <rth@redhat.com>
24045
7e9da188 24046 [BZ #10114]
573cd484
RH
24047 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24048 normal/normal case to before the switch.
24049 (_FP_DIV): Likewise.
24050
e933a943
MF
240512012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24052 Mike Frysinger <vapier@gentoo.org>
24053
24054 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24055 check for __NR_fadvise64_64.
24056
82123268
CM
240572012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24058
24059 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24060 0, not just to plain "0" as a statement.
24061 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24062 with cw.
24063
d9814526
JM
240642012-12-06 Joseph Myers <joseph@codesourcery.com>
24065
24066 * NEWS: Use sourceware.org in Bugzilla URL.
24067
7728c574
SP
240682012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24069
f16946dd
SP
24070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24071 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24072
5704bbcb
SP
24073 * stdio-common/tst-put-error.c (do_test): Add newline to the
24074 padded test to ensure flush.
24075
17aa0516
JL
240762012-12-05 Jeff Law <law@redhat.com>
24077
24078 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24079
363313b5
JM
240802012-12-05 Joseph Myers <joseph@codesourcery.com>
24081
effbd42a
JM
24082 * README: Don't refer to ports add-on as distributed separately.
24083 Mention AArch64 in list of systems supported in the ports add-on.
24084
87600365
JM
24085 * LICENSES: Add more non-FSF copyright and license notices.
24086
a0d7066a
JM
24087 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24088 ((unused)).
24089
66ca5a5b
JM
24090 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24091
363313b5
JM
24092 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24093 10000 as width of padded output.
24094
b37984ad
JM
240952012-12-04 Joseph Myers <joseph@codesourcery.com>
24096
9003570a
JM
24097 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24098
b37984ad
JM
24099 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24100 variable LX with __attribute__ ((unused)).
24101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24102 Likewise.
24103 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24106 with __attribute__ ((unused)).
24107
c8df52ec
DM
241082012-12-04 David S. Miller <davem@abraco.davemloft.net>
24109
24110 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24111
b3b099af
JM
241122012-12-04 Joseph Myers <joseph@codesourcery.com>
24113
c33aa6e3
JM
24114 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24115 (CFLAGS-nldbl-acos.c): New variable.
24116 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24117 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24118 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24119 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24120 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24121 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24122 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24123 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24124 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24125 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24126 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24127 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24128 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24129 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24130 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24131 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24132 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24133 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24134 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24135 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24136 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24137 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24138 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24139 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24140 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24141 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24142 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24143 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24144 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24145 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24146 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24147 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24148 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24149 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24150 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24151 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24152 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24153 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24154 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24155 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24156 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24157 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24158 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24159 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24160 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24161 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24162 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24163 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24164 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24165 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24166 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24167 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24168 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24169 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24170 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24171 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24172 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24173 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24174 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24175 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24176 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24177 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24178 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24179 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24180 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24181 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24182 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24183 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24184 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24185 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24186 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24187 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24188 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24189 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24190 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24191 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24192 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24193 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24194 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24195 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24196 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24197 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24198 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24199 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24200 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24201 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24202 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24203 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24204 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24205 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24206 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24207 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24208 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24209 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24210 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24211 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24212 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24213
20f0018d
JM
24214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24215 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24216
b3b099af
JM
24217 [BZ #14914]
24218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24219 whole low double instead of just low 47 bits when splitting values
24220 into two parts.
24221
029264d1
AM
242222012-12-03 Allan McRae <allan@archlinux.org>
24223
24224 * manual/stdio.texi (Predefined Printf Handlers): Remove
24225 @hsep and @vsep usage.
24226
c9d6789e
MF
242272012-12-03 Mike Frysinger <vapier@gentoo.org>
24228
24229 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24230 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24231
4b7634a5
JL
242322012-12-03 Jeff Law <law@redhat.com>
24233
24234 * time/sys/time.h (settimeofday): Do not mark TV argument
24235 as __nonnull.
24236
eb6cbd24
MF
242372012-12-01 Mike Frysinger <vapier@gentoo.org>
24238
24239 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24240 when currently writing and seek to current position when not.
24241 * libio/Makefile (tests): Remove bug-fclose1.
24242 * libio/bug-fclose1.c: Delete.
24243
f638872a
JM
242442012-12-01 Joseph Myers <joseph@codesourcery.com>
24245
24246 * manual/arith.texi (feenableexcept): Fix typo.
24247 (fedisableexcept): Likewise.
24248
48085d14
RM
242492012-11-30 Roland McGrath <roland@hack.frob.com>
24250
24251 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24252 second, differently-typed declaration, rather than a cast.
24253
1a538b9f
SP
242542012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24255
24256 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24257 * include/rpc/svc.h: ... here.
24258
d07f2ff1 242592012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
24260
24261 [BZ #13013]
24262 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24263 depending n and resplen2 to catch cases where answer
24264 equals answerp2.
24265
c93ec1f0
CD
242662012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24267
24268 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24269 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24270
37db69de
MF
242712012-11-29 Mike Frysinger <vapier@gentoo.org>
24272
24273 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24274
e10c4e4f
RM
242752012-11-29 Roland McGrath <roland@hack.frob.com>
24276
24277 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24278
2af1b328
JL
242792012-11-28 Jeff Law <law@redhat.com>
24280
24281 [BZ #13761]
24282 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24283 dataset_temporary. Track alloca usage into alloca_used.
24284 If dataset is large allocate and release it via malloc/free.
24285
111db5b1
FW
242862012-06-04 Florian Weimer <fweimer@redhat.com>
24287
f06cc227 24288 [BZ #14197]
111db5b1
FW
24289 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24290
dd694abd
DM
242912012-11-28 David S. Miller <davem@davemloft.net>
24292
24293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24294
9984dd01
JM
242952012-11-28 Joseph Myers <joseph@codesourcery.com>
24296
24297 [BZ #14803]
24298 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24299 of pi/2 rounded to nearest to 64 bits.
24300 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24301 nearest to 64 bits.
24302 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24303 bits.
24304
14bc93a9
JL
243052012-11-28 Jeff Law <law@redhat.com>
24306 Martin Osvald <mosvald@redhat.com>
24307
24308 [BZ #14889]
24309 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24310 * sunrpc/svc.c: Include time.h.
24311 (__svc_accept_failed): New function.
24312 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24313 any reason other than EINTR, call __svc_accept_failed.
24314 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24315 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24316
e3c6aa3a
AS
243172012-11-28 Andreas Schwab <schwab@suse.de>
24318
24319 * scripts/abilist.awk: Also handle indirect functions in .opd
24320 section.
24321
1bead169
JM
243222012-11-28 Joseph Myers <joseph@codesourcery.com>
24323
24324 [BZ #13881]
24325 * sysdeps/x86/fpu/powl_helper.c: New file.
24326 * sysdeps/x86/fpu/Makefile: Likewise.
24327 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24328 (p3): New object.
24329 (__ieee754_powl): Use __powl_helper for finite arguments except
24330 integer exponents below 8.
24331 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24332 (p3): New object.
24333 (__ieee754_powl): Use __powl_helper for finite arguments except
24334 integer exponents below 8.
24335 * math/libm-test.inc (pow_test): Add more tests and enable some
24336 previously disabled tests.
24337 * sysdeps/i386/fpu/libm-test-ulps: Update.
24338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24339
0817d63d
SP
243402012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24341 Carlos O'Donell <carlos_odonell@mentor.com>
24342
24343 * nss/makedb.c (is_prime): Assert that input is odd and greater
24344 than 4. Note that fact in a comment too.
24345 (next_prime): Add 4 to input.
24346
de2fd463
SP
243472012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24348
24349 [BZ #11741]
24350 * libio/Makefile (tests): Add test case tst-fwrite-error.
24351 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24352 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24353 * libio/tst-fwrite-error.c: New test case.
24354
c515fb51
L
243552012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24356
24357 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24358 before casting to void *.
24359 * include/libc-internal.h (__pointer_type): New macro.
24360 (__integer_if_pointer_type_sub): Likewise.
24361 (__integer_if_pointer_type): Likewise.
24362 (cast_to_integer): Likewise.
24363 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24364 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24365 before casting to atomic64_t.
24366 (atomic_exchange_acq): Likewise.
24367 (__arch_exchange_and_add_body): Likewise.
24368 (__arch_add_body): Likewise.
24369 (atomic_add_negative): Likewise.
24370 (atomic_add_zero): Likewise.
24371
4cf77aa9
JM
243722012-11-26 Joseph Myers <joseph@codesourcery.com>
24373
24374 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24375 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24376 (add_fdes): Likewise.
24377 (linear_search_fdes): Likewise.
24378 (binary_search_unencoded_fdes): Likewise.
24379
d260b3b4
AS
243802012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24381
24382 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24383
67060746
AC
243842012-11-24 Adam Conrad <adconrad@0c3.net>
24385
24386 * configure.in: Autodetect C++ header directories.
24387 * configure: Regenerated.
24388
800938a1
MF
243892012-11-23 Mike Frysinger <vapier@gentoo.org>
24390
24391 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24392
4e6e34e6
AS
243932012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24394
24395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24396
7c7feb47
JM
243972012-11-22 Joseph Myers <joseph@codesourcery.com>
24398
7184dcdf
JM
24399 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24400 LDBL_MANT_DIG == 106]: Disable some tests.
24401 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24402 Likewise.
24403 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24404 Likewise.
24405
0a42601f
JM
24406 [BZ #14871]
24407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24408 input for small inputs. Return +/- pi/2 for large inputs.
24409 * math/libm-test.inc (atan_test): Add more tests.
24410
79c9b9fe
JM
24411 * sysdeps/generic/unwind-dw2-fde-glibc.c
24412 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24413 __attribute__ ((unused)).
24414
c60d3bf2
JM
24415 [BZ #14645]
24416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24417 x * y if x and y are nonzero and z is zero.
24418
ef1e0867
JM
24419 [BZ #14811]
24420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24421 nonzero exponents with absolute value below 0x1p-117 to +/-
24422 0x1p-117.
24423
1468ded3
JM
24424 [BZ #14869]
24425 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24426 up arguments below 2**-450, not just those below 2**-500.
24427 * math/libm-test.inc (hypot_test): Add another test.
24428
8e27e3cc
JM
24429 [BZ #14868]
24430 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24431 Return a+b for ratio over 2**120, not 2**60.
24432 * math/libm-test.inc (hypot_test): Add another test.
24433
c9c0279b
JM
24434 * math/libm-test.inc (clog_test): Use
24435 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24436 (clog10_test): Likewise.
24437
7c7feb47
JM
24438 [BZ #6778]
24439 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24440
fff1530e
AS
244412012-11-22 Andreas Schwab <schwab@suse.de>
24442
24443 * sysdeps/i386/fpu/libm-test-ulps: Update.
24444
94558d30
PT
244452012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24446
24447 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24448 printf output with newline.
24449
7e1be741
L
244502012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24451
6bfea974
L
24452 [BZ #14865]
24453 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24454 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24455 -z nodlopen, -z initfirst and -z execstack support.
24456 * configure: Regenerated.
24457
7e1be741
L
24458 * elf/elf.h (DF_1_NODIRECT): New macro.
24459 (DF_1_IGNMULDEF): Likewise.
24460 (DF_1_NOKSYMS): Likewise.
24461 (DF_1_NOHDR): Likewise.
24462 (DF_1_EDITED): Likewise.
24463 (DF_1_NORELOC): Likewise.
24464 (DF_1_SYMINTPOSE): Likewise.
24465 (DF_1_GLOBAUDIT): Likewise.
24466 (DF_1_SINGLETON): Likewise.
24467 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24468 DT_1_SUPPORTED_MASK bits.
24469 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24470
105ce2ce
CD
244712012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24472
24473 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24474
123be9de
TS
244752012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24476
d072f3f7
TS
24477 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24478 macro.
24479
123be9de
TS
24480 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24481 (sendmmsg): Move declarations...
24482 * socket/sys/socket.h: ... here.
24483 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24484 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24485 include it from...
24486 * socket/recvmmsg.c: ... this new file.
24487 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24488 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24489 definition of __sendmmsg hidden.
24490 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24491 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24492 Move ENOSYS stub into and include it from...
24493 * socket/sendmmsg.c: ... this new file.
24494 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24495 (sysdep_routines): Move recvmmsg and sendmmsg...
24496 * socket/Makefile (routines): ... here.
24497 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24498 (GLIBC_PRIVATE): Add __sendmmsg.
24499 * include/sys/socket.h (__sendmmsg): Add declarations.
24500 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24501 sendmmsg.
24502
cf9a5d18
JM
245032012-11-20 Joseph Myers <joseph@codesourcery.com>
24504
24505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24506 variable I1 with __attribute__ ((unused)).
24507 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24508
ecd4caf9
JM
245092012-11-19 Joseph Myers <joseph@codesourcery.com>
24510
be14d48f
JM
24511 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24512 DUMMY variables with __attribute__ ((unused)).
24513
ecd4caf9
JM
24514 * bits/byteswap.h: Include <bits/types.h>.
24515 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24516
986cab95
PT
245172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24518
24519 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24520 string_t. Do not manually set errno.
24521 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24522 length with __strnlen. Make sure to both set errno and return it on
24523 failure.
24524
6d33cc9d
DM
245252012-11-19 David S. Miller <davem@davemloft.net>
24526
24527 With help from Joseph Myers.
24528 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24529 very large arguments properly.
24530 * math/libm-test.inc (atan_test): New tests.
24531 (atan2_test): New tests.
24532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24534
ee663277
JM
245352012-11-19 Joseph Myers <joseph@codesourcery.com>
24536
877f2d8e
JM
24537 [BZ #14856]
24538 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24539 Define to 3.
24540
116fc08a
JM
24541 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24542 [POSIX] (EADDRNOTAVAIL): Likewise.
24543 [POSIX] (EAFNOSUPPORT): Likewise.
24544 [POSIX] (EALREADY): Likewise.
24545 [POSIX] (ECONNABORTED): Likewise.
24546 [POSIX] (ECONNREFUSED): Likewise.
24547 [POSIX] (ECONNRESET): Likewise.
24548 [POSIX] (EDESTADDRREQ): Likewise.
24549 [POSIX] (EDQUOT): Likewise.
24550 [POSIX] (EHOSTUNREACH): Likewise.
24551 [POSIX] (EIDRM): Likewise.
24552 [POSIX] (EISCONN): Likewise.
24553 [POSIX] (ELOOP): Likewise.
24554 [POSIX] (EMULTIHOP): Likewise.
24555 [POSIX] (ENETDOWN): Likewise.
24556 [POSIX] (ENETUNREACH): Likewise.
24557 [POSIX] (ENOBUFS): Likewise.
24558 [POSIX] (ENODATA): Likewise.
24559 [POSIX] (ENOLINK): Likewise.
24560 [POSIX] (ENOMSG): Likewise.
24561 [POSIX] (ENOPROTOOPT): Likewise.
24562 [POSIX] (ENOSR): Likewise.
24563 [POSIX] (ENOSTR): Likewise.
24564 [POSIX] (ENOTCONN): Likewise.
24565 [POSIX] (ENOTSOCK): Likewise.
24566 [POSIX] (EOPNOTSUPP): Likewise.
24567 [POSIX] (EOVERFLOW): Likewise.
24568 [POSIX] (EPROTO): Likewise.
24569 [POSIX] (EPROTONOSUPPORT): Likewise.
24570 [POSIX] (EPROTOTYPE): Likewise.
24571 [POSIX] (ESTALE): Likewise.
24572 [POSIX] (ETIME): Likewise.
24573 [POSIX] (ETXTBSY): Likewise.
24574 [POSIX] (EWOULDBLOCK): Likewise.
24575 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24576 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24577 [POSIX] (SEEK_CUR): Likewise.
24578 [POSIX] (SEEK_END): Likewise.
24579 [POSIX || UNIX98] (mode_t): Do not require.
24580 [POSIX] (off_t): Likewise.
24581 [POSIX] (pid_t): Likewise.
24582 [POSIX] (sys/stat.h): Do not allow header.
24583 [POSIX] (unistd.h): Likewise.
24584 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24585 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24586 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24587 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24588 require.
24589 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24590 sigevent): Specify elements.
24591 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24592 entry.
24593 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24594 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24595
a483863f
JM
24596 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24597 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24598 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24599 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24600 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24601 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24602 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24603 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24604 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24605 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24606 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24607 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24608 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24610 Likewise.
24611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24612 Likewise.
24613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24614 Likewise.
24615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24616 Likewise.
24617 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24618 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24619 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24620 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24621 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24622 Specify lower bound on value.
24623 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24624 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24625 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24626 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24627 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24628 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24629 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24630 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24631 value.
24632 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24633 as optional.
24634 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24635 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24636 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24637 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24638 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24639 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24640 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24641 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24642 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24643 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24644 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24645 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24646 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24647 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24648 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24649 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24650 entry.
24651 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24652 optional.
24653 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24654 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24655 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24656 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24657 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24658 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24659 Likewise.
24660 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24661 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24662 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24663 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24664 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24665 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24667 as optional.
24668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24669 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24670 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24671 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24672 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24673 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24674 specify as optional.
24675 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24676 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24677 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24678 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24679 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24680 [XPG3] (NL_LANGMAX): Likewise.
24681 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24682 [POSIX || XPG3] (NL_NMAX): Likewise.
24683 [POSIX || XPG3] (NL_SETMAX): Likewise.
24684 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24685 [XPG3] (NZERO): Likewise.
24686 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24687 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24688 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24689 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24690 (REG_ERANGE): Expect.
24691 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24692 optional-constant.
24693 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24694 Use (void) in prototype.
24695 [POSIX] (*_t): Allow.
24696 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24697 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24698 (WRDE_BADVAL): Expect.
24699
5ba924e3
JM
24700 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24701 expect.
24702 [XPG3 || XPG4] (O_RSYNC): Likewise.
24703 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24704 Likewise.
24705 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24706 [XPG3 || XPG4] (sigqueue): Likewise.
24707 [XPG3 || XPG4] (sigtimedwait): Likewise.
24708 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24709 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24710 [XPG3 || XPG4] (vsnprintf): Likewise.
24711 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24712 Likewise.
24713 [XPG3 || XPG4] (blksize_t): Likewise.
24714 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24715 Likewise.
24716 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24717 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24718 [XPG3 || XPG4] (struct itimerspec): Likewise.
24719 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24720 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24721 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24722 [XPG3 || XPG4] (clockid_t): Likewise.
24723 [XPG3 || XPG4] (timer_t): Likewise.
24724 [XPG3 || XPG4] (clock_getres): Likewise.
24725 [XPG3 || XPG4] (clock_gettime): Likewise.
24726 [XPG3 || XPG4] (clock_settime): Likewise.
24727 [XPG3 || XPG4] (nanosleep): Likewise.
24728 [XPG3 || XPG4] (timer_create): Likewise.
24729 [XPG3 || XPG4] (timer_delete): Likewise.
24730 [XPG3 || XPG4] (timer_gettime): Likewise.
24731 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24732 [XPG3 || XPG4] (timer_settime): Likewise.
24733 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24734 [XPG3 || XPG4] (getlogin_r): Likewise.
24735 [XPG3 || XPG4] (pread): Likewise.
24736 [XPG3 || XPG4] (pthread_atfork): Likewise.
24737 [XPG3 || XPG4] (pwrite): Likewise.
24738
ee663277
JM
24739 [BZ #14835]
24740 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24741 <bits/siginfo.h>.
24742
942caa16
PT
247432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24744
e19af380
PT
24745 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24746 finalizing MALLSTREAM.
24747
942caa16
PT
24748 * sysdeps/mach/hurd/syncfs.c: New file.
24749
cfde9b46
SP
247502012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24751
24752 [BZ #14719]
24753 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24754 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24755 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24756 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24757 (_nss_dns_gethostbyname4_r): Likewise.
24758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24759 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24760
f6da27e5
PH
247612012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24762
24763 [BZ #13763]
24764 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24765
6665d4a2
SM
247662012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24767
1f51ee92
SM
24768 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24769 * elf/cache.c (print_entry): Print ",AArch64" for
24770 FLAG_AARCH64_LIB64
24771
6665d4a2
SM
24772 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24773 * elf/cache.c (print_entry): Print ",hard-float" for
24774 FLAG_ARM_LIBHF.
24775
05b227bd
DM
247762012-11-18 David S. Miller <davem@davemloft.net>
24777
24778 With help from Joseph Myers.
24779 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24780 cutoff to 2**-13.
24781 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24782 cutoff to 2**-25.
24783 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24784 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24785 small.
24786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24787 * math/libm-test.inc (y0_test): New tests.
24788 (y1_test): New tests.
24789 * sysdeps/i386/fpu/libm-test-ulps: Update.
24790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24792
786b0b67
AS
247932012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24794
24795 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24796 64-bit targets.
24797 * configure: Regenerated.
24798
8e18b86d
DM
247992012-11-17 David S. Miller <davem@davemloft.net>
24800
24801 [BZ #14811]
24802 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24803 nonzero exponents with absolute value below 0x1p-128 to +/-
24804 0x1p-128.
24805
531f1ae0
JM
248062012-11-17 Joseph Myers <joseph@codesourcery.com>
24807
12df29e2
JM
24808 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24809
150dc1a0
JM
24810 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24811
531f1ae0
JM
24812 * posix/getconf-speclist.c: New file.
24813 * posix/posix-envs.def: Likewise.
24814 * posix/confstr.c (START_ENV_GROUP): New macro.
24815 (END_ENV_GROUP): Likewise.
24816 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24817 (KNOWN_PRESENT_ENV_STRING): Likewise.
24818 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24819 (UNKNOWN_ENVIRONMENT): Likewise.
24820 (confstr): Include posix-envs.def instead of handling
24821 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24822 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24823 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24824 (END_ENV_GROUP): Likewise.
24825 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24826 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24827 (UNKNOWN_ENVIRONMENT): Likewise.
24828 (__sysconf): Include posix-envs.def instead of handling associated
24829 cases directly here.
24830 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24831 preprocessing getconf-speclist.c rather than running getconf or
24832 generating empty file.
24833
a93f9cbc
PT
248342012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24835
24836 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24837
d64d9f87
AL
248382012-11-16 Andrej Lajovic <natrij@gmail.com>
24839
24840 [BZ #14672]
24841 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24842
447885eb
DM
248432012-11-16 David S. Miller <davem@davemloft.net>
24844
24845 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24846 smaller than LDBL_EPSILON/2.0L, just return xm1.
24847
bcbf9830
L
248482012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24849
24850 * elf/tst-array1.c (init): Set constructor priority to 1000.
24851 (fini): Set destructor priority to 1000.
24852 * elf/tst-array2dep.c: Likewise.
24853
2b766585
SP
248542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24855
24856 [BZ #11741]
24857 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24858 (_IO_new_file_xsputn): Also return EOF if none of the input
24859 data was written when overflow failed.
24860 * libio/iopadn.c (_IO_padn): Likewise.
24861 * libio/iowpadn.c (_IO_wpadn): Likewise.
24862 * stdio-common/tst-put-error.c: Add copyright notice.
24863 (do_test): Add case for printing padded string.
24864 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24865 _IO_padn returned error.
24866 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24867 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24868 return EOF.
24869
b1848fde
SP
248702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24871
24872 * libio/libioP.h: Add comment note that the references to C++
24873 bits are now obsolete.
24874
2fd89785
MS
248752012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24876
24877 * math/libm-test.inc (check_complex): Use asprintf.
24878
e3ea5409
JM
248792012-11-14 Joseph Myers <joseph@codesourcery.com>
24880
24881 * debug/pcprofiledump.c (print_version): Update copyright year.
24882 * malloc/memusagestat.c (print_version): Likewise.
24883
2e64d265
L
248842012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24885
24886 [BZ #14831]
24887 * elf/Makefile (tests): Add tst-audit8.
24888 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24889 ($(objpfx)tst-audit8.out): New target.
24890 (tst-audit8-ENV): New variable.
24891 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24892 audit if l_reloc_result is NULL.
24893 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24894 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24895 * elf/tst-audit8.c: New file.
24896
c485e4d2
MS
248972012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24898
24899 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24900 * misc/Makefile (CFLAGS-select.c): Define.
24901 * posix/Makefile (CFLAGS-pause.c): Define.
24902
3a0d900a
DM
249032012-11-13 David S. Miller <davem@davemloft.net>
24904
24905 * crypt/Makefile: Move test targets after toplevel Rules
24906 inclusion. Grab any necessary sysdep routines when linking.
24907 * crypt/md5.c (md5_process_block): Remove define, we will always
24908 name it __md5_process_block.
24909 (md5_finish_ctx): Update md5_process_block call.
24910 (md5_stream): Likewise.
24911 (md5_process_bytes): Likewise.
24912 (md5_process_block): Rename to __md5_process_block and move to ...
24913 * crypt/md5-block.c: ... here.
24914 * crypt/sha256.c (sha256_process_block): Move to ...
24915 * crypt/sha256-block.c: ... here.
24916 * crypt/sha512.c (sha512_process_block): Move to ...
24917 * crypt/sha512-block.c: ... here.
24918 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24919 path.
24920 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24921 * sysdeps/sparc/sparc64/multiarch/Makefile
24922 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24923 crypt subdir.
24924 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24925 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24926 multiarch changes.
24927 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24928 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24929 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24930 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24931 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24932 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24933 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24934 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24936 file.
24937 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24939 file.
24940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24941
8ca89318
JM
249422012-11-13 Joseph Myers <joseph@codesourcery.com>
24943
e27d476a
JM
24944 * timezone/tzselect.ksh: Update from tzcode git revision
24945 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24946 * timezone/zdump.c: Likewise.
24947 * timezone/zic.c: Likewise.
24948 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24949 in TZVERSION setting, not $(PKGVERSION).
24950 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24951 REPORT_BUGS_TO settings.
24952
8ca89318
JM
24953 [BZ #14838]
24954 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24955 macro.
24956
47594329
MS
249572012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24958
24959 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24960 detection to immediately after _FP_ROUND().
24961 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24962 bits are 0.
24963
640ac3f1
DM
249642012-11-11 David S. Miller <davem@davemloft.net>
24965
24966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24967 inttypes.h
24968 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24969 __close rather than their public counterparts.
24970
3d2577bb
JM
249712012-11-10 Joseph Myers <joseph@codesourcery.com>
24972
24973 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24974 file.
24975 [UNIX98] (sem_timedwait): Do not expect.
24976 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24977 [XPG4 || UNIX98] (sockatmark): Do not expect.
24978 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24979 (clock_getcpuclockid): Do not expect.
24980 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24981 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24982 Do not expect.
24983 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24984 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24985 [UNIX98] (vwscanf): Likewise.
24986 [UNIX98] (vswscanf): Likewise.
24987
fb1ae1ee
JM
249882012-11-09 Joseph Myers <joseph@codesourcery.com>
24989
9ec6f8bd
JM
24990 * timezone/version.h: Remove file.
24991 * timezone/README: Do not refer to version.h.
24992 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24993 $(objpfx)version.h.
24994 ($(objpfx)zdump.o): Likewise.
c3f81911 24995 ($(objpfx)version.h): New target.
9ec6f8bd 24996
0aa8f8a1
JM
24997 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24998 2012i.
24999 * timezone/README: Don't mention modification to tzselect.ksh.
25000 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25001 work on unmodified tzselect.ksh. Substitute version numbers in
25002 tzselect.ksh.
25003
4e87147f
JM
25004 * Makefile (format-me): Remove.
25005 (INSTALL): Adjust indentation. Use commands directly instead of
25006 using $(format-me).
25007
8b748aed
JM
25008 * aclocal.m4 (ACX_PKGVERSION): New macro.
25009 (ACX_BUGURL): Likewise.
25010 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25011 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25012 (REPORT_BUGS_TO): Likewise.
25013 * configure: Regenerated.
25014 * config.h.in (PKGVERSION): New macro.
25015 (REPORT_BUGS_TO): Likewise.
25016 * config.make.in (PKGVERSION): New variable.
25017 (PKGVERSION_TEXI): Likewise.
25018 (REPORT_BUGS_TO): Likewise.
25019 (REPORT_BUGS_TEXI): Likewise.
25020 * Makefile (format-me): Use -I$(common-objpfx)manual.
25021 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25022 ($(common-objpfx)manual/%): New target.
25023 (manual/%): Remove target.
25024 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25025 (print_version): Use PKGVERSION.
25026 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25027 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25028 and REPORT_BUGS_TO.
25029 ($(objpfx)xtrace): Likewise.
25030 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25031 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25032 (print_version): Use PKGVERSION.
25033 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25034 (do_version): Use PKGVERSION.
25035 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25036 REPORT_BUGS_TO.
25037 (common-ldd-rewrite): Likewise.
25038 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25039 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25040 (print_version): Use PKGVERSION.
25041 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25042 * elf/pldd.c (argp_program_bug_address): Remove variable.
25043 (more_help): New function.
25044 (argp): Use more_help.
25045 (print_version): Use PKGVERSION.
25046 * elf/sln.c (main): Use PKGVERSION.
25047 (usage): Use REPORT_BUGS_TO.
25048 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25049 (top level): Use PKGVERSION.
25050 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25051 (print_version): Use PKGVERSION.
25052 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25053 (print_version): Use PKGVERSION.
25054 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25055 (print_version): Use PKGVERSION.
25056 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25057 (print_version): Use PKGVERSION.
25058 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25059 (print_version): Use PKGVERSION.
25060 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25061 (print_version): Use PKGVERSION.
25062 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25063 and BUGURL.
25064 ($(objpfx)memusage): Likewise.
25065 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25066 (do_version): Use PKGVERSION.
25067 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25068 (print_version): Use PKGVERSION.
25069 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25070 ($PKGVERSION): New variable.
25071 ($REPORT_BUGS_TO): Likewise.
25072 (usage): Use $REPORT_BUGS_TO.
25073 (top level): Use $PKGVERSION.
25074 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25075 ($(objpfx)pkgvers.texi): New rule.
25076 ($(objpfx)stamp-pkgvers): Likewise.
25077 * manual/install.texi: Include pkgvers.texi.
25078 (--with-pkgversion): Document new configure option.
25079 (--with-bugurl): Likewise.
25080 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25081 than necessarily for this particular distribution. Use
25082 REPORT_BUGS_TO for where to report bugs.
25083 * INSTALL: Regenerated.
25084 * manual/libc.texinfo: Include pkgvers.texi.
25085 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25086 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25087 (print_version): Use PKGVERSION.
25088 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25089 (print_version): Use PKGVERSION.
25090 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25091 (print_version): Use PKGVERSION.
25092 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25093 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25094 macro.
25095 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25096 (print_version): Use PKGVERSION.
25097 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25098 (print_version): Use PKGVERSION.
25099 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25100 and PKGVERSION.
25101
92e4b6a9
JM
25102 * timezone/checktab.awk: Update from tzcode 2012i.
25103 * timezone/ialloc.c: Likewise.
25104 * timezone/private.h: Likewise.
25105 * timezone/scheck.c: Likewise.
25106 * timezone/tzfile.h: Likewise.
25107 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25108 (TZVERSION): Hardcode tzcode version number.
25109 * timezone/zdump.c: Update from tzcode 2012i.
25110 * timezone/zic.c: Likewise.
25111 * timezone/version.h: New file.
25112 * timezone/README: Describe version.h. Update upstream location.
25113
9bde902c
JM
25114 [BZ #14824]
25115 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25116 (mktemp): Enable declaration.
25117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25121 Likewise.
25122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25123 Likewise.
25124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25125 Likewise.
25126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25127 Likewise.
25128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25129 Likewise.
25130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25131 Likewise.
25132
fb1ae1ee
JM
25133 [BZ #14821]
25134 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25135 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25136 for copies of such integer values.
25137 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25138 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25139
2c1adbcb
AJ
251402012-11-09 Andreas Jaeger <aj@suse.de>
25141
25142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25143 definitions and declarations that are provided by
25144 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25145
d0f8457e
AK
251462012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25147
3a235abb 25148 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
25149 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25150 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25151 definition.
25152
57241e26
MS
251532012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25154
25155 * elf/elf.h: Update comment before AArch64 relocations.
25156
60e8270d
DM
251572012-11-07 David S. Miller <davem@davemloft.net>
25158
25159 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25160 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25161 (__start_context): Declare.
25162 (__makecontext_ret): Delete.
25163 (__makecontext): Hook up __start_context instead of
25164 __makecontext_ret.
25165 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25166 (sysdep_routines): Add __start_context when in stdlib.
25167
0fbb0fbc
JM
251682012-11-07 Joseph Myers <joseph@codesourcery.com>
25169
25170 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25171 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25172 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25173 hardcoded "nm".
25174 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25175 (READELF): New variable. Use it instead of hardcoded "readelf".
25176
eb48db7e
L
251772012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25178
25179 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25180 * sysdeps/x86/Makefile: Here.
25181 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25182 * sysdeps/x86/tst-xmmymm.sh: This.
25183
05bcf62a
JM
251842012-11-07 Joseph Myers <joseph@codesourcery.com>
25185
c4b6cf53
JM
25186 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25187 expectations.
25188 [UNIX98] (pthread_barrier_t): Do not expect.
25189 [UNIX98] (pthread_barrierattr_t): Likewise.
25190 [UNIX98] (pthread_spinlock_t): Likewise.
25191 [UNIX98] (pthread_barrier_destroy): Likewise.
25192 [UNIX98] (pthread_barrier_init): Likewise.
25193 [UNIX98] (pthread_barrier_wait): Likewise.
25194 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25195 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25196 [UNIX98] (pthread_barrierattr_init): Likewise.
25197 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25198 [UNIX98] (pthread_getcpuclockid): Likewise.
25199 [UNIX98] (pthread_mutex_timedlock): Likewise.
25200 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25201 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25202 [UNIX98] (pthread_sigmask): Likewise.
25203 [UNIX98] (pthread_spin_destroy): Likewise.
25204 [UNIX98] (pthread_spin_init): Likewise.
25205 [UNIX98] (pthread_spin_lock): Likewise.
25206 [UNIX98] (pthread_spin_trylock): Likewise.
25207 [UNIX98] (pthread_spin_unlock): Likewise.
25208 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25209 Do not expect.
25210 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25211 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25212 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25213 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25214 [XPG3 || XPG4] (pthread_key_t): Likewise.
25215 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25216 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25217 [XPG3 || XPG4] (pthread_once_t): Likewise.
25218 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25219 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25220 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25221 [XPG3 || XPG4] (pthread_t): Likewise.
25222
cbe6e120
JM
25223 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25224 not expect.
25225 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25226
1b126443
JM
25227 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25228 Change function return type to int.
25229
b961a573
JM
25230 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25231 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25232 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25233 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25234 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25235 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25236 [!POSIX] (posix_madvise): Likewise.
25237 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25238 && !UNIX98].
25239 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25240 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25241 (mode_t): Likewise.
25242 (posix_mem_offset): Likewise.
25243 (posix_typed_mem_get_info): Likewise.
25244 (posix_typed_mem_open): Likewise.
25245
9e188909
JM
25246 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25247 Change condition to [XOPEN2K8].
25248
05bcf62a
JM
25249 * conform/conformtest.pl: Preprocess allow-header data with -x c
25250 instead of from stdin.
25251 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25252 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25253 [C99-based standards] (cerfc): Likewise.
25254 [C99-based standards] (cexp2): Likewise.
25255 [C99-based standards] (cexpm1): Likewise.
25256 [C99-based standards] (clog10): Likewise.
25257 [C99-based standards] (clog1p): Likewise.
25258 [C99-based standards] (clog2): Likewise.
25259 [C99-based standards] (clgamma): Likewise.
25260 [C99-based standards] (ctgamma): Likewise.
25261 [C99-based standards] (cerff): Likewise.
25262 [C99-based standards] (cerfcf): Likewise.
25263 [C99-based standards] (cexp2f): Likewise.
25264 [C99-based standards] (cexpm1f): Likewise.
25265 [C99-based standards] (clog10f): Likewise.
25266 [C99-based standards] (clog1pf): Likewise.
25267 [C99-based standards] (clog2f): Likewise.
25268 [C99-based standards] (clgammaf): Likewise.
25269 [C99-based standards] (ctgammaf): Likewise.
25270 [C99-based standards] (cerfl): Likewise.
25271 [C99-based standards] (cerfcl): Likewise.
25272 [C99-based standards] (cexp2l): Likewise.
25273 [C99-based standards] (cexpm1l): Likewise.
25274 [C99-based standards] (clog10l): Likewise.
25275 [C99-based standards] (clog1pl): Likewise.
25276 [C99-based standards] (clog2l): Likewise.
25277 [C99-based standards] (clgammal): Likewise.
25278 [C99-based standards] (ctgammal): Likewise.
25279 * conform/data/inttypes.h-data [C99-based standards]: Include
25280 stdint.h-data. Remove all expectations for stdint.h contents.
25281 [C99-based standards] (PRI*): Do not allow.
25282 [C99-based standards] (SCN*): Likewise.
25283 [C99-based standards] (*_t): Likewise.
25284 [C99-based-standards] (PRId8): Expect macro.
25285 [C99-based-standards] (PRIi8): Likewise.
25286 [C99-based-standards] (PRIo8): Likewise.
25287 [C99-based-standards] (PRIu8): Likewise.
25288 [C99-based-standards] (PRIx8): Likewise.
25289 [C99-based-standards] (PRIX8): Likewise.
25290 [C99-based-standards] (SCNd8): Likewise.
25291 [C99-based-standards] (SCNi8): Likewise.
25292 [C99-based-standards] (SCNo8): Likewise.
25293 [C99-based-standards] (SCNu8): Likewise.
25294 [C99-based-standards] (SCNx8): Likewise.
25295 [C99-based-standards] (PRIdLEAST8): Likewise.
25296 [C99-based-standards] (PRIiLEAST8): Likewise.
25297 [C99-based-standards] (PRIoLEAST8): Likewise.
25298 [C99-based-standards] (PRIuLEAST8): Likewise.
25299 [C99-based-standards] (PRIxLEAST8): Likewise.
25300 [C99-based-standards] (PRIXLEAST8): Likewise.
25301 [C99-based-standards] (SCNdLEAST8): Likewise.
25302 [C99-based-standards] (SCNiLEAST8): Likewise.
25303 [C99-based-standards] (SCNoLEAST8): Likewise.
25304 [C99-based-standards] (SCNuLEAST8): Likewise.
25305 [C99-based-standards] (SCNxLEAST8): Likewise.
25306 [C99-based-standards] (PRIdFAST8): Likewise.
25307 [C99-based-standards] (PRIiFAST8): Likewise.
25308 [C99-based-standards] (PRIoFAST8): Likewise.
25309 [C99-based-standards] (PRIuFAST8): Likewise.
25310 [C99-based-standards] (PRIxFAST8): Likewise.
25311 [C99-based-standards] (PRIXFAST8): Likewise.
25312 [C99-based-standards] (SCNdFAST8): Likewise.
25313 [C99-based-standards] (SCNiFAST8): Likewise.
25314 [C99-based-standards] (SCNoFAST8): Likewise.
25315 [C99-based-standards] (SCNuFAST8): Likewise.
25316 [C99-based-standards] (SCNxFAST8): Likewise.
25317 [C99-based-standards] (PRId16): Likewise.
25318 [C99-based-standards] (PRIi16): Likewise.
25319 [C99-based-standards] (PRIo16): Likewise.
25320 [C99-based-standards] (PRIu16): Likewise.
25321 [C99-based-standards] (PRIx16): Likewise.
25322 [C99-based-standards] (PRIX16): Likewise.
25323 [C99-based-standards] (SCNd16): Likewise.
25324 [C99-based-standards] (SCNi16): Likewise.
25325 [C99-based-standards] (SCNo16): Likewise.
25326 [C99-based-standards] (SCNu16): Likewise.
25327 [C99-based-standards] (SCNx16): Likewise.
25328 [C99-based-standards] (PRIdLEAST16): Likewise.
25329 [C99-based-standards] (PRIiLEAST16): Likewise.
25330 [C99-based-standards] (PRIoLEAST16): Likewise.
25331 [C99-based-standards] (PRIuLEAST16): Likewise.
25332 [C99-based-standards] (PRIxLEAST16): Likewise.
25333 [C99-based-standards] (PRIXLEAST16): Likewise.
25334 [C99-based-standards] (SCNdLEAST16): Likewise.
25335 [C99-based-standards] (SCNiLEAST16): Likewise.
25336 [C99-based-standards] (SCNoLEAST16): Likewise.
25337 [C99-based-standards] (SCNuLEAST16): Likewise.
25338 [C99-based-standards] (SCNxLEAST16): Likewise.
25339 [C99-based-standards] (PRIdFAST16): Likewise.
25340 [C99-based-standards] (PRIiFAST16): Likewise.
25341 [C99-based-standards] (PRIoFAST16): Likewise.
25342 [C99-based-standards] (PRIuFAST16): Likewise.
25343 [C99-based-standards] (PRIxFAST16): Likewise.
25344 [C99-based-standards] (PRIXFAST16): Likewise.
25345 [C99-based-standards] (SCNdFAST16): Likewise.
25346 [C99-based-standards] (SCNiFAST16): Likewise.
25347 [C99-based-standards] (SCNoFAST16): Likewise.
25348 [C99-based-standards] (SCNuFAST16): Likewise.
25349 [C99-based-standards] (SCNxFAST16): Likewise.
25350 [C99-based-standards] (PRId32): Likewise.
25351 [C99-based-standards] (PRIi32): Likewise.
25352 [C99-based-standards] (PRIo32): Likewise.
25353 [C99-based-standards] (PRIu32): Likewise.
25354 [C99-based-standards] (PRIx32): Likewise.
25355 [C99-based-standards] (PRIX32): Likewise.
25356 [C99-based-standards] (SCNd32): Likewise.
25357 [C99-based-standards] (SCNi32): Likewise.
25358 [C99-based-standards] (SCNo32): Likewise.
25359 [C99-based-standards] (SCNu32): Likewise.
25360 [C99-based-standards] (SCNx32): Likewise.
25361 [C99-based-standards] (PRIdLEAST32): Likewise.
25362 [C99-based-standards] (PRIiLEAST32): Likewise.
25363 [C99-based-standards] (PRIoLEAST32): Likewise.
25364 [C99-based-standards] (PRIuLEAST32): Likewise.
25365 [C99-based-standards] (PRIxLEAST32): Likewise.
25366 [C99-based-standards] (PRIXLEAST32): Likewise.
25367 [C99-based-standards] (SCNdLEAST32): Likewise.
25368 [C99-based-standards] (SCNiLEAST32): Likewise.
25369 [C99-based-standards] (SCNoLEAST32): Likewise.
25370 [C99-based-standards] (SCNuLEAST32): Likewise.
25371 [C99-based-standards] (SCNxLEAST32): Likewise.
25372 [C99-based-standards] (PRIdFAST32): Likewise.
25373 [C99-based-standards] (PRIiFAST32): Likewise.
25374 [C99-based-standards] (PRIoFAST32): Likewise.
25375 [C99-based-standards] (PRIuFAST32): Likewise.
25376 [C99-based-standards] (PRIxFAST32): Likewise.
25377 [C99-based-standards] (PRIXFAST32): Likewise.
25378 [C99-based-standards] (SCNdFAST32): Likewise.
25379 [C99-based-standards] (SCNiFAST32): Likewise.
25380 [C99-based-standards] (SCNoFAST32): Likewise.
25381 [C99-based-standards] (SCNuFAST32): Likewise.
25382 [C99-based-standards] (SCNxFAST32): Likewise.
25383 [C99-based-standards] (PRId64): Likewise.
25384 [C99-based-standards] (PRIi64): Likewise.
25385 [C99-based-standards] (PRIo64): Likewise.
25386 [C99-based-standards] (PRIu64): Likewise.
25387 [C99-based-standards] (PRIx64): Likewise.
25388 [C99-based-standards] (PRIX64): Likewise.
25389 [C99-based-standards] (SCNd64): Likewise.
25390 [C99-based-standards] (SCNi64): Likewise.
25391 [C99-based-standards] (SCNo64): Likewise.
25392 [C99-based-standards] (SCNu64): Likewise.
25393 [C99-based-standards] (SCNx64): Likewise.
25394 [C99-based-standards] (PRIdLEAST64): Likewise.
25395 [C99-based-standards] (PRIiLEAST64): Likewise.
25396 [C99-based-standards] (PRIoLEAST64): Likewise.
25397 [C99-based-standards] (PRIuLEAST64): Likewise.
25398 [C99-based-standards] (PRIxLEAST64): Likewise.
25399 [C99-based-standards] (PRIXLEAST64): Likewise.
25400 [C99-based-standards] (SCNdLEAST64): Likewise.
25401 [C99-based-standards] (SCNiLEAST64): Likewise.
25402 [C99-based-standards] (SCNoLEAST64): Likewise.
25403 [C99-based-standards] (SCNuLEAST64): Likewise.
25404 [C99-based-standards] (SCNxLEAST64): Likewise.
25405 [C99-based-standards] (PRIdFAST64): Likewise.
25406 [C99-based-standards] (PRIiFAST64): Likewise.
25407 [C99-based-standards] (PRIoFAST64): Likewise.
25408 [C99-based-standards] (PRIuFAST64): Likewise.
25409 [C99-based-standards] (PRIxFAST64): Likewise.
25410 [C99-based-standards] (PRIXFAST64): Likewise.
25411 [C99-based-standards] (SCNdFAST64): Likewise.
25412 [C99-based-standards] (SCNiFAST64): Likewise.
25413 [C99-based-standards] (SCNoFAST64): Likewise.
25414 [C99-based-standards] (SCNuFAST64): Likewise.
25415 [C99-based-standards] (SCNxFAST64): Likewise.
25416 [C99-based-standards] (PRIdMAX): Likewise.
25417 [C99-based-standards] (PRIiMAX): Likewise.
25418 [C99-based-standards] (PRIoMAX): Likewise.
25419 [C99-based-standards] (PRIuMAX): Likewise.
25420 [C99-based-standards] (PRIxMAX): Likewise.
25421 [C99-based-standards] (PRIXMAX): Likewise.
25422 [C99-based-standards] (SCNdMAX): Likewise.
25423 [C99-based-standards] (SCNiMAX): Likewise.
25424 [C99-based-standards] (SCNoMAX): Likewise.
25425 [C99-based-standards] (SCNuMAX): Likewise.
25426 [C99-based-standards] (SCNxMAX): Likewise.
25427 [C99-based-standards] (PRIdPTR): Likewise.
25428 [C99-based-standards] (PRIiPTR): Likewise.
25429 [C99-based-standards] (PRIoPTR): Likewise.
25430 [C99-based-standards] (PRIuPTR): Likewise.
25431 [C99-based-standards] (PRIxPTR): Likewise.
25432 [C99-based-standards] (PRIXPTR): Likewise.
25433 [C99-based-standards] (SCNdPTR): Likewise.
25434 [C99-based-standards] (SCNiPTR): Likewise.
25435 [C99-based-standards] (SCNoPTR): Likewise.
25436 [C99-based-standards] (SCNuPTR): Likewise.
25437 [C99-based-standards] (SCNxPTR): Likewise.
25438 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25439 allow.
25440 * conform/data/stdint.h-data: Update comments to clarify
25441 requirements.
25442 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25443 type.
25444 [C99-based standards] (INT8_MAX): Likewise.
25445 [C99-based standards] (INT16_MIN): Likewise.
25446 [C99-based standards] (INT16_MAX): Likewise.
25447 [C99-based standards] (INT32_MIN): Likewise.
25448 [C99-based standards] (INT32_MAX): Likewise.
25449 [C99-based standards] (INT64_MIN): Likewise.
25450 [C99-based standards] (INT64_MAX): Likewise.
25451 [C99-based standards] (UINT8_MAX): Likewise.
25452 [C99-based standards] (UINT16_MAX): Likewise.
25453 [C99-based standards] (UINT32_MAX): Likewise.
25454 [C99-based standards] (UINT64_MAX): Likewise.
25455 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25456 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25457 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25458 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25459 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25460 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25461 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25462 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25463 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25464 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25465 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25466 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25467 [C99-based standards] (INT_FAST8_MIN): Likewise.
25468 [C99-based standards] (INT_FAST8_MAX): Likewise.
25469 [C99-based standards] (INT_FAST16_MIN): Likewise.
25470 [C99-based standards] (INT_FAST16_MAX): Likewise.
25471 [C99-based standards] (INT_FAST32_MIN): Likewise.
25472 [C99-based standards] (INT_FAST32_MAX): Likewise.
25473 [C99-based standards] (INT_FAST64_MIN): Likewise.
25474 [C99-based standards] (INT_FAST64_MAX): Likewise.
25475 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25476 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25477 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25478 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25479 [C99-based standards] (INTPTR_MIN): Likewise.
25480 [C99-based standards] (INTPTR_MAX): Likewise.
25481 [C99-based standards] (UINTPTR_MAX): Likewise.
25482 [C99-based standards] (INTMAX_MIN): Likewise.
25483 [C99-based standards] (INTMAX_MAX): Likewise.
25484 [C99-based standards] (UINTMAX_MAX): Likewise.
25485 [C99-based standards] (PTRDIFF_MIN): Likewise.
25486 [C99-based standards] (PTRDIFF_MAX): Likewise.
25487 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25488 [C99-based standards] (SIZE_MAX): Likewise.
25489 [C99-based standards] (WCHAR_MAX): Likewise.
25490 [C99-based standards] (WINT_MAX): Likewise.
25491 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25492 constraint on value.
25493 [C99-based standards] (WCHAR_MIN): Likewise.
25494 [C99-based standards] (WINT_MIN): Likewise.
25495 [C99-based standards] (*_t): Allow.
25496 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25497 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25498 Include math.h-data and complex.h-data. Remove all expectations
25499 of math.h and complex.h contents.
25500 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25501 at end of line.
25502 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25503 (struct tm): Expect tag.
25504 [C99-based-standards] (wcstof): Expect function.
25505 [C99-based-standards] (wcstold): Likewise.
25506 [C99-based-standards] (wcstoll): Likewise.
25507 [C99-based-standards] (wcstoull): Likewise.
25508 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25509 macro-int-constant. Specify type.
25510 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25511 constraint on value.
25512 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25513 Specify type.
25514 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25515 Specify value.
25516 [ISO C standards]: Do not allow headers.
25517 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25518 wcs[abcdefghijklmnopqrstuvwxyz]*.
25519 [ISO C standards] (*_t): Do not allow.
25520 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25521 Expect function.
25522 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25523 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25524 Specify type.
25525 [ISO C standards]: Do not allow headers.
25526 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25527 is[abcdefghijklmnopqrstuvwxyz]*.
25528 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25529 to[abcdefghijklmnopqrstuvwxyz]*.
25530 [ISO C standards] (*_t): Do not allow.
25531 * conform/data/stdalign.h-data: New file.
25532 * conform/data/stdbool.h-data: Likewise.
25533 * conform/data/stdnoreturn.h-data: Likewise.
25534
7514feb8
RM
255352012-11-07 Roland McGrath <roland@hack.frob.com>
25536
25537 [BZ #14815]
25538 * manual/filesys.texi (Directory Entries): Typo fix.
25539 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25540
19b2ecfc
MS
255412012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25542
25543 * elf/elf.h (EM_AARCH64): New macro.
25544 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25545 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25546 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25547 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25548 (R_AARCH64_TLSDESC): Likewise.
25549 (NT_ARM_TLS): Likewise.
25550 (NT_ARM_HW_BREAK): Likewise.
25551 (NT_ARM_HW_WATCH): Likewise.
25552
60e235ee
JM
255532012-11-07 Joseph Myers <joseph@codesourcery.com>
25554
25555 [BZ #14811]
25556 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25557 (__ieee754_powl): Saturate nonzero exponents with absolute value
25558 below 0x1p-79 to +/- 0x1p-79.
25559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25560 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25561 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25562 nonzero exponents with absolute value below 0x1p-32 to +/-
25563 0x1p-32.
25564 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25565 (__ieee754_powl): Saturate nonzero exponents with absolute value
25566 below 0x1p-79 to +/- 0x1p-79.
25567 * math/libm-test.inc (pow_test): Add more tests.
25568
0ab234b7
AK
255692012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25570
25571 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25572 _dl_s390_cap_flags with kernel. Increase string length.
25573 (_dl_s390_platforms): Add z196 and zEC12.
25574
45832f74
JM
255752012-11-07 Joseph Myers <joseph@codesourcery.com>
25576
25577 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25578 Change XOPEN21K to XOPEN2K.
25579
19218757
MK
255802012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25581
25582 * string/memmove.c: Use memcpy when possible.
25583
c5f45721
AJ
255842012-11-06 Andreas Jaeger <aj@suse.de>
25585
25586 * po/eo.po: Update from translation team.
25587
82477c28
JM
255882012-11-06 Joseph Myers <joseph@codesourcery.com>
25589
25590 [BZ #14793]
25591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25592 exponent and small x and y exponents, scale x or y up. Increase
25593 by 2 the exponent used in scaling up.
25594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25595 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25596 * math/libm-test.inc (fma_test): Add more tests.
25597 (fma_test_towardzero): Likewise.
25598 (fma_test_downward): Likewise.
25599 (fma_test_upward): Likewise.
25600
99252c8c
JM
256012012-11-05 Joseph Myers <joseph@codesourcery.com>
25602
acfa885f
JM
25603 [BZ #14805]
25604 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25605 fenv_t *.
25606
99252c8c
JM
25607 [BZ #14801]
25608 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25609 namespace for names of struct fields.
25610 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25611 fenv_t fields.
25612 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25613 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25614
d6d98dea
ST
256152012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25616
25617 [BZ #3665]
25618 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25619
e10bb107
TS
256202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25621
25622 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25623 PTR_DEMANGLE.
25624
25625 [BZ #5246]
25626 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25627 PTR_DEMANGLE.
25628
a0c2940d
JM
256292012-11-04 Joseph Myers <joseph@codesourcery.com>
25630
25631 [BZ #14797]
25632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25633 definitely overflow as x * y not x * y + z.
25634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25636 * math/libm-test.inc (fma_test): Add more tests.
25637 (fma_test_towardzero): Likewise.
25638 (fma_test_downward): Likewise.
25639 (fma_test_upward): Likewise.
25640
b830319d
TS
256412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25642
25643 [BZ #157]
25644
25645 * include/stub-tag.h: Remove file.
25646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25647 '#include' of it.
25648 * manual/maint.texi (Porting): Don't reference it.
25649 * Makerules ($(objpfx)stubs): Likewise.
25650 * dirent/closedir.c: Don't include <stub-tag.h>.
25651 * dirent/dirfd.c: Likewise.
25652 * dirent/fdopendir.c: Likewise.
25653 * dirent/getdents.c: Likewise.
25654 * dirent/getdents64.c: Likewise.
25655 * dirent/opendir.c: Likewise.
25656 * dirent/readdir.c: Likewise.
25657 * dirent/readdir64.c: Likewise.
25658 * dirent/readdir64_r.c: Likewise.
25659 * dirent/readdir_r.c: Likewise.
25660 * dirent/rewinddir.c: Likewise.
25661 * dirent/seekdir.c: Likewise.
25662 * dirent/telldir.c: Likewise.
25663 * gmon/profil.c: Likewise.
25664 * grp/setgroups.c: Likewise.
25665 * inet/if_index.c: Likewise.
25666 * io/access.c: Likewise.
25667 * io/chdir.c: Likewise.
25668 * io/chmod.c: Likewise.
25669 * io/chown.c: Likewise.
25670 * io/close.c: Likewise.
25671 * io/dup.c: Likewise.
25672 * io/dup2.c: Likewise.
25673 * io/dup3.c: Likewise.
25674 * io/euidaccess.c: Likewise.
25675 * io/faccessat.c: Likewise.
25676 * io/fchdir.c: Likewise.
25677 * io/fchmod.c: Likewise.
25678 * io/fchmodat.c: Likewise.
25679 * io/fchown.c: Likewise.
25680 * io/fchownat.c: Likewise.
25681 * io/fcntl.c: Likewise.
25682 * io/flock.c: Likewise.
25683 * io/fstatfs.c: Likewise.
25684 * io/fstatfs64.c: Likewise.
25685 * io/fstatvfs.c: Likewise.
25686 * io/fstatvfs64.c: Likewise.
25687 * io/futimens.c: Likewise.
25688 * io/fxstat.c: Likewise.
25689 * io/fxstat64.c: Likewise.
25690 * io/fxstatat.c: Likewise.
25691 * io/fxstatat64.c: Likewise.
25692 * io/getcwd.c: Likewise.
25693 * io/isatty.c: Likewise.
25694 * io/lchmod.c: Likewise.
25695 * io/lchown.c: Likewise.
25696 * io/link.c: Likewise.
25697 * io/linkat.c: Likewise.
25698 * io/lseek.c: Likewise.
25699 * io/lseek64.c: Likewise.
25700 * io/lxstat64.c: Likewise.
25701 * io/mkdir.c: Likewise.
25702 * io/mkdirat.c: Likewise.
25703 * io/mkfifo.c: Likewise.
25704 * io/mkfifoat.c: Likewise.
25705 * io/open.c: Likewise.
25706 * io/open64.c: Likewise.
25707 * io/openat.c: Likewise.
25708 * io/openat64.c: Likewise.
25709 * io/pipe.c: Likewise.
25710 * io/pipe2.c: Likewise.
25711 * io/poll.c: Likewise.
25712 * io/posix_fadvise.c: Likewise.
25713 * io/posix_fadvise64.c: Likewise.
25714 * io/posix_fallocate.c: Likewise.
25715 * io/posix_fallocate64.c: Likewise.
25716 * io/read.c: Likewise.
25717 * io/readlink.c: Likewise.
25718 * io/readlinkat.c: Likewise.
25719 * io/rmdir.c: Likewise.
25720 * io/sendfile.c: Likewise.
25721 * io/sendfile64.c: Likewise.
25722 * io/statfs.c: Likewise.
25723 * io/statfs64.c: Likewise.
25724 * io/statvfs.c: Likewise.
25725 * io/statvfs64.c: Likewise.
25726 * io/symlink.c: Likewise.
25727 * io/symlinkat.c: Likewise.
25728 * io/ttyname.c: Likewise.
25729 * io/ttyname_r.c: Likewise.
25730 * io/umask.c: Likewise.
25731 * io/unlink.c: Likewise.
25732 * io/unlinkat.c: Likewise.
25733 * io/utime.c: Likewise.
25734 * io/utimensat.c: Likewise.
25735 * io/write.c: Likewise.
25736 * io/xmknod.c: Likewise.
25737 * io/xmknodat.c: Likewise.
25738 * io/xstat.c: Likewise.
25739 * io/xstat64.c: Likewise.
25740 * login/getpt.c: Likewise.
25741 * login/grantpt.c: Likewise.
25742 * login/unlockpt.c: Likewise.
25743 * math/e_acoshl.c: Likewise.
25744 * math/e_acosl.c: Likewise.
25745 * math/e_asinl.c: Likewise.
25746 * math/e_atan2l.c: Likewise.
25747 * math/e_atanhl.c: Likewise.
25748 * math/e_coshl.c: Likewise.
25749 * math/e_expl.c: Likewise.
25750 * math/e_fmodl.c: Likewise.
25751 * math/e_gammal_r.c: Likewise.
25752 * math/e_hypotl.c: Likewise.
25753 * math/e_j0l.c: Likewise.
25754 * math/e_j1l.c: Likewise.
25755 * math/e_jnl.c: Likewise.
25756 * math/e_lgammal_r.c: Likewise.
25757 * math/e_log10l.c: Likewise.
25758 * math/e_log2l.c: Likewise.
25759 * math/e_logl.c: Likewise.
25760 * math/e_powl.c: Likewise.
25761 * math/e_rem_pio2l.c: Likewise.
25762 * math/e_sinhl.c: Likewise.
25763 * math/e_sqrtl.c: Likewise.
25764 * math/fclrexcpt.c: Likewise.
25765 * math/fedisblxcpt.c: Likewise.
25766 * math/feenablxcpt.c: Likewise.
25767 * math/fegetenv.c: Likewise.
25768 * math/fegetexcept.c: Likewise.
25769 * math/fegetround.c: Likewise.
25770 * math/feholdexcpt.c: Likewise.
25771 * math/fesetenv.c: Likewise.
25772 * math/fesetround.c: Likewise.
25773 * math/feupdateenv.c: Likewise.
25774 * math/fgetexcptflg.c: Likewise.
25775 * math/fraiseexcpt.c: Likewise.
25776 * math/fsetexcptflg.c: Likewise.
25777 * math/ftestexcept.c: Likewise.
25778 * math/k_cosl.c: Likewise.
25779 * math/k_rem_pio2l.c: Likewise.
25780 * math/k_sinl.c: Likewise.
25781 * math/k_tanl.c: Likewise.
25782 * math/s_asinhl.c: Likewise.
25783 * math/s_atanl.c: Likewise.
25784 * math/s_cbrtl.c: Likewise.
25785 * math/s_erfl.c: Likewise.
25786 * math/s_expm1l.c: Likewise.
25787 * math/s_log1pl.c: Likewise.
25788 * math/s_tanhl.c: Likewise.
25789 * misc/acct.c: Likewise.
25790 * misc/brk.c: Likewise.
25791 * misc/chflags.c: Likewise.
25792 * misc/chroot.c: Likewise.
25793 * misc/fchflags.c: Likewise.
25794 * misc/fgetxattr.c: Likewise.
25795 * misc/flistxattr.c: Likewise.
25796 * misc/fremovexattr.c: Likewise.
25797 * misc/fsetxattr.c: Likewise.
25798 * misc/fsync.c: Likewise.
25799 * misc/ftruncate.c: Likewise.
25800 * misc/futimes.c: Likewise.
25801 * misc/futimesat.c: Likewise.
25802 * misc/getdomain.c: Likewise.
25803 * misc/getdtsz.c: Likewise.
25804 * misc/gethostid.c: Likewise.
25805 * misc/gethostname.c: Likewise.
25806 * misc/getloadavg.c: Likewise.
25807 * misc/getpagesize.c: Likewise.
25808 * misc/getsysstats.c: Likewise.
25809 * misc/getxattr.c: Likewise.
25810 * misc/gtty.c: Likewise.
25811 * misc/ioctl.c: Likewise.
25812 * misc/lgetxattr.c: Likewise.
25813 * misc/listxattr.c: Likewise.
25814 * misc/llistxattr.c: Likewise.
25815 * misc/lremovexattr.c: Likewise.
25816 * misc/lsetxattr.c: Likewise.
25817 * misc/lutimes.c: Likewise.
25818 * misc/madvise.c: Likewise.
25819 * misc/mincore.c: Likewise.
25820 * misc/mlock.c: Likewise.
25821 * misc/mlockall.c: Likewise.
25822 * misc/mmap.c: Likewise.
25823 * misc/mprotect.c: Likewise.
25824 * misc/msync.c: Likewise.
25825 * misc/munlock.c: Likewise.
25826 * misc/munlockall.c: Likewise.
25827 * misc/munmap.c: Likewise.
25828 * misc/preadv.c: Likewise.
25829 * misc/preadv64.c: Likewise.
25830 * misc/ptrace.c: Likewise.
25831 * misc/pwritev.c: Likewise.
25832 * misc/pwritev64.c: Likewise.
25833 * misc/readv.c: Likewise.
25834 * misc/reboot.c: Likewise.
25835 * misc/remap_file_pages.c: Likewise.
25836 * misc/removexattr.c: Likewise.
25837 * misc/revoke.c: Likewise.
25838 * misc/select.c: Likewise.
25839 * misc/setdomain.c: Likewise.
25840 * misc/setegid.c: Likewise.
25841 * misc/seteuid.c: Likewise.
25842 * misc/sethostid.c: Likewise.
25843 * misc/sethostname.c: Likewise.
25844 * misc/setregid.c: Likewise.
25845 * misc/setreuid.c: Likewise.
25846 * misc/setxattr.c: Likewise.
25847 * misc/sstk.c: Likewise.
25848 * misc/stty.c: Likewise.
25849 * misc/swapoff.c: Likewise.
25850 * misc/swapon.c: Likewise.
25851 * misc/sync.c: Likewise.
25852 * misc/syncfs.c: Likewise.
25853 * misc/syscall.c: Likewise.
25854 * misc/truncate.c: Likewise.
25855 * misc/ualarm.c: Likewise.
25856 * misc/usleep.c: Likewise.
25857 * misc/ustat.c: Likewise.
25858 * misc/utimes.c: Likewise.
25859 * misc/vhangup.c: Likewise.
25860 * misc/writev.c: Likewise.
25861 * posix/_exit.c: Likewise.
25862 * posix/alarm.c: Likewise.
25863 * posix/execve.c: Likewise.
25864 * posix/fexecve.c: Likewise.
25865 * posix/fork.c: Likewise.
25866 * posix/fpathconf.c: Likewise.
25867 * posix/getaddrinfo.c: Likewise.
25868 * posix/getegid.c: Likewise.
25869 * posix/geteuid.c: Likewise.
25870 * posix/getgid.c: Likewise.
25871 * posix/getgroups.c: Likewise.
25872 * posix/getlogin.c: Likewise.
25873 * posix/getlogin_r.c: Likewise.
25874 * posix/getpgid.c: Likewise.
25875 * posix/getpid.c: Likewise.
25876 * posix/getppid.c: Likewise.
25877 * posix/getresgid.c: Likewise.
25878 * posix/getresuid.c: Likewise.
25879 * posix/getsid.c: Likewise.
25880 * posix/getuid.c: Likewise.
25881 * posix/glob64.c: Likewise.
25882 * posix/nanosleep.c: Likewise.
25883 * posix/pathconf.c: Likewise.
25884 * posix/pause.c: Likewise.
25885 * posix/posix_madvise.c: Likewise.
25886 * posix/pread.c: Likewise.
25887 * posix/pread64.c: Likewise.
25888 * posix/pwrite.c: Likewise.
25889 * posix/pwrite64.c: Likewise.
25890 * posix/sched_getaffinity.c: Likewise.
25891 * posix/sched_getp.c: Likewise.
25892 * posix/sched_gets.c: Likewise.
25893 * posix/sched_primax.c: Likewise.
25894 * posix/sched_primin.c: Likewise.
25895 * posix/sched_rr_gi.c: Likewise.
25896 * posix/sched_setaffinity.c: Likewise.
25897 * posix/sched_setp.c: Likewise.
25898 * posix/sched_sets.c: Likewise.
25899 * posix/sched_yield.c: Likewise.
25900 * posix/setgid.c: Likewise.
25901 * posix/setlogin.c: Likewise.
25902 * posix/setpgid.c: Likewise.
25903 * posix/setresgid.c: Likewise.
25904 * posix/setresuid.c: Likewise.
25905 * posix/setsid.c: Likewise.
25906 * posix/setuid.c: Likewise.
25907 * posix/sleep.c: Likewise.
25908 * posix/spawni.c: Likewise.
25909 * posix/sysconf.c: Likewise.
25910 * posix/times.c: Likewise.
25911 * posix/wait.c: Likewise.
25912 * posix/wait3.c: Likewise.
25913 * posix/wait4.c: Likewise.
25914 * posix/waitpid.c: Likewise.
25915 * resolv/gai_sigqueue.c: Likewise.
25916 * resource/getpriority.c: Likewise.
25917 * resource/getrlimit.c: Likewise.
25918 * resource/getrusage.c: Likewise.
25919 * resource/nice.c: Likewise.
25920 * resource/setpriority.c: Likewise.
25921 * resource/setrlimit.c: Likewise.
25922 * resource/ulimit.c: Likewise.
25923 * rt/aio_cancel.c: Likewise.
25924 * rt/aio_fsync.c: Likewise.
25925 * rt/aio_read.c: Likewise.
25926 * rt/aio_sigqueue.c: Likewise.
25927 * rt/aio_suspend.c: Likewise.
25928 * rt/aio_write.c: Likewise.
25929 * rt/clock_getres.c: Likewise.
25930 * rt/clock_gettime.c: Likewise.
25931 * rt/clock_nanosleep.c: Likewise.
25932 * rt/clock_settime.c: Likewise.
25933 * rt/lio_listio.c: Likewise.
25934 * rt/mq_close.c: Likewise.
25935 * rt/mq_getattr.c: Likewise.
25936 * rt/mq_notify.c: Likewise.
25937 * rt/mq_open.c: Likewise.
25938 * rt/mq_receive.c: Likewise.
25939 * rt/mq_send.c: Likewise.
25940 * rt/mq_setattr.c: Likewise.
25941 * rt/mq_timedreceive.c: Likewise.
25942 * rt/mq_timedsend.c: Likewise.
25943 * rt/mq_unlink.c: Likewise.
25944 * rt/shm_open.c: Likewise.
25945 * rt/shm_unlink.c: Likewise.
25946 * rt/timer_create.c: Likewise.
25947 * rt/timer_delete.c: Likewise.
25948 * rt/timer_getoverr.c: Likewise.
25949 * rt/timer_gettime.c: Likewise.
25950 * rt/timer_settime.c: Likewise.
25951 * setjmp/__longjmp.c: Likewise.
25952 * setjmp/setjmp.c: Likewise.
25953 * signal/kill.c: Likewise.
25954 * signal/killpg.c: Likewise.
25955 * signal/raise.c: Likewise.
25956 * signal/sigaction.c: Likewise.
25957 * signal/sigaltstack.c: Likewise.
25958 * signal/sigblock.c: Likewise.
25959 * signal/sigignore.c: Likewise.
25960 * signal/sigintr.c: Likewise.
25961 * signal/signal.c: Likewise.
25962 * signal/sigpause.c: Likewise.
25963 * signal/sigpending.c: Likewise.
25964 * signal/sigqueue.c: Likewise.
25965 * signal/sigreturn.c: Likewise.
25966 * signal/sigset.c: Likewise.
25967 * signal/sigsetmask.c: Likewise.
25968 * signal/sigstack.c: Likewise.
25969 * signal/sigsuspend.c: Likewise.
25970 * signal/sigtimedwait.c: Likewise.
25971 * signal/sigvec.c: Likewise.
25972 * signal/sigwait.c: Likewise.
25973 * signal/sigwaitinfo.c: Likewise.
25974 * signal/sysv_signal.c: Likewise.
25975 * socket/accept.c: Likewise.
25976 * socket/accept4.c: Likewise.
25977 * socket/bind.c: Likewise.
25978 * socket/connect.c: Likewise.
25979 * socket/getpeername.c: Likewise.
25980 * socket/getsockname.c: Likewise.
25981 * socket/getsockopt.c: Likewise.
25982 * socket/isfdtype.c: Likewise.
25983 * socket/listen.c: Likewise.
25984 * socket/recv.c: Likewise.
25985 * socket/recvfrom.c: Likewise.
25986 * socket/recvmsg.c: Likewise.
25987 * socket/send.c: Likewise.
25988 * socket/sendmsg.c: Likewise.
25989 * socket/sendto.c: Likewise.
25990 * socket/setsockopt.c: Likewise.
25991 * socket/shutdown.c: Likewise.
25992 * socket/sockatmark.c: Likewise.
25993 * socket/socket.c: Likewise.
25994 * socket/socketpair.c: Likewise.
25995 * stdio-common/ctermid.c: Likewise.
25996 * stdio-common/cuserid.c: Likewise.
25997 * stdio-common/remove.c: Likewise.
25998 * stdio-common/rename.c: Likewise.
25999 * stdio-common/renameat.c: Likewise.
26000 * stdio-common/tempname.c: Likewise.
26001 * stdlib/getcontext.c: Likewise.
26002 * stdlib/makecontext.c: Likewise.
26003 * stdlib/setcontext.c: Likewise.
26004 * stdlib/swapcontext.c: Likewise.
26005 * stdlib/system.c: Likewise.
26006 * streams/fattach.c: Likewise.
26007 * streams/fdetach.c: Likewise.
26008 * streams/getmsg.c: Likewise.
26009 * streams/getpmsg.c: Likewise.
26010 * streams/putmsg.c: Likewise.
26011 * streams/putpmsg.c: Likewise.
26012 * sysdeps/unix/bsd/getpt.c: Likewise.
26013 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26014 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26015 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26017 Likewise.
26018 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26019 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26020 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26021 * sysvipc/msgctl.c: Likewise.
26022 * sysvipc/msgget.c: Likewise.
26023 * sysvipc/msgrcv.c: Likewise.
26024 * sysvipc/msgsnd.c: Likewise.
26025 * sysvipc/semctl.c: Likewise.
26026 * sysvipc/semget.c: Likewise.
26027 * sysvipc/semop.c: Likewise.
26028 * sysvipc/semtimedop.c: Likewise.
26029 * sysvipc/shmat.c: Likewise.
26030 * sysvipc/shmctl.c: Likewise.
26031 * sysvipc/shmdt.c: Likewise.
26032 * sysvipc/shmget.c: Likewise.
26033 * termios/tcdrain.c: Likewise.
26034 * termios/tcflow.c: Likewise.
26035 * termios/tcflush.c: Likewise.
26036 * termios/tcgetattr.c: Likewise.
26037 * termios/tcgetpgrp.c: Likewise.
26038 * termios/tcsendbrk.c: Likewise.
26039 * termios/tcsetattr.c: Likewise.
26040 * termios/tcsetpgrp.c: Likewise.
26041 * time/adjtime.c: Likewise.
26042 * time/clock.c: Likewise.
26043 * time/getitimer.c: Likewise.
26044 * time/gettimeofday.c: Likewise.
26045 * time/setitimer.c: Likewise.
26046 * time/settimeofday.c: Likewise.
26047 * time/stime.c: Likewise.
26048 * time/time.c: Likewise.
26049
260502012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 26051
a20492cf
PT
26052 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26053 /usr/old/bin.
26054
72e182e3
PT
26055 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26056 instead of spaces.
26057 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26058
fbeafede
JM
260592012-11-03 Joseph Myers <joseph@codesourcery.com>
26060
5b5b04d6
JM
26061 [BZ #14796]
26062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26063 FE_TONEAREST before applying Dekker multiplication and Knuth
26064 addition. Clear inexact exceptions and check for exact zero
26065 results afterwards.
26066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26067 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26069 * math/libm-test.inc (fma_test): Add more tests.
26070 (fma_test_towardzero): Likewise.
26071 (fma_test_downward): Likewise.
26072 (fma_test_upward): Likewise.
26073 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26074 function.
26075 (libc_fesetround): New macro.
26076 (libc_fesetroundf): Likewise.
26077 (libc_fesetroundl): Likewise.
26078 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26079 function.
26080 (libc_fesetround_387): Likewise.
26081 (libc_fesetroundf): New macro.
26082 (libc_fesetround): Likewise.
26083 (libc_fesetroundl): Likewise.
26084 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26085 function.
26086 (libc_fesetroundf): New macro.
26087 (libc_fesetround): Likewise.
26088 (libc_fesetroundl): Likewise.
26089 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26090 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26091 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26092 libm_hidden_ver.
26093 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26094 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26095 libm_hidden_def.
26096 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26097 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26098 libm_hidden_ver.
26099 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26100 libm_hidden_def.
26101
fbeafede
JM
26102 [BZ #3439]
26103 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26104 integer constant usable in #if and use that to give value to enum
26105 constant.
26106 (FE_DIVBYZERO): Likewise.
26107 (FE_UNDERFLOW): Likewise.
26108 (FE_OVERFLOW): Likewise.
26109 (FE_INVALID): Likewise.
26110 (FE_INVALID_SNAN): Likewise.
26111 (FE_INVALID_ISI): Likewise.
26112 (FE_INVALID_IDI): Likewise.
26113 (FE_INVALID_ZDZ): Likewise.
26114 (FE_INVALID_IMZ): Likewise.
26115 (FE_INVALID_COMPARE): Likewise.
26116 (FE_INVALID_SOFTWARE): Likewise.
26117 (FE_INVALID_SQRT): Likewise.
26118 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26119 (FE_TONEAREST): Likewise.
26120 (FE_TOWARDZERO): Likewise.
26121 (FE_UPWARD): Likewise.
26122 (FE_DOWNWARD): Likewise.
26123 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26124 (FE_DIVBYZERO): Likewise.
26125 (FE_OVERFLOW): Likewise.
26126 (FE_UNDERFLOW): Likewise.
26127 (FE_INEXACT): Likewise.
26128 (FE_TONEAREST): Likewise.
26129 (FE_DOWNWARD): Likewise.
26130 (FE_UPWARD): Likewise.
26131 (FE_TOWARDZERO): Likewise.
26132 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26133 (FE_UNDERFLOW): Likewise.
26134 (FE_OVERFLOW): Likewise.
26135 (FE_DIVBYZERO): Likewise.
26136 (FE_INVALID): Likewise.
26137 (FE_TONEAREST): Likewise.
26138 (FE_TOWARDZERO): Likewise.
26139 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26140 (FE_OVERFLOW): Likewise.
26141 (FE_UNDERFLOW): Likewise.
26142 (FE_DIVBYZERO): Likewise.
26143 (FE_INEXACT): Likewise.
26144 (FE_TONEAREST): Likewise.
26145 (FE_TOWARDZERO): Likewise.
26146 (FE_UPWARD): Likewise.
26147 (FE_DOWNWARD): Likewise.
26148 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26149 (FE_DIVBYZERO): Likewise.
26150 (FE_OVERFLOW): Likewise.
26151 (FE_UNDERFLOW): Likewise.
26152 (FE_INEXACT): Likewise.
26153 (FE_TONEAREST): Likewise.
26154 (FE_DOWNWARD): Likewise.
26155 (FE_UPWARD): Likewise.
26156 (FE_TOWARDZERO): Likewise.
26157
105ca950
CM
261582012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26159
26160 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26161
a542b389
AS
261622012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26163
26164 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26165 commands. Quote $PWD.
26166 (blacklist_exports): Don't use remove_newlines. Replace "declare
26167 -x" by "export".
26168 (remove_newlines): Remove.
26169
f62c8abc
L
261702012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26171
26172 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26173 * stdlib/stdlib.h (atof): Moved to ...
26174 * include/bits/stdlib-float.h: Here. New file.
26175 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26176 * stdlib/bits/stdlib-float.h: New file.
26177 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26178 -mno-sse -mno-mmx.
26179 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26180 <xmmintrin.h>.
26181
0155d5b2
JM
261822012-11-02 Joseph Myers <joseph@codesourcery.com>
26183
a68d0680
JM
26184 * conform/conformtest.pl (@headers): Add fenv.h.
26185 * conform/data/fenv.h-data: New file.
26186 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26187 include of <math/fenv.h>.
26188
caf7f573
JM
26189 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26190 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26191 && !UNIX98]. Enables tests for XOPEN2K8.
26192 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26193 POSIX2008]: Likewise.
26194
6c073ad6
JM
26195 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26196 (struct rusage): Do not expect type or its members.
26197
0155d5b2
JM
26198 [BZ #3439]
26199 * math/math.h (FP_NAN): Define macro to integer constant usable in
26200 #if and use that to give value to enum constant.
26201 (FP_INFINITE): Likewise.
26202 (FP_ZERO): Likewise.
26203 (FP_SUBNORMAL): Likewise.
26204 (FP_NORMAL): Likewise.
26205
b5dcacb4
AS
262062012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26207
26208 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26209 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26210 arguments.
26211
f7934be8
RM
262122012-11-02 Roland McGrath <roland@hack.frob.com>
26213
26214 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26215 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26216 autoconf-time if not.
26217 * configure.in: Remove AC_PREREQ.
26218
d7d08bde
TMQMF
262192012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26220
26221 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26222 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26223 of the internal implementation.
26224
dcdae19a
JM
262252012-11-02 Joseph Myers <joseph@codesourcery.com>
26226
26227 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26228 except include of <misc/sys/syslog.h>.
26229
d6cffd3e
AS
262302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26231
26232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26233 function returns with a NULL context exit with zero.
26234
b3563932
TMQMF
262352012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26236
26237 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26238
b288a93d
L
262392012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26240
26241 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26242 (run_program_cmd): This.
26243 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26244 (tst_langinfo): New variable. Use it.
26245
a2421a68
SAS
262462012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26247
26248 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26249 floating point opcodes.
26250
6f796e1b
TS
262512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26252
7402596b
TS
26253 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26254 variable.
26255
d0d4f868
TS
26256 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26257
6f796e1b
TS
26258 * sysdeps/mach/hurd/powerpc: Remove directory.
26259 * sysdeps/mach/powerpc: Likewise.
26260
4da224a2
AS
262612012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26262
26263 * scripts/check-local-headers.sh: Ignore c++ headers.
26264
341dd673
TS
262652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26266
26267 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26268 __libc_cleanup_region_start argument.
26269
473611b2
JM
262702012-11-01 Joseph Myers <joseph@codesourcery.com>
26271
26272 [BZ #14784]
26273 [BZ #14785]
26274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26275 x * y using scaling, not as x * y + z.
26276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26278 * math/libm-test.inc (fma_test): Add more tests.
26279 (fma_test_towardzero): Likewise.
26280 (fma_test_downward): Likewise.
26281 (fma_test_upward): Likewise.
26282
4078da3d
TS
262832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26284
26285 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26286
903252aa
JM
262872012-10-31 Joseph Myers <joseph@codesourcery.com>
26288
26289 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26290 New variable.
26291
cbc818d0
TS
262922012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26293
26294 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26295
5a03cb1e
AS
262962012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26297
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26299 Fix sort order.
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26301 Likewise.
26302
90aff2ff
TMQMF
263032012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26304
26305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26306 Fix the order of the list for glibc 2.17.
26307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26308 Likewise.
26309
1818fcb7
AS
263102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26311
26312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26313
ef82f4da
JM
263142012-10-31 Joseph Myers <joseph@codesourcery.com>
26315
16a0e2ec
JM
26316 [BZ #14610]
26317 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26318 for low part of x being zero before using __atanl (y).
26319 * math/libm-test.inc (atan2_test): Add another test.
26320
0eb69512
JM
26321 * manual/install.texi (Configuring and compiling): Document
26322 general use of test-wrapper and test-wrapper-env.
26323 * INSTALL: Regenerated.
26324
ef82f4da
JM
26325 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26326 (__fma): Do not extract and scale down low bits on after-rounding
26327 systems when result rounded to normal precision would have normal
26328 exponent.
26329 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26330 (__fmal): Do not extract and scale down low bits on after-rounding
26331 systems when result rounded to normal precision would have normal
26332 exponent.
26333 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26334 (__fmal): Do not extract and scale down low bits on after-rounding
26335 systems when result rounded to normal precision would have normal
26336 exponent.
26337 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26338 macro.
26339 (fma_test): Add more tests.
26340 (fma_test_towardzero): Likewise.
26341 (fma_test_downward): Likewise.
26342 (fma_test_upward): Likewise.
26343
954ef0d9
L
263442012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 * sysdeps/i386/tininess.h: Renamed to ...
26347 * sysdeps/x86/tininess.h: This.
26348 * sysdeps/x86_64/tininess.h: Removed.
26349
df61ffb2
JM
263502012-10-30 Joseph Myers <joseph@codesourcery.com>
26351
26352 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26353 input. Use $(build-program-cmd).
26354 ($(objpfx)tst-array1-static.out): Likewise.
26355 ($(objpfx)tst-array2.out): Likewise.
26356 ($(objpfx)tst-array3.out): Likewise.
26357 ($(objpfx)tst-array4.out): Likewise.
26358 ($(objpfx)tst-array5.out): Likewise.
26359 ($(objpfx)tst-array5-static.out): Likewise.
26360
01767843
CM
263612012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26362
47cc1490
CM
26363 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26364 if defined.
26365
01767843
CM
26366 * nss/nsswitch.h (nss_interface_function): Provide new
26367 macro for use with NSS functions.
26368 * grp/initgroups.c: Use new macro.
26369 * nss/getXXbyYY.c: Likewise.
26370 * nss/getXXbyYY_r.c: Likewise.
26371 * nss/getXXent.c: Likewise.
26372 * nss/getXXent_r.c: Likewise.
26373 * sysdeps/posix/getaddrinfo.c: Likewise.
26374
8321aa97
AJ
263752012-10-30 Andreas Jaeger <aj@suse.de>
26376
26377 * po/ru.po: Update Russion translation from translation project.
26378
2a27fd6d
JM
263792012-10-30 Joseph Myers <joseph@codesourcery.com>
26380
8627a232
JM
26381 [BZ #14152]
26382 [BZ #14783]
26383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26384 result and shift together with sticky bit instead of replicating
26385 round-to-nearest rounding.
26386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26387 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26388 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26389 missing underflow exceptions.
26390 (fma_test_towardzero): Add more tests.
26391 (fma_test_downward): Likewise.
26392 (fma_test_upward): Likewise.
26393
2a27fd6d
JM
26394 [BZ #14047]
26395 * sysdeps/generic/tininess.h: New file.
26396 * sysdeps/i386/tininess.h: Likewise.
26397 * sysdeps/sh/tininess.h: Likewise.
26398 * sysdeps/x86_64/tininess.h: Likewise.
26399 * stdlib/tst-strtod-underflow.c: Likewise.
26400 * stdlib/tst-tininess.c: Likewise.
26401 * stdlib/strtod_l.c: Include <tininess.h>.
26402 (round_and_return): Do not set errno for exact underflow cases.
26403 Force an underflow exception when setting errno for underflow.
26404 Determine underflow based on rounding to normal precision if
26405 TININESS_AFTER_ROUNDING.
26406 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26407 ERANGE for exact underflow cases.
26408 * stdlib/Makefile (tests): Add tst-tininess and
26409 tst-strtod-underflow.
26410 ($(objpfx)tst-tininess): Use $(link-libm).
26411 ($(objpfx)tst-strtod-underflow): Likewise.
26412
e7170363
AJ
264132012-10-30 Andreas Jaeger <aj@suse.de>
26414
e5088dc6
AJ
26415 [BZ#14767]
26416 * elf/Makefile (tests): Remove conditional for have-initfini-array
26417 since this is now always required and the variable does not exist
26418 anymore.
26419 (tests-static): Likewise.
26420 (modules-names): Likewise.
26421
e7170363 26422 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
26423
26424 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26425 merged with constructor/destructor.
26426 (init_array): Likewise.
26427 * elf/tst-array2dep.c (fini_array): Likewise.
26428 (init_array): Likewise.
26429
60457d8a
MF
264302012-10-29 Mike Frysinger <vapier@gentoo.org>
26431
26432 * manual/message.texi: Delete @cartouche tags.
26433
8bece752
PT
264342012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26435
94ce799f
PT
26436 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26437 EOPNOTSUPP.
26438 * sysdeps/mach/hurd/fsync.c: Likewise.
26439
8bece752
PT
26440 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26441 [_POSIX_REALTIME_SIGNALS]: Change condition to
26442 [_POSIX_REALTIME_SIGNALS > 0].
26443
86ebe6b1
AJ
264442012-10-27 Andreas Jaeger <aj@suse.de>
26445
26446 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26447 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26449 [__WORDSIZE != 64]: Likewise.
26450
54399c08
L
264512012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26452
26453 * iconvdata/tst-table.sh: Remove ${SHELL}.
26454 * iconvdata/tst-tables.sh: Likewise.
26455
e2211bed
DM
264562012-10-25 David S. Miller <davem@davemloft.net>
26457
26458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26459 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26460 of strtoull.
26461
f303f97c
DM
26462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26463 ifunc-impl-list.c
26464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26465 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26466 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26467 file.
26468
1e9d84cd
RM
264692012-10-25 Roland McGrath <roland@hack.frob.com>
26470
26471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26472 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26473 __getdirentries.
26474
df381762
JM
264752012-10-25 Joseph Myers <joseph@codesourcery.com>
26476 Jim Blandy <jimb@codesourcery.com>
26477
26478 * scripts/cross-test-ssh.sh: New file.
26479 * manual/install.texi (Configuring and compiling): Document use of
26480 cross-test-ssh.sh.
26481 * INSTALL: Regenerated.
26482
bff64913
PT
264832012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26484
26485 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26486 EOPNOTSUPP.
26487
25fe8932
JM
264882012-10-25 Joseph Myers <joseph@codesourcery.com>
26489
26490 * Makeconfig (run-program-prefix): Fix comment.
26491
cc1290d0
JM
264922012-10-24 Joseph Myers <joseph@codesourcery.com>
26493 Jim Blandy <jimb@codesourcery.com>
26494
26495 * Makeconfig (test-wrapper): New variable,
26496 (test-wrapper-env): Likewise.
26497 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26498 (run-built-tests): Define to yes.
26499 (run-program-prefix): Use $(test-wrapper).
26500 (built-program-cmd): Likewise.
26501 * Rules (make-test-out): Use $(test-wrapper-env) and
26502 $(host-built-program-cmd).
26503 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26504 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26505 tst-pathopt.sh.
26506 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26507 $(test-wrapper-env) to tst-rtld-load-self.sh.
26508 ($(objpfx)order2.out): Use $(test-wrapper).
26509 ($(objpfx)tst-initorder.out): Likewise.
26510 ($(objpfx)tst-initorder2.out): Likewise.
26511 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26512 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26513 (test_wrapper_env): New variable. Use it to run ld.so.
26514 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26515 Use it to run ld.so.
26516 (test_wrapper_env): Likewise.
26517 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26518 $(test-wrapper) to run-iconv-test.sh.
26519 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26520 (ICONV): Use $test_wrapper.
26521 * posix/Makefile ($(objpfx)globtest.out): Pass
26522 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26523 globtest.sh, not $(run-program-prefix).
26524 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26525 (test_wrapper): Likewise.
26526 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26527 set together with run_via_rtld_prefix.
26528 (run_program_prefix): Define in terms of test_wrapper and
26529 run_via_rtld_prefix.
26530
6e6249d0
RM
265312012-10-24 Roland McGrath <roland@hack.frob.com>
26532
26533 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26534 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26535 Targets removed.
26536
26537 [BZ #14743]
26538 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26539 Declare __clock_getres, __clock_gettime, __clock_settime,
26540 __clock_nanosleep, and __clock_getcpuclockid.
26541 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26542 Remove librt_hidden_def (clock_gettime).
26543 * sysdeps/unix/clock_gettime.c: Likewise.
26544 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26545 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26546 * rt/clock_getres.c: Define __clock_getres as an alias.
26547 * sysdeps/posix/clock_getres.c: Likewise.
26548 * rt/clock_settime.c: Define __clock_settime as an alias.
26549 * sysdeps/unix/clock_settime.c: Likewise.
26550 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26551 * sysdeps/unix/clock_nanosleep.c: Likewise.
26552 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26553 * rt/clock-compat.c: New file.
26554 * rt/Makefile (librt-routines): Add clock-compat and move
26555 $(clock-routines) to ...
26556 (routines): ... here, new variable.
26557 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26558 Don't add get_clockfreq here.
26559 * rt/Versions (libc: GLIBC_2.17): New version set.
26560 Add clock_* symbols here.
26561 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26563 (GLIBC_2.17): Add clock_* symbols.
26564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26568 Likewise.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26570 Likewise.
26571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26575 * NEWS: Mention the move.
26576
26577 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26578 Use __open, __read, __close rather than their public counterparts.
26579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26580 (__get_clockfreq_via_cpuinfo): Likewise.
26581 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26582 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26583
26584 * config.h.in (HAVE_IFUNC): New #undef.
26585 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26586 was successful.
26587 * configure: Regenerated.
26588
0cae3f4b
MF
265892012-10-24 Mike Frysinger <vapier@gentoo.org>
26590
26591 * configure.in: Move READELF check to start of file.
26592 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26593 libc_cv_asm_gnu_indirect_function in the process.
26594 * configure: Regenerated.
26595
8175a253
MF
265962012-10-24 Mike Frysinger <vapier@gentoo.org>
26597
26598 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26599 send the output to /dev/null.
26600 (libc_cv_cc_with_libunwind): Likewise.
26601 (libc_cv_as_noexecstack): Likewise.
26602 * configure: Regenerate.
26603
0708a7d1
JM
266042012-10-24 Joseph Myers <joseph@codesourcery.com>
26605
10b40d85
JM
26606 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26607
0708a7d1
JM
26608 * posix/globtest.sh (TMPDIR): Do not set.
26609 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26610 (testout): Likewise.
26611
9fddec1a
AJ
266122012-10-24 Andreas Jaeger <aj@suse.de>
26613
3a8db22f
AJ
26614 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26615 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26616 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26617 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26618 posix_fadvise64, posix_fallocate64.
26619
9fddec1a
AJ
26620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26621 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26622 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26623 Likewise.
26624 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26625 Likewise.
26626 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26627
26628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26629 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26630 <bits/fcntl-linux.h>.
26631 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26632
26633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26634 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26635 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26636 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26637 [__WORDSIZE != 64]: Likewise.
26638
ebfd1bbd
JM
266392012-10-23 Joseph Myers <joseph@codesourcery.com>
26640
03ac099f
JM
26641 * Makeconfig (run-built-tests): New variable.
26642 * Rules [$(cross-compiling) = yes]: Change condition to
26643 [$(run-built-tests) = no].
26644 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26645 to [$(run-built-tests) = yes].
26646 * elf/Makefile [$(cross-compiling) = no]: Likewise
26647 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26648 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26649 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26650 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26651 * io/Makefile [$(cross-compiling) = no]: Likewise.
26652 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26653 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26654 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26655 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26656 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26657 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26658 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26659 * string/Makefile [$(cross-compiling) = no]: Likewise.
26660
ebfd1bbd
JM
26661 * posix/Makefile ($(objpfx)globtest.out): Pass
26662 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26663 $(rtld-installed-name).
26664 * posix/globtest.sh (elf_objpfx): Remove variable.
26665 (rtld_installed_name): Likewise.
26666 (library_path): Likewise.
26667 (run_program_prefix): New variable. Use for running globtest
26668 binary.
26669
166bca24
JB
266702012-10-23 Jim Blandy <jimb@codesourcery.com>
26671 Joseph Myers <joseph@codesourcery.com>
26672
26673 * Makeconfig (host-built-program-cmd): New variable.
26674 * elf/Makefile (tst-stackguard1-ARGS): Use
26675 $(host-built-program-cmd).
26676 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26677 (tst-spawn-ARGS): Likewise.
26678 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26679
88866099
JM
266802012-10-23 Joseph Myers <joseph@codesourcery.com>
26681 Jim Blandy <jimb@codesourcery.com>
26682
26683 * Makeconfig (run-via-rtld-prefix): New variable.
26684 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26685 (built-program-cmd): Likewise.
26686
b4b4c296
AJ
266872012-10-22 Andreas Jaeger <aj@suse.de>
26688
26689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26690 __O_RSYNC if it exists, otherwise to O_SYNC.
26691
6fb54a22
JB
266922012-10-22 Jim Blandy <jimb@codesourcery.com>
26693 Joseph Myers <joseph@codesourcery.com>
26694
26695 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26696 /dev/null.
26697 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26698 from /dev/null
26699 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26700 /dev/null.
26701
481b90b9
AJ
267022012-10-22 Andreas Jaeger <aj@suse.de>
26703
2a0e2669
AJ
26704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26705 Define always.
26706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26707
76e38f9a
AJ
26708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26709 bits/fcntl-linux.h.
26710
7cd37b43
AJ
26711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26712 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26713
481b90b9
AJ
26714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26715 to __O_LARGEFILE.
26716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26717 to __O_LARGEFILE.
26718
aba75984
JB
267192012-10-21 Jim Blandy <jimb@codesourcery.com>
26720 Joseph Myers <joseph@codesourcery.com>
26721
26722 * config.make.in (NM): New variable.
26723
88d4247f
AJ
267242012-10-21 Andreas Jaeger <aj@suse.de>
26725
26726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26727 definitions and declarations that are provided by
26728 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26729
f2eed205
L
267302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26731
26732 [BZ #14683]
26733 * elf/Makefile (tests-static): Add tst-leaks1-static.
26734 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26735 ($(objpfx)tst-leaks1-static): New rule.
26736 ($(objpfx)tst-leaks1-static-mem): Likewise.
26737 (tst-leaks1-static-ENV): New macro.
26738 * elf/dl-open.c (dl_open_worker): Check the main application
26739 only if SHARED is defined.
26740 * elf/tst-leaks1-static.c: New file.
26741
335e6931
AJ
267422012-10-20 Andreas Jaeger <aj@suse.de>
26743
26744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26745 generic values for Linux.
26746 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26747 and declarations that are provided by <bits/fcntl-linux.h> and
26748 include <bits/fcntl-linux.h>.
26749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26751
ac5c94d3
RM
267522012-10-20 Roland McGrath <roland@hack.frob.com>
26753
26754 * io/fcntl.h: Move include of <bits/types.h> to the top and
26755 include it unconditionally.
26756
de54b33a
L
267572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26758
228cfb01
L
26759 * wcsmbs/Makefile (tests-ifunc): New variable.
26760 (tests): Add $(tests-ifunc).
26761 * wcsmbs/test-wcschr-ifunc.c: New file.
26762 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26763 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26764 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26765 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26766 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26767
69f07e5f
L
26768 * string/Makefile (tests-ifunc): New variable.
26769 (tests): Add $(tests-ifunc).
26770 * string/test-memccpy.c (TEST_NAME): New macro.
26771 * string/test-memchr.c (TEST_NAME): Likewise.
26772 * string/test-memcmp.c (TEST_NAME): Likewise.
26773 * string/test-memcpy.c (TEST_NAME): Likewise.
26774 * string/test-memmem.c (TEST_NAME): Likewise.
26775 * string/test-memmove.c (TEST_NAME): Likewise.
26776 * string/test-memset.c (TEST_NAME): Likewise.
26777 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26778 * string/test-stpcpy.c (TEST_NAME): Likewise.
26779 * string/test-stpncpy.c (TEST_NAME): Likewise.
26780 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26781 * string/test-strcasestr.c (TEST_NAME): Likewise.
26782 * string/test-strcat.c (TEST_NAME): Likewise.
26783 * string/test-strchr.c (TEST_NAME): Likewise.
26784 * string/test-strcmp.c(TEST_NAME): Likewise.
26785 * string/test-strcpy.c (TEST_NAME): Likewise.
26786 * string/test-strcspn.c (TEST_NAME): Likewise.
26787 * string/test-strlen.c (TEST_NAME): Likewise.
26788 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26789 * string/test-strncmp.c (TEST_NAME): Likewise.
26790 * string/test-strncpy.c (TEST_NAME): Likewise.
26791 * string/test-strnlen.c (TEST_NAME): Likewise.
26792 * string/test-strpbrk.c (TEST_NAME): Likewise.
26793 * string/test-strrchr.c (TEST_NAME): Likewise.
26794 * string/test-strspn.c (TEST_NAME): Likewise.
26795 * string/test-strstr.c (TEST_NAME): Likewise.
26796 * string/test-bcopy-ifunc.c: New file.
26797 * string/test-bzero-ifunc.c: Likewise.
26798 * string/test-memccpy-ifunc.c: Likewise.
26799 * string/test-memchr-ifunc.c: Likewise.
26800 * string/test-memcmp-ifunc.c: Likewise.
26801 * string/test-memcpy-ifunc.c: Likewise.
26802 * string/test-memmem-ifunc.c: Likewise.
26803 * string/test-memmove-ifunc.c: Likewise.
26804 * string/test-mempcpy-ifunc.c: Likewise.
26805 * string/test-memset-ifunc.c: Likewise.
26806 * string/test-rawmemchr-ifunc.c: Likewise.
26807 * string/test-stpcpy-ifunc.c: Likewise.
26808 * string/test-stpncpy-ifunc.c: Likewise.
26809 * string/test-strcasecmp-ifunc.c: Likewise.
26810 * string/test-strcasestr-ifunc.c: Likewise.
26811 * string/test-strcat-ifunc.c: Likewise.
26812 * string/test-strchr-ifunc.c: Likewise.
26813 * string/test-strchrnul-ifunc.c: Likewise.
26814 * string/test-strcmp-ifunc.c: Likewise.
26815 * string/test-strcpy-ifunc.c: Likewise.
26816 * string/test-strcspn-ifunc.c: Likewise.
26817 * string/test-strlen-ifunc.c: Likewise.
26818 * string/test-strncasecmp-ifunc.c: Likewise.
26819 * string/test-strncat-ifunc.c: Likewise.
26820 * string/test-strncmp-ifunc.c: Likewise.
26821 * string/test-strncpy-ifunc.c: Likewise.
26822 * string/test-strnlen-ifunc.c: Likewise.
26823 * string/test-strpbrk-ifunc.c: Likewise.
26824 * string/test-strrchr-ifunc.c: Likewise.
26825 * string/test-strspn-ifunc.c: Likewise.
26826 * string/test-strstr-ifunc.c: Likewise.
26827
de54b33a
L
26828 * debug/Makefile (tests-ifunc): New variable.
26829 (tests): Add $(tests-ifunc).
26830 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26831 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26832 * debug/test-stpcpy_chk-ifunc.c: New file.
26833 * debug/test-strcpy_chk-ifunc.c: Likewise.
26834
88481c16
SP
268352012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26836
26837 [BZ #13601]
26838 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26839 header is not read in.
26840
135948bd
JM
268412012-10-19 Joseph Myers <joseph@codesourcery.com>
26842
89f1c388
JM
26843 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26844 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26845 directly. Pass built executable to script as
26846 $(built-program-cmd).
26847 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26848 $testprogram without using LD_LIBRARY_PATH and $ldso.
26849
e40a0d21
JM
26850 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26851 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26852 $(rtld-installed-name).
26853 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26854 (rtld_installed_name): Likewise.
26855 (library_path): Likewise.
26856 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26857 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26858 $(run-program-prefix) to tst-tables.sh.
26859 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26860 it to run tst-table-from and tst-table-to.
26861 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26862 Pass it to tst-table.sh.
26863 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26864 $(run-program-prefix) to tst-gettext.sh.
26865 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26866 tst-translit.sh.
26867 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26868 tst-gettext2.sh.
26869 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26870 to run tst-gettext.
26871 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26872 to run tst-gettext2.
26873 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26874 to run tst-translit.
26875 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26876 $(run-program-prefix) to tst-mtrace.sh.
26877 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26878 to run tst-mtrace.
26879 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26880 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26881 $(rtld-installed-name).
26882 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26883 (rtld_installed_name): Likewise.
26884 (run_program_prefix): New variable. Use it to run wordexp-test.
26885
728e272a
JM
26886 * Makeconfig (ARCH): Remove all definitions.
26887 (machine): Likewise.
26888 [ARCH]: Remove conditional code.
26889 [!objdir]: Give error.
26890 [!objdir] (objpfx): Remove.
26891 [!objdir] (common-objpfx): Likewise.
26892 [!objdir] (common-objdir): Likewise.
26893 * configure.in (config_makefile): Remove. Hardcode Makefile in
26894 AC_CONFIG_FILES call.
26895 * configure: Regenerated.
26896
d528cdcf
JM
26897 [BZ #13888]
26898 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26899 or TMPDIR.
26900 (testout): Likewise.
26901
135948bd
JM
26902 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26903 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26904 $(rtld-installed-name).
26905 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26906 (rtld_installed_name): Likwise.
26907 (runit): Remove function.
26908 (run_getconf): New variable, Use it for running getconf binary.
26909
38c78296
L
269102012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26911
26912 [BZ #14716]
26913 * string/test-memmem.c (check_result): New function.
26914 (do_one_test): Use it.
26915 (check1): New function.
26916 (test_main): Use it.
26917
d077f65f
MT
269182012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26919
26920 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26921
ced52c71
JM
269222012-10-18 Joseph Myers <joseph@codesourcery.com>
26923
26924 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26925 (_G_LSEEK64): Likewise.
26926 (_G_MMAP64): Likewise.
26927 (_G_FSTAT64): Likewise.
26928 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26929 (_G_LSEEK64): Likewise.
26930 (_G_MMAP64): Likewise.
26931 (_G_FSTAT64): Likewise.
26932 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26933 unconditional. Call __mmap64 directly.
26934 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26935 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26936 __lseek64 directly.
26937 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26938 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26939 __mmap64 directly.
26940 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26941 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26942 __lseek64 directly.
26943 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26944 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26945 __lseek64 directly.
26946 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26947 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26948 __lseek64 directly.
26949 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26950 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26951 __fxstat64 directly.
26952 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26953 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26954 unconditional.
26955 (freopen64) [!_G_OPEN64]: Remove conditional code.
26956 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26957 unconditional.
26958 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26959 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26960 unconditional.
26961 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26962 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26963 unconditional.
26964 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26965 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26966 unconditional.
26967 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26968 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26969 unconditional.
26970 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26971 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26972 unconditional.
26973 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26974 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26975 unconditional.
26976 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26977
b741de23
SP
269782012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26979
26980 [BZ #12140]
26981 * manual/memory.texi (Malloc Tunable Parameters): Add note
26982 about free list pointers overwriting some perturb bytes.
26983 Wording suggested by Roland McGrath.
26984
f9b9d9c9
JM
269852012-10-17 Joseph Myers <joseph@codesourcery.com>
26986
26987 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26988 (lgamma_test): Likewise.
26989 (tgamma_test): Likewise.
26990
172a631a
FW
269912012-10-16 Florian Weimer <fweimer@redhat.com>
26992
26993 [BZ #14700]
26994 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26995 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26996
e9f37252
MK
269972012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26998
26999 * NEWS: Mention BZ #14716.
27000 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27001 when removing AVAILABLE1_USES_J macro.
27002
d394eb74
L
270032012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27004
27005 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27006 (__bswap_64): __uint64_t for unsigned 64-bit int.
27007
ca38dc17
AS
270082012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27009
27010 * include/string.h (memmem): Declare libc hidden alias.
27011 * string/memmem.c (memmem): Define libc hidden alias.
27012 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27013 __read, __close instead of open, read, close.
27014
9a387d1f
L
270152012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27016
ac49ecaf
L
27017 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27018 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27019 global and hidden.
27020 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27021 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27022 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27023 Likewise.
27024 (__rawmemchr_sse2): Likewise.
27025 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27026 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27027 (__strchr_sse2): Likewise.
27028 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27029 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27030 (__strcasecmp_sse2): Likewise.
27031 (__strncasecmp_sse2): Likewise.
27032 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27033 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27034 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27035 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27036 (__strrchr_sse2): Likewise.
27037 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27038 ifunc-impl-list.c.
27039 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27040 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27041 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27042 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27043 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27044 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27045 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27046 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27047 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27048 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27049 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27051 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27052 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27053 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27054 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27055 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27056 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27057 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27058 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27059 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27060 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27061 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27062 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27063 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27065 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27066 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27067 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27068 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27069
b090e8ea
L
27070 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27071 global and hidden.
27072 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27073 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27074 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27075 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27076 Likewise.
27077 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27078 Likewise.
27079 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27080 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27081 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27082 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27083 ifunc-impl-list.c.
27084 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27085 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27086 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27087 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27088 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27089 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27090 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27091 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27092 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27093 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27094 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27095 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27096 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27097 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27098 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27099 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27100 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27101 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27102 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27103 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27104 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27105 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27106 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27107 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27109 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27110 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27111 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27112 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27113 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27114 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27115 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27116 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27117 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27118 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27119 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27120 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27121 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27122 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27123 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27124 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27125
11dd4af6
L
27126 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27127 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27128 * include/ifunc-impl-list.h: New file.
27129 * misc/ifunc-impl-list.c: Likewise.
27130 * misc/Makefile (routines): Add ifunc-impl-list.
27131 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27132 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
27133 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27134 TEST_NAME]: New variables.
11dd4af6
L
27135 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27136 are defined.
27137 (test_init): Call __libc_ifunc_impl_list to initialize
27138 func_list if TEST_IFUNC and TEST_NAME are defined.
27139
9a387d1f
L
27140 * string/Makefile (strop-tests): Add bcopy and bzero.
27141 * string/test-bcopy.c: New file.
27142 * string/test-bzero.c: Likewise.
27143 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27144 defined.
27145 * string/test-memset.c: Support bzero test if TEST_BZERO is
27146 defined.
27147 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27148 __libc_memmove.
27149 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27150 __libc_memset.
27151 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27152 of memset.
27153
472371b9
JM
271542012-10-10 Joseph Myers <joseph@codesourcery.com>
27155
1e4a9536
JM
27156 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27157 * configure: Regenerated.
27158
d173d12e
JM
27159 * Makeconfig (+link-static-before-libc): Don't include
27160 $(link-static-libc).
27161
472371b9
JM
27162 * libio/libio.h (_IO_pos_t): Remove.
27163
89a3ad0b
AO
271642012-10-10 Alexandre Oliva <aoliva@redhat.com>
27165
27166 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27167 McGrath.
27168
e7451425
AO
271692012-10-10 Alexandre Oliva <aoliva@redhat.com>
27170
27171 * crypt/crypt-entry.c: Include fips-private.h.
27172 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27173 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27174 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27175 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27176
4ba74a35
AO
271772012-10-10 Alexandre Oliva <aoliva@redhat.com>
27178
27179 * crypt/crypt-private.h: Include stdbool.h.
27180 (_ufc_setup_salt_r): Return bool.
27181 * crypt/crypt-entry.c: Include errno.h.
27182 (__crypt_r): Return NULL with EINVAL for bad salt.
27183 * crypt/crypt_util.c (bad_for_salt): New.
27184 (_ufc_setup_salt_r): Check that salt is long enough and within
27185 the specified alphabet.
27186 * crypt/badsalttest.c: New file.
27187 * crypt/Makefile (tests): Add it.
27188 ($(objpfx)badsalttest): New.
27189
f96f1242
MK
271902012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27191
27192 * NEWS: Add entry for BZ #14602.
27193
0e8e0c1c
JM
271942012-10-09 Joseph Myers <joseph@codesourcery.com>
27195
27196 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27197 type-generic.
27198 * math/libm-test.inc: Update comment listing what functions and
27199 macros are tested.
27200 (isgreater_test): New function.
27201 (isgreaterequal_test): Likewise.
27202 (isless_test): Likewise.
27203 (islessequal_test): Likewise.
27204 (islessgreater_test): Likewise.
27205 (isunordered_test): Likewise.
27206 (main): Call the new functions.
27207
273edc5e
RM
272082012-10-09 Roland McGrath <roland@hack.frob.com>
27209
b8493de0
RM
27210 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27211 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27212 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27213 * sysdeps/i386/configure: Regenerated.
27214 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27215 * sysdeps/mach/configure: Regenerated.
27216 * sysdeps/mach/hurd/configure: Regenerated.
27217 * sysdeps/powerpc/configure: Regenerated.
27218 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27219 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27220 * sysdeps/s390/s390-32/configure: Regenerated.
27221 * sysdeps/s390/s390-64/configure: Regenerated.
27222 * sysdeps/sh/configure: Regenerated.
27223 * sysdeps/sparc/configure: Regenerated.
27224 * sysdeps/unix/sysv/linux/configure: Regenerated.
27225 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27226 * sysdeps/x86_64/configure: Regenerated.
27227
273edc5e
RM
27228 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27229 defined. Don't check if MAP is NULL.
27230
c8450f70
JM
272312012-10-09 Joseph Myers <joseph@codesourcery.com>
27232
27233 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27234 (_G_stat64): Likewise.
27235 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27236 (_G_stat64): Likewise.
27237 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27238 instead of struct _G_stat64.
27239 * libio/fileops.c (mmap_remap_check): Likewise.
27240 (decide_maybe_mmap): Likewise.
27241 (_IO_new_file_seekoff): Likewise.
27242 (_IO_file_stat): Likewise.
27243 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27244 _G_off64_t.
27245 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27246 instead of struct _G_stat64.
27247 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27248
57e605ba
MK
272492012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27250
27251 [BZ #14602]
27252 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27253 Replace with ...
27254 (CHECK_EOL): New macro.
27255 (two_way_short_needle): Check beginning of haystack for EOL. Use
27256 CHECK_EOL.
27257 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27258 Replace with CHECK_EOL.
27259 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27260 Replace with CHECK_EOL.
27261
ef1bb361
JM
272622012-10-08 Joseph Myers <joseph@codesourcery.com>
27263
27264 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27265 type-generic.
27266 * math/libm-test.inc: Update comment listing what functions and
27267 macros are tested.
27268 (finite_test): New function.
27269 (isinf_test): Likewise.
27270 (isnan_test): Likewise.
27271 (fpclassify_test): Test subnormal input.
27272 (isfinite_test): Likewise.
27273 (isnormal_test): Likewise.
27274 (main): Call the new functions.
27275
55f11534
JN
272762012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27277
27278 [BZ #14660]
27279 * Makerules (%.dynsym): Force C locale when running
27280 $(OBJDUMP) --dynamic-syms.
27281
1ab29350
AS
272822012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27283
27284 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27285 <stdint.h>.
27286
f1ecb7ef
DM
272872012-10-06 David S. Miller <davem@davemloft.net>
27288
27289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27290 upper 32-bits of the length value in %o2 since we use branch-on-register
27291 tests which consider the entire 64-bit register.
27292
5d41d91a
L
272932012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27294
27295 * string/test-strstr.c (check2): Add a test for page boundary.
27296
3baddb72
DM
272972012-10-05 David S. Miller <davem@davemloft.net>
27298
27299 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27300 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27301 file.
27302 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27303 sysdep_routines.
27304 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27305 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27306 and bzero when HWCAP_SPARC_CRYPTO is present.
27307
9cee5585
L
273082012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27309
d7e0dab9
L
27310 [BZ #14602]
27311 * string/test-strstr.c (check2): New function.
27312 (test_main): Call check2.
27313
03759f47
L
27314 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27315 and bug-strchr1.
27316 * string/bug-strcasestr1.c (do_test): Moved to ...
27317 * string/test-strcasestr.c (check1): Here. New function.
27318 (do_one_test): Break out result checking code into ...
27319 (check_result): This. New function.
27320 (do_one_test): Call check_result.
27321 (test_main): Call check1.
27322 * string/bug-strchr1.c (do_test): Moved to ...
27323 * string/test-strchr.c (check1): Here. New function.
27324 (do_one_test): Break out result checking code into ...
27325 (check_result): This. New function.
27326 (do_one_test): Call check_result.
27327 (test_main): Call check1.
27328 * string/bug-strstr1.c (main): Moved to ...
046f153e 27329 * string/test-strstr.c (check1): Here. New function.
03759f47
L
27330 (do_one_test): Break out result checking code into ...
27331 (check_result): This. New function.
27332 (do_one_test): Call check_result.
27333 (test_main): Call check1.
27334 * string/bug-strcasestr1.c: Removed.
27335 * string/bug-strchr1.c: Likewise.
27336 * string/bug-strstr1.c: Likewise.
27337
53cea63e
L
27338 * elf/Makefile (dl-routines): Add hwcaps.
27339 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27340 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27341 (_dl_important_hwcaps): Moved to ...
27342 * elf/dl-hwcaps.c: Here. New file.
27343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27344
9cee5585 27345 [BZ #14557]
bb859b06
L
27346 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27347 if IS_IN_rtld isn't defined.
27348
9cee5585
L
27349 * elf/dl-support.c (_dl_sysinfo_map): New.
27350 Include "get-dynamic-info.h" and "setup-vdso.h".
27351 (_dl_non_dynamic_init): Call setup_vdso.
27352 * elf/dynamic-link.h: Don't include <assert.h>.
27353 (elf_get_dynamic_info): Moved to ...
27354 * elf/get-dynamic-info.h: Here. New file.
27355 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27356 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27357 * elf/setup-vdso.h: Here. New file.
27358 * elf/rtld.c: Include "setup-vdso.h".
27359 (dl_main): Call setup_vdso.
27360
23c31b76
JM
273612012-10-05 Joseph Myers <joseph@codesourcery.com>
27362
28234b07
JM
27363 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27364 creal in comment listing functions tested. List finite, isinf,
27365 isnan, isless, islessequal, isgreater, isgreaterequal,
27366 islessgreater, isunordered, lgamma_r and pow10 as functions and
27367 macros not tested. Mention which functions not tested are aliases
27368 for other functions. Fix typo. Note that signs of NaNs are not
27369 tested.
27370
23c31b76
JM
27371 * scripts/config.guess: Update from config.git.
27372 * scripts/config.sub: Likewise.
27373
9043e228
RM
273742012-10-04 Roland McGrath <roland@hack.frob.com>
27375
27376 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27377 * misc/madvise.c (madvise): Renamed to __madvise.
27378 Make madvise a weak alias.
27379 * include/sys/mman.h: Declare __madvise.
27380 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27381 * sysdeps/unix/syscalls.list
27382 (madvise): Make __madvise the strong name, and madvise a weak alias.
27383 * sysdeps/unix/sysv/linux/syscalls.list
27384 (madvise, mmap): Remove redundant entries.
27385 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27386 * malloc/malloc.c (mtrim): Likewise.
27387 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27388
f57f8055
RM
273892012-10-03 Roland McGrath <roland@hack.frob.com>
27390
27391 * sysdeps/mach/hurd/dl-cache.c: File removed.
27392 * config.h.in (USE_LDCONFIG): New #undef.
27393 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27394 * configure: Regenerated.
27395 * elf/Makefile (dl-routines): Add dl-cache only under
27396 [$(use-ldconfig) = yes].
27397 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27398 cache on [USE_LDCONFIG].
27399 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27400 [USE_LDCONFIG].
27401 * elf/rtld.c (dl_main): Likewise.
27402
5bb0c10a
PT
274032012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27404
27405 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27406 _SC_LEVEL4_CACHE_LINESIZE.
27407
010188c6
RM
274082012-10-03 Roland McGrath <roland@hack.frob.com>
27409
27410 * sysdeps/unix/bsd/confstr.h: File removed.
27411
b6c5ec07
AO
274122012-10-02 Alexandre Oliva <aoliva@redhat.com>
27413
27414 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27415 sys/sdt-config.h.
27416
408223d4
RM
274172012-10-02 Roland McGrath <roland@hack.frob.com>
27418
27419 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27420 Make 'mapoff' field ElfW(Off) rather than off_t.
27421
bb9510dc
DL
274222012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27423
fc997c6e
DL
27424 * nscd/Makefile: Remove nscd-cflags and all its users.
27425 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27426 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27427
bb9510dc
DL
27428 [BZ #10631]
27429 * malloc.c (malloc_printerr): Clarify error message.
27430
05699367
L
274312012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27432
27433 [BZ #14648]
27434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27435 Set bit_FMA_Usable if FMA is supported.
27436 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27437 macro.
27438 (bit_FMA4_Usable): Updated.
27439 (index_FMA_Usable): New macro.
27440 (CPUID_FMA): Likewise
27441 (HAS_FMA): Defined with bit_FMA_Usable.
27442
51367701
RM
274432012-10-01 Roland McGrath <roland@hack.frob.com>
27444
27445 * bits/types.h (__swblk_t): Type removed.
27446 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27447 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27449 (__SWBLK_T_TYPE): Likewise.
27450 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27451 (__SWBLK_T_TYPE): Likewise.
27452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27453 (__SWBLK_T_TYPE): Likewise.
27454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27455 (__SWBLK_T_TYPE): Likewise.
27456
4d57bf63 274572012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 27458 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
27459
27460 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27461 (xdr_mapname): Use YPMAXMAP as maxsize.
27462 (xdr_peername): Use YPMAXPEER as maxsize.
27463 (xdr_keydat): Use YPAXRECORD as maxsize.
27464 (xdr_valdat): Use YPMAXRECORD as maxsize.
27465
93c65d43
RM
274662012-10-01 Roland McGrath <roland@hack.frob.com>
27467
497a03d6
RM
27468 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27469
93c65d43
RM
27470 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27471 * csu/init-first.c: ... here.
27472 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27473 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27474 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27475 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27476 * sysdeps/i386/init-first.c: File removed.
27477 * sysdeps/sh/init-first.c: File removed.
27478
bec749fd
JM
274792012-10-01 Joseph Myers <joseph@codesourcery.com>
27480
27481 [BZ #14645]
27482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27483 if x * y might underflow to zero and z is zero.
27484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27486 * math/libm-test.inc (min_subnorm_value): New variable.
27487 (fma_test): Add more tests.
27488 (fma_test_towardzero): Likewise.
27489 (fma_test_downward): Likewise
27490 (fma_test_upward): Likewise.
27491 (initialize): Set min_subnorm_value.
27492
8ec5b013
JM
274932012-09-29 Joseph Myers <joseph@codesourcery.com>
27494
27495 [BZ #14638]
27496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27497 0 + 0.
27498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27499 mode for addition resulting in exact zero.
27500 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27502 exact 0 + 0.
27503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27505 * math/libm-test.inc (fma_test): Add more tests.
27506 (fma_test_towardzero): New function.
27507 (fma_test_downward): Likewise.
27508 (fma_test_upward): Likewise.
27509 (main): Call the new functions.
27510
b1fa802e
DM
275112012-09-28 David S. Miller <davem@davemloft.net>
27512
27513 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27514
d3b9fd9e
RM
275152012-09-28 Roland McGrath <roland@hack.frob.com>
27516
ea4d37b3
RM
27517 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27518 instead of SIGALRM.
27519
ac51c949
RM
27520 * sysdeps/gnu/_G_config.h: Moved to ...
27521 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27522 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27523 * sysdeps/generic/_G_config.h: ... here.
27524
28c195f7
RM
27525 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27526
848917f9
RM
27527 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27528
6bacf05b
RM
27529 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27530 Conditionalize target on [libnss_test1.so-version].
27531
91363dbb
RM
27532 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27533
cc87f7d8
RM
27534 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27535 (elfobjdir): Move out of conditionals.
27536
b1c608fe
RM
27537 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27538 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27539 (__nss_lookup_function): Conditionalize label remove_from_tree on
27540 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 27541
1d9a6d96
DM
275422012-09-28 David S. Miller <davem@davemloft.net>
27543
27544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27545 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27546 file.
27547 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27548 sysdep_routines.
27549 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27551 when HWCAP_SPARC_CRYPTO is present.
27552
72581615
PT
275532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27554
27555 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27556
715a900c
JL
275572012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27558
27559 [BZ #6530]
27560 * stdio-common/vfprintf.c (process_string_arg): Revert
27561 2000-07-22 change.
27562
275632011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27564
27565 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27566 for testcase.
27567 * stdio-common/tst-sprintf.c: Include <locale.h>
27568 (main): Test sprintf's handling of incomplete multibyte
27569 characters.
27570
9bac1d86
L
275712012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27572
27573 * elf/dl-runtime.c (VERSYMIDX): Removed.
27574 * elf/dl-version.c (VERSYMIDX): Likewise.
27575 * elf/do-rel.h (VERSYMIDX): Likewise.
27576 (VALIDX): Likewise.
27577 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27578 * elf/rtld.c (VALIDX): Likewise.
27579 (ADDRIDX): Likewise.
9bac1d86
L
27580 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27581 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27582 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
27583 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27584 (VALIDX): Likewise.
27585 (ADDRIDX): Likewise.
9bac1d86 27586
b31606c0
PT
275872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27588
27589 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27590
11541177
JL
275912012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27592
27593 [BZ #11438]
27594 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27595 to global scope.
27596 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27597 addresses are in the same scope as 192.0.2/24.
27598 * posix/gai.conf: Document new scope table defaults.
27599
adb26fae
SP
276002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27601
27602 [BZ #5298]
27603 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27604 for ftell. Compute offsets from write pointers instead.
27605 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27606
4573c6b0
SP
276072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27608
27609 [BZ #14543]
27610 * libio/Makefile (tests): New test case tst-fseek.
27611 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27612 combination works in wide mode.
27613 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27614 state when the external buffer state changes.
27615
aa9bbfe6
DM
276162012-09-27 David S. Miller <davem@davemloft.net>
27617
27618 [BZ #14376]
27619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27620 pass reloc->r_addend in as the 'high' argument to
27621 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27622
784421e7
DM
27623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27624
c39bc8b8
PT
276252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27626
27627 * rt/tst-aio2.c: Include <pthread.h>.
27628 * rt/tst-aio3.c: Likewise.
27629
1ccc2399
SE
276302012-09-27 Steve Ellcey <sellcey@mips.com>
27631
27632 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27633
31ed4153
L
276342012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27635
25f5f885
L
27636 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27637 contents on [SHARED].
31ed4153 27638
b7bfe116
MP
276392012-09-26 Marek Polacek <polacek@redhat.com>
27640
27641 [BZ #14530]
27642 [BZ #13741]
27643 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27644 for C++ and GCC <4.3 as well as for non GCC compilers.
27645
43c4edba
MT
276462012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27647
27648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27649
6a1bf82f
RM
276502012-09-25 Roland McGrath <roland@hack.frob.com>
27651
27652 * Makefile.in (all, install): Declare with .PHONY.
27653 Reported by Michael Hope <michael.hope@linaro.org>.
27654
8ad11b9a
TMQMF
276552012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27656
27657 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27658 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27659 system header.
27660 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27661 Likewise.
27662 (sydep_routines): Add the new and the internal functions.
27663 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27664 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27666 (GLIBC_2.17): Add the new function.
27667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27668 (GLIBC_2.17): Likewise.
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27670 (GLIBC_2.17): Likewise.
27671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27672 (GLIBC_2.17): Likewise.
27673 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27674
7e2fca8d
AM
276752012-09-25 Alan Modra <amodra@gmail.com>
27676
27677 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27678 Add release barrier before setting once_control to say
27679 initialisation is done. Add hints on lwarx. Use macro in
27680 place of isync.
27681 (clear_once_control): Add release barrier.
27682
b87c4b24
JM
276832012-09-25 Joseph Myers <joseph@codesourcery.com>
27684
d032e0d2
JM
27685 [BZ #13629]
27686 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27687 specially.
27688 * math/s_clog10.c (__clog10): Likewise.
27689 * math/s_clog10f.c (__clog10f): Likewise.
27690 * math/s_clog10l.c (__clog10l): Likewise.
27691 * math/s_clogf.c (__clogf): Likewise.
27692 * math/s_clogl.c (__clogl): Likewise.
27693 * math/Makefile (libm-calls): Add x2y2m1.
27694 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27695 (__x2y2m1): Likewise.
27696 (__x2y2m1l): Likewise.
27697 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27698 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27701 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27702 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27703 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27704 * sysdeps/i386/fpu/libm-test-ulps: Update.
27705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27706
b87c4b24
JM
27707 [BZ #14621]
27708 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27709 int as type of variable DEPTH.
27710 (glob): Use size_t instead of int as type of variables NEWCOUNT
27711 and OLD_PATHC.
27712
6d3bf199
LD
277132012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27714
22bf5c17
LD
27715 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27716 Add s_sincosf-sse2.
27717 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27718 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27719 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27720 macros for using routine as __sincosf_ia32.
27721 Use macro for function declaration and weak_alias.
27722 * sysdeps/i386/fpu/libm-test-ulps: Update.
27723
27724 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27726
27727 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
27728 subnormal argument.
27729 * math/s_cexpf.c (__cexpf): Likewise.
27730 * math/s_csinf.c (__csinf): Likewise.
27731 * math/s_csinhf.c (__csinhf): Likewise.
27732 * math/s_ctanf.c (__ctanf): Likewise.
27733 * math/s_ctanhf.c (__ctanhf): Likewise.
27734 * math/s_ccosh.c (__ccoshf): Likewise.
27735 * math/s_cexp.c (__cexpl): Likewise.
27736 * math/s_csin.c (__csin): Likewise.
27737 * math/s_csinh.c (__csinh): Likewise.
27738 * math/s_ctan.c (__ctan): Likewise.
27739 * math/s_ctanh.c (ctanh): Likewise.
27740 * math/s_ccoshl.c (__ccoshl): Likewise.
27741 * math/s_cexpl.c (__cexpl): Likewise.
27742 * math/s_csinl.c (__csinl): Likewise.
27743 * math/s_csinhl.c (__csinhl): Likewise.
27744 * math/s_ctanl.c (__ctanl): Likewise.
27745 * math/s_ctanhl.c (__ctanhl): Likewise.
27746
203e5603
JM
277472012-09-25 Joseph Myers <joseph@codesourcery.com>
27748
27749 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27750 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27751 (_IO_off_t): Define to __off_t, not _G_off_t.
27752 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27753 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27754 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27755 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27756 type of __dummy and __dummy2 fields.
27757 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27758 (_G_ssize_t): Likewise.
27759 (_G_off_t): Likewise.
27760 (_G_pid_t): Likewise.
27761 (_G_uid_t): Likewise.
27762 (_G_wchar_t): Likewise.
27763 (_G_wint_t): Likewise.
27764 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27765 (_G_ssize_t): Likewise.
27766 (_G_off_t): Likewise.
27767 (_G_pid_t): Likewise.
27768 (_G_uid_t): Likewise.
27769 (_G_wchar_t): Likewise.
27770 (_G_wint_t): Likewise.
27771 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27772 (_G_ssize_t): Likewise.
27773 (_G_off_t): Likewise.
27774 (_G_pid_t): Likewise.
27775 (_G_uid_t): Likewise.
27776 (_G_wchar_t): Likewise.
27777 (_G_wint_t): Likewise.
27778
9fab36eb
SP
277792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27780
27781 * malloc/arena.c: Include malloc-sysdep.h.
27782 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27783 is sufficient to shrink the heap or an unmap is needed.
27784 * sysdeps/generic/malloc-sysdep.h: New file. Define
27785 new function check_may_shrink_heap.
27786 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27787 new function check_may_shrink_heap.
27788
2b4f00d1
SP
277892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27790
27791 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27792 comments.
27793
9a9028b1
DL
277942012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27795
57c69bef
DL
27796 * catgets/test-gencat.sh: Add "set -e".
27797 * elf/tst-pathopt.sh: Likewise.
27798 * grp/tst_fgetgrent.sh: Likewise.
27799 * iconvdata/run-iconv-test.sh: Likewise.
27800 * intl/tst-gettext.sh: Likewise.
27801 * intl/tst-gettext2.sh: Likewise.
27802 * intl/tst-gettext4.sh: Likewise.
27803 * intl/tst-gettext6.sh: Likewise.
27804 * intl/tst-translit.sh: Likewise.
27805 * io/ftwtest-sh: Likewise.
27806 * libio/test-freopen.sh: Likewise.
27807 * malloc/tst-mtrace.sh: Likewise.
27808 * posix/globtest.sh: Likewise.
27809 * posix/tst-getconf.sh: Likewise.
27810 * posix/wordexp-tst.sh: Likewise.
27811 * stdio-common/tst-printf.sh: Likewise.
27812 * stdio-common/tst-unbputc.sh: Likewise.
27813 * stdlib/tst-fmtmsg.sh: Likewise.
27814 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27815 * catgets/Makefile: Do not specify -e option when running
27816 testsuite shell scripts.
27817 * elf/Makefile: Likewise.
27818 * grp/Makefile: Likewise.
27819 * iconvdata/Makefile: Likewise.
27820 * intl/Makefile: Likewise.
27821 * io/Makefile: Likewise.
27822 * libio/Makefile: Likewise.
27823 * malloc/Makefile: Likewise.
27824 * posix/Makefile: Likewise.
27825 * stdio-common/Makefile: Likewise.
27826 * stdlib/Makefile: Likewise.
27827 * sysdeps/x86_64/Makefile: Likewise.
27828
9a9028b1
DL
27829 * io/ftwtest-sh: Add copyright header.
27830 * posix/globtest.sh: Likewise.
27831 * posix/tst-getconf.sh: Likewise.
27832 * posix/wordexp-tst.sh: Likewise.
27833 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27834
ced6f16e
L
278352012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27836
94b32c39
L
27837 [BZ #13679]
27838 * Makeconfig (+link): Defined as $(+link-static) if
27839 $(build-shared) isn't yes.
27840 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27841 isn't yes.
27842 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27843
189e935b
L
27844 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27845
ced6f16e
L
27846 [BZ #14562]
27847 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27848 new chunk size with MALLOC_ALIGN_MASK.
27849
a9f8e53a
JM
278502012-09-24 Joseph Myers <joseph@codesourcery.com>
27851
27852 [BZ #5044]
27853 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27854 <rounding-mode.h>.
27855 (__printf_fphex): Determine rounding using get_rounding_mode and
27856 round_away.
27857 * stdio-common/tst-printf-round.c (struct hex_test): New
27858 structure.
27859 (hex_tests): New variable.
27860 (test_hex_in_one_mode): New function.
27861 (do_test): Also run tests for hex float output.
27862
43153109
JM
278632012-09-21 Joseph Myers <joseph@codesourcery.com>
27864
27865 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27866 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27867 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27868 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27869 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27870 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27871 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27872 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27873
8a26625d
JM
278742012-09-20 Joseph Myers <joseph@codesourcery.com>
27875
27876 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27877 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27878 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27879 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27880
f3fd569c
DL
278812012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27882
27883 [BZ #14579]
27884 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27885 mode only.
27886 * elf/tst-rtld-load-self.sh: New test.
27887 * elf/Makefile: Run it.
27888
63bbedd4
JM
278892012-09-18 Joseph Myers <joseph@codesourcery.com>
27890
27891 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27892 (tst-writev-ENV): Remove.
27893 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27894
626f8b6a
CM
278952012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27896
27897 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27898
b7aaa4d6
JM
278992012-09-17 Joseph Myers <joseph@codesourcery.com>
27900
27901 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27902 unconditional.
27903 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27904 Likewise.
27905 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27906 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27907 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27908 Likewise.
27909
65513990
L
279102012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27911
27912 [BZ #14587]
27913 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27914 * config.make.in (have-cpp-asm-debuginfo): Removed.
27915 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27916 * configure: Regenerated.
27917
784761be
JM
279182012-09-14 Joseph Myers <joseph@codesourcery.com>
27919
27920 [BZ #5044]
27921 * stdio-common/printf_fp.c: Include <stdbool.h> and
27922 <rounding-mode.h>.
27923 (___printf_fp): Determine rounding using get_rounding_mode and
27924 round_away.
27925 * stdio-common/tst-printf-round.c: New file.
27926 * stdio-common/Makefile (tests): Add tst-printf-round.
27927 (link-libm): New variable.
27928 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27929
9503345f
L
279302012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27931
27932 [BZ #14576]
27933 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27934 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27935 Likewise.
27936 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27937 Likewise.
27938
ad35fc00
JM
279392012-09-13 Joseph Myers <joseph@codesourcery.com>
27940
27941 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27942 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27943 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27944 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27945
6c9b0f68
JM
279462012-09-12 Joseph Myers <joseph@codesourcery.com>
27947
27948 [BZ #14518]
27949 * include/rounding-mode.h: New file.
27950 * sysdeps/generic/get-rounding-mode.h: Likewise.
27951 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27952 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27953 (MAX_VALUE): New macro.
27954 (MIN_VALUE): Likewise.
27955 (overflow_value): New function.
27956 (underflow_value): Likewise.
27957 (round_and_return): Use overflow_value and underflow_value to
27958 determine return values in overflow and underflow cases. Use
27959 round_away to determine rounding depending on rounding mode.
27960 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27961 determine return values in overflow and underflow cases.
27962 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27963 (struct test_results): New structure.
27964 (struct test): Use struct test_results to store expected results
27965 for all rounding modes.
27966 (TEST): Include expected results for all rounding modes.
27967 (test_in_one_mode): New function.
27968 (do_test): Use test_in_one_mode to compute and check results.
27969 Check results for all rounding modes.
27970 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27971 $(link-libm).
27972
19fcedd5
AM
279732012-12-09 Allan McRae <allan@archlinux.org>
27974
1e9d84cd 27975 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 27976
8bbfd2f1
JM
279772012-09-11 Joseph Myers <joseph@codesourcery.com>
27978
27979 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27980 (_G_int32_t): Likewise.
27981 (_G_uint16_t): Likewise.
27982 (_G_uint32_t): Likewise.
27983 (_G_HAVE_BOOL): Likewise.
27984 (_G_HAVE_ATEXIT): Likewise.
27985 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27986 (_G_HAVE_IO_FILE_OPEN): Likewise.
27987 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27988 (_G_int32_t): Likewise.
27989 (_G_uint16_t): Likewise.
27990 (_G_uint32_t): Likewise.
27991 (_G_HAVE_BOOL): Likewise.
27992 (_G_HAVE_ATEXIT): Likewise.
27993 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27994 (_G_HAVE_IO_FILE_OPEN): Likewise.
27995 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27996 (_G_int32_t): Likewise.
27997 (_G_uint16_t): Likewise.
27998 (_G_uint32_t): Likewise.
27999 (_G_HAVE_BOOL): Likewise.
28000 (_G_HAVE_ATEXIT): Likewise.
28001 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28002 (_G_HAVE_IO_FILE_OPEN): Likewise.
28003
b1dc5912
L
280042012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28005
28006 * csu/libc-tls.c: Update copyright years.
28007
0e886ef9
JM
280082012-09-10 Joseph Myers <joseph@codesourcery.com>
28009
28361c5e
JM
28010 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28011 [!_G_USING_THUNKS]: Remove conditional code.
28012 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28013 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28014
0e886ef9
JM
28015 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28016 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28017 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28018 (_G_VTABLE_LABEL_PREFIX): Likewise.
28019 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28020 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28021 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28022 (_G_VTABLE_LABEL_PREFIX): Likewise.
28023 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28024 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28025 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28026 (_G_VTABLE_LABEL_PREFIX): Likewise.
28027 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28028
bcba7aa2
L
280292012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28030
28031 * libio/Makefile: Include ../Makeconfig before tests.
28032 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28033 only if $(build-shared) is yes.
28034
06585ee8
L
28035 * iconv/gconv_db.c: Update copyright years.
28036
80ccd52c
LD
280372012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28038
28039 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28040 unwind info if defined PIC. Fix special cases description.
28041 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28042
28043 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28044 DP_HI_MASK entry.
28045 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28046
691bc9c1
L
280472012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28048
3d9b46b3
L
28049 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28050
de2139a9
L
28051 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28052 is NULL.
28053
5ca78dd0
L
28054 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28055 (LDLIBS-tst-chk4): This.
28056 (LDFLAGS-tst-chk5): Renamed to ...
28057 (LDLIBS-tst-chk5): This.
28058 (LDFLAGS-tst-chk6): Renamed to ...
28059 (LDLIBS-tst-chk6): This.
28060 (LDFLAGS-tst-lfschk4): Renamed to ...
28061 (LDLIBS-tst-lfschk4): This.
28062 (LDFLAGS-tst-lfschk5): Renamed to ...
28063 (LDLIBS-tst-lfschk5): This.
28064 (LDFLAGS-tst-lfschk6): Renamed to ...
28065 (LDLIBS-tst-lfschk6): This.
28066
691bc9c1
L
28067 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28068 on $(common-objpfx)soversions.mk.
28069
65cafb1c
JM
280702012-09-07 Joseph Myers <joseph@codesourcery.com>
28071
28072 [BZ #10014]
28073 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28074 example host name.
28075
c78ab094
SP
280762012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28077
28078 * malloc/arena.c (arena_get_retry): New function that gets
28079 another arena for the caller to try its request on.
28080 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28081 current arena cannot fulfill the request.
28082 (__libc_memalign): Likewise.
28083 (__libc_memalign): Likewise.
28084 (__libc_pvalloc): Likewise.
28085 (__libc_calloc): Likewise.
28086
01f49f59
JT
280872012-09-05 John Tobey <john.tobey@gmail.com>
28088
28089 [BZ #13542]
28090 * manual/arith.texi (Operations on Complex): Fix description
28091 of carg branch cut.
28092
4c23fed5
JM
280932012-09-06 Joseph Myers <joseph@codesourcery.com>
28094
1d3c8572
JM
28095 [BZ #10014]
28096 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28097 host name.
28098
4c23fed5
JM
28099 [BZ #10038]
28100 * manual/memory.texi (Memory): Make order of menu items match
28101 order of sections.
28102
04570aaa
L
281032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28104
28105 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28106 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28107 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28108
b80af2f4
L
281092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28110
28111 * csu/libc-tls.c (static_dtv): Renamed to ...
28112 (_dl_static_dtv): This. Make it global.
28113 (_dl_initial_dtv): Removed.
28114 (__libc_setup_tls): Updated.
28115 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28116 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28117 DL_INITIAL_DTV.
28118
2abe9f15
PM
281192012-09-06 Petr Machata <pmachata@redhat.com>
28120
28121 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28122 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28123 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28124 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28125
0948c3af
L
281262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28127
28128 [BZ #14545]
28129 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28130 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28131 freeing dtv[-1].
28132
a5055ad1
L
281332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28134
28135 [BZ #14544]
28136 * Makeconfig (link-static-before-libc): Replace $(+prector)
28137 with $(+prectorT).
28138 (link-static-after-libc): Replace $(+postctor) with
28139 $(+postctorT).
28140 (link-bounded): Replace $(+prector)/$(+postctor) with
28141 $(+prectorT)/$(+postctorT).
28142 (+prectorT): New macro.
28143 (+postctorT): Likewise.
28144
ed8c2ecd
JM
281452012-09-06 Joseph Myers <joseph@codesourcery.com>
28146
28147 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28148 (round_str): Handle values above the maximum for IBM long double
28149 as inexact.
28150 * stdlib/tst-strtod-round.c (tests): Regenerated.
28151
14c996c8
AK
281522012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28153
28154 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28155 assembler flag.
28156 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28157 zarch_nohighgprs around the zarch optimized routines.
28158 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28159 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28161 for zarch.
28162
430d6ce6
DM
281632012-09-05 David S. Miller <davem@davemloft.net>
28164
28165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28166
57f41c40
AS
28167 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28168 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
28169 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28170 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28171 entries.
28172
24d4e01b
AO
281732012-09-05 Alexandre Oliva <aoliva@redhat.com>
28174
28175 * malloc/arena.c: Fold copyright years.
28176 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28177
61d58174
AO
281782012-09-05 Alexandre Oliva <aoliva@redhat.com>
28179
28180 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28181
20196a5e
AO
281822012-09-05 Alexandre Oliva <aoliva@redhat.com>
28183
28184 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28185
5c447383
AO
281862012-09-05 Alexandre Oliva <aoliva@redhat.com>
28187
28188 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28189 change internal state upon failure.
28190
fad64255
AO
281912012-09-05 Alexandre Oliva <aoliva@redhat.com>
28192
28193 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28194 * malloc/memusage.c (mmap): Likewise.
28195 (mmap64, mremap): Likewise. Adjust name in comment.
28196
1ffb8c90
SP
281972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28198
28199 * libio/fileops.c: Fix typos in comments.
28200 * libio/oldfileops.c: Likewise.
28201 * libio/wfileops.c: Likewise.
28202
6ef9cc37
SP
282032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28204
28205 [BZ #1349]
28206 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28207 (tst-malloc-usable-ENV): Set environment for test case.
28208 * malloc/hooks.c (malloc_check_get_size): New function to get
28209 requested size.
28210 * malloc/malloc.c (musable): Use malloc_check_get_size.
28211 * malloc/tst-malloc-usable.c: New test case.
28212
4d038ae3
AS
282132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28214
28215 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28216
c4e85184
AM
282172012-09-05 Allan McRae <allan@archlinux.org>
28218
b9dafc56 28219 [BZ #13966]
c4e85184
AM
28220 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28221 determine header location.
28222 * configure: Regenerated.
28223
e1343020
AS
282242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28225
28226 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28227 float format.
28228 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
28229 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28230 format.
e1343020
AS
28231 (test): Regenerate.
28232
0a9f1987
DM
282332012-09-04 David S. Miller <davem@davemloft.net>
28234
28235 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28236 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28237 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28238
29237804
FW
282392012-09-04 Florian Weimer <fweimer@redhat.com>
28240
28241 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28242 failures.
28243
edb3cb88
FW
28244 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28245
60160d83
JM
282462012-09-04 Joseph Myers <joseph@codesourcery.com>
28247
28248 [BZ #9914]
28249 * libio/iogetdelim.c: Include <limits.h>.
28250 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28251 + len + 1 would overflow.
28252
bcd6c8dc
AJ
282532012-09-03 Andreas Jaeger <aj@suse.de>
28254
28255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28256 * sysdeps/i386/fpu/libm-test-ulps: Update.
28257
4ffffbd2
LD
282582012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28259
28260 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28261 Add s_sinf-sse2, s_conf-sse2.
28262
28263 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28264 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28265 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28266 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28267
28268 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28269 for using routine as __sinf_ia32.
28270 Use macro for function declaration and weak_alias.
28271 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28272 for using routine as __cosf_ia32.
28273 Use macro for function declaration and weak_alias.
28274
28275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28276 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28277
28278 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28279 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28281
28282 * math/libm-test.inc (cos_test): Add more test cases.
28283 (sin_test): Likewise.
28284 (sincos_test): Likewise.
28285
511fa286
AK
282862012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28287
28288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28289 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28290 hidden.
28291 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28292
5f30cfec
L
282932012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28294
28295 [BZ #14538]
28296 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28297 first element of the GOT.
28298 (elf_machine_load_address): Return the difference between
28299 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28300
0786794f
AM
283012012-09-01 Allan McRae <allan@archlinux.org>
28302
5f30cfec
L
28303 [BZ #13412]
28304 * configure.in (AWK): Require gawk version 3.0 or later.
28305 * configure: Regenerated.
0786794f 28306
26889eac
JM
283072012-09-01 Joseph Myers <joseph@codesourcery.com>
28308
28309 * sysdeps/unix/sysv/linux/kernel-features.h
28310 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28311 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28312 [__NR_clock_getres]: Make code unconditional.
28313 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28314 (clock_getcpuclockid): Remove code left unreachable by removal of
28315 conditionals.
28316 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28317 code unconditional.
28318 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28319 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28320 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28321 Make code unconditional.
28322 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28323 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28324 * sysdeps/unix/sysv/linux/clock_settime.c
28325 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28326 conditional code.
28327 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28328 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28329
d22e28b0
L
283302012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28331
28332 [BZ #14476]
28333 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28334 scripts/test-installation.pl.
28335
28336 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28337 and $ld_so_version if it is set.
28338
050af9c4
SP
283392012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28340
28341 [BZ #14516]
28342 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28343 failure if reading from procfs failed.
28344 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28345
ad845c0b
JM
283462012-08-27 Joseph Myers <joseph@codesourcery.com>
28347
28348 * sysdeps/unix/sysv/linux/kernel-features.h
28349 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28350 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28351 Remove conditional code.
28352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28353 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28354 Remove conditional code.
28355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28356 * sysdeps/unix/sysv/linux/i386/fxstat.c
28357 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28359 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28362 * sysdeps/unix/sysv/linux/i386/lxstat.c
28363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28365 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28366 Remove conditional code.
28367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28368 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28369 Remove conditional code.
28370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28371 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28372 <kernel-features.h>.
28373 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28374 Remove.
28375 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28376 Remove conditional code.
28377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28378 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28379 Remove conditional.
28380
5dbf56af
MF
283812012-08-27 Mike Frysinger <vapier@gentoo.org>
28382
28383 [BZ #5400]
28384 * NEWS: Add fixed bug number.
28385
d6e70f43
JM
283862012-08-27 Joseph Myers <joseph@codesourcery.com>
28387
7efb4737
JM
28388 [BZ #14519]
28389 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28390 underflowing exponent in case of negative sign.
28391 * stdlib/tst-strtod-round-data: Add more tests.
28392 * stdlib/tst-strtod-round.c (tests): Regenerated.
28393
af92131a
JM
28394 [BZ #3479]
28395 * stdlib/strtod_l.c (NDIG): Remove.
28396 (HEXNDIG): Likewise.
28397 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28398 smallest representable value.
28399 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28400 lie within an exact representation of 1/2 ulp of the result.
28401 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28402 unconditionally.
28403 (TENS_P9_IDX): Define unconditionally.
28404 (TENS_P9_SIZE): Likewise.
28405 (TENS_P10_IDX): Likewise.
28406 (TENS_P10_SIZE): Likewise.
28407 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28408 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28409 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28410 entries for 10^2^13 and 10^2^14.
28411 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28412 (TENS_P13_IDX): Define.
28413 (TENS_P13_SIZE): Likewise.
28414 (TENS_P14_IDX): Likewise.
28415 (TENS_P14_SIZE): Likewise.
28416 (_fpioconst_pow10): Change array size to
28417 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28418 unconditional.
28419 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28420 1024]: Add entries for 10^2^13 and 10^2^14.
28421 [LAST_POW10 > _LAST_POW10]: Remove #error.
28422 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28423 (_fpioconst_pow10): Change array size to
28424 FPIOCONST_POW10_ARRAY_SIZE.
28425 * stdlib/gen-fpioconst.c: New file.
28426 * stdlib/gen-tst-strtod-round.c: Likewise.
28427 * stdlib/tst-strtod-round-data: Likewise.
28428 * stdlib/tst-strtod-round.c: Likewise.
28429 * stdlib/Makefile (tests): Add tst-strtod-round.
28430
d6e70f43
JM
28431 [BZ #14459]
28432 * stdlib/strtod_l.c: Include <stdint.h>.
28433 (NDEBUG): Do not define.
28434 (round_and_return): Change EXPONENT parameter to type intmax_t.
28435 Rearrange calculations to avoid internal overflow possibilities.
28436 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28437 Rearrange calculations to avoid internal overflow possibilities.
28438 Assert that number fits inside MPNSIZE limbs.
28439 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28440 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28441 calculations and add assertions to avoid internal overflow
28442 possibilities. Add casts to avoid signed/unsigned operations.
28443 * stdlib/tst-strtod-overflow.c: New file.
28444 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28445
1f529f7d
MP
284462012-08-25 Marek Polacek <polacek@redhat.com>
28447
28448 * time/time.h: Fix some typos in comments.
28449
59a629f1
RM
284502012-08-23 Roland McGrath <roland@hack.frob.com>
28451
28452 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28453 * posix/tst-rfc3484-2.c: Likewise.
28454 * posix/tst-rfc3484-3.c: Likewise.
28455
d3bafbc9
SM
284562012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28457
28458 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28459 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28460
4efcc022
JM
284612012-08-23 Joseph Myers <joseph@codesourcery.com>
28462
28463 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28464 #include of fxstatat64.c.
28465
3cc3ef96
RM
284662012-08-22 Roland McGrath <roland@hack.frob.com>
28467
f04e2132
RM
28468 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28469 * shadow/getspent_r.c: Likewise.
28470 * shadow/getspnam.c: Likewise.
28471 * shadow/getspnam_r.c: Likewise.
28472 * gshadow/getsgent.c: Likewise.
28473 * gshadow/getsgent_r.c: Likewise.
28474 * gshadow/getsgnam.c: Likewise.
28475 * gshadow/getsgnam_r.c: Likewise.
28476 * inet/getnetbyad.c: Likewise.
28477 * inet/getnetbyad_r.c: Likewise.
28478 * inet/getnetbynm.c: Likewise.
28479 * inet/getnetbynm_r.c: Likewise.
28480 * inet/getnetent.c: Likewise.
28481 * inet/getnetent_r.c: Likewise.
28482 * inet/getproto.c: Likewise.
28483 * inet/getproto_r.c: Likewise.
28484 * inet/getprtent.c: Likewise.
28485 * inet/getprtent_r.c: Likewise.
28486 * inet/getprtname.c: Likewise.
28487 * inet/getprtname_r.c: Likewise.
28488 * inet/getrpcbyname.c: Likewise.
28489 * inet/getrpcbyname_r.c: Likewise.
28490 * inet/getrpcbynumber.c: Likewise.
28491 * inet/getrpcbynumber_r.c: Likewise.
28492 * inet/getrpcent.c: Likewise.
28493 * inet/getrpcent_r.c: Likewise.
28494 * inet/getaliasent.c: Likewise.
28495 * inet/getaliasent_r.c: Likewise.
28496 * inet/getaliasname.c: Likewise.
28497 * inet/getaliasname_r.c: Likewise.
28498 * nscd/getgrgid_r.c: Likewise.
28499 * nscd/getgrnam_r.c: Likewise.
28500 * nscd/gethstbyad_r.c: Likewise.
28501 * nscd/gethstbynm3_r.c: Likewise.
28502 * nscd/getpwnam_r.c: Likewise.
28503 * nscd/getpwuid_r.c: Likewise.
28504 * nscd/getsrvbynm_r.c: Likewise.
28505 * nscd/getsrvbypt_r.c: Likewise.
28506 * nscd/gai.c: Likewise.
28507
c53d909c
RM
28508 * configure.in (build_nscd): New substituted variable, set
28509 by --disable-build-nscd and defaults to $use_nscd.
28510 * configure: Regenerated.
28511 * config.make.in (build-nscd): New substituted variable.
28512 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28513 Change conditional to require [$(build-nscd) = yes] as well.
28514 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28515
3cc3ef96
RM
28516 [BZ# 13696]
28517 * configure.in (use_nscd): New substituted variable, set by
28518 --disable-nscd. If enabled, define USE_NSCD.
28519 * configure: Regenerated.
28520 * config.h.in: Add USE_NSCD.
28521 * config.make.in (use-nscd): New substituted variable.
28522 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28523 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28524 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28525 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28526 (CFLAGS-getgrnam_r.c): Likewise.
28527 (CFLAGS-initgroups.c): Likewise.
28528 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28529 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28530 Variables removed.
28531 * inet/getnetgrent_r.c
28532 (nscd_setnetgrent): New function, broken out of ...
28533 (setnetgrent): ... here. Call it.
28534 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28535 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28536 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28537 * nscd/Makefile (routines, aux): Move definitions after include of
28538 Makeconfig. Conditionalize on [$(use-nscd) != no].
28539 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28540 Conditionalize on [USE_NSCD].
28541 (is_nscd, nscd_init_cb): Likewise.
28542 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28543 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28544 * nss/nss_db/db-init.c: Likewise.
28545 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28546 [USE_NSCD].
28547 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28548 (make_request): Use it.
28549 (cache_valid_p): New function.
28550 (__check_pf): Use it.
28551 * NEWS: Add item for --disable-nscd.
28552
07e51550
DL
285532012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28554
28555 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28556 to support sed >= 4.2.1-20-ga9bf076.
28557 * configure: Regenerated.
28558
35a5b08b
RM
285592012-08-22 Roland McGrath <roland@hack.frob.com>
28560
28561 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28562 Conditionalize whole body on [IREL].
28563
8479f23a
JL
285642012-08-22 Jeff Law <law@redhat.com>
28565
28566 [BZ #14505]
28567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28568 if the family is PF_UNSPEC.
28569
48da0b21
MF
285702012-08-22 Mike Frysinger <vapier@gentoo.org>
28571
28572 * Makerules (lib-version): Rename from V.
28573 (install-lib-nosubdir): Change V to lib-version.
28574
15d0da8c
WS
285752012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28576
28577 [BZ #14252]
28578 * powerpc32/power6/wcschr.c: New file.
28579 * powerpc32/power6/wcscpy.c: New file.
28580 * powerpc32/power6/wcsrchr.c: New file.
28581 * powerpc64/power6/wcschr.c: New file.
28582 * powerpc64/power6/wcscpy.c: New file.
28583 * powerpc64/power6/wcsrchr.c: New file.
28584
bcca0895
MK
285852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28586
28587 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28588 (two_way_short_needle): Use it.
5a4aaa33
RM
28589 * string/strstr.c (AVAILABLE1_USES_J): Define.
28590 * string/strcasestr.c: Likewise.
99677e57
MK
28591
28592 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28593 array references.
28594 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28595
400726de
MK
28596 [BZ #11607]
28597 * NEWS: Add an entry.
28598 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28599 define their defaults.
28600 (two_way_short_needle): Detect end-of-string on-the-fly.
28601 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28602 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28603 * string/bug-strcasestr1.c: New test.
28604 * string/Makefile: Run it.
28605
20a71f2c
MK
286062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28607
28608 [BZ #11607]
28609 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28610 the first character.
28611
21ad0558
RM
286122012-08-21 Roland McGrath <roland@hack.frob.com>
28613
28614 * csu/elf-init.c (__libc_csu_irel): Function removed.
28615 * csu/libc-start.c (apply_irel): New function.
28616 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28617
0e1d9911
JM
286182012-08-21 Joseph Myers <joseph@codesourcery.com>
28619
28620 * sysdeps/unix/sysv/linux/kernel-features.h
28621 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28622 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28623 <kernel-features.h>.
28624 [__NR_fadvise64_64]: Make code unconditional.
28625 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28626 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28627 !__NR_fadvise64_64)]: Likewise.
28628 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28629 !__NR_fadvise64_64))]: Likewise.
28630 [__NR_fadvise64]: Make code unconditional.
28631 [!__NR_fadvise64]: Remove conditional code.
28632 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28633 <kernel-features.h>.
28634 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28635 unconditional.
28636 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28637 conditional code.
28638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28639 not include <kernel-features.h>.
28640 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28641 unconditional.
28642 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28643 conditional code.
28644 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28645 include <kernel-features.h>.
28646 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28647 unconditional.
28648 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28649 conditional code.
28650
14a50c9d
WS
286512012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28652
28653 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28654 slight instruction rearrangements per scrollpipe analysis.
28655 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28656
c0f4faf0
RM
286572012-08-20 Roland McGrath <roland@hack.frob.com>
28658
696da859
RM
28659 * manual/syslog.texi (syslog; vsyslog, closelog):
28660 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28661 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28662
c0f4faf0
RM
28663 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28664 DSOCAPS to match condition on defining it.
28665
348363b2
JM
286662012-08-20 Joseph Myers <joseph@codesourcery.com>
28667
a35cbf28
JM
28668 * sysdeps/unix/sysv/linux/kernel-features.h
28669 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28671 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28672 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28679
445f7ecd
JM
28680 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28681 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28682
348363b2
JM
28683 * sysdeps/unix/sysv/linux/kernel-features.h
28684 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28685 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28686 unconditional.
28687 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28688 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28689 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28690 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28691 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28692 Make code unconditional.
28693 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28694 (__mmap64) [!__NR_mmap2]: Likewise.
28695 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28696 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28697 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28699 [__NR_mmap2]: Make code unconditional.
28700 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28701 (__mmap64) [!__NR_mmap2]: Likewise.
28702
bc5bc0e5
AK
287032012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28704
28705 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28706
88d506de
AJ
287072012-08-18 Andreas Jaeger <aj@suse.de>
28708
28709 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28710
493387d2
MF
287112012-08-18 Mike Frysinger <vapier@gentoo.org>
28712
28713 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28714 * include/unistd.h (__have_sock_cloexec): Likewise.
28715 (__have_pipe2): Likewise.
28716 (__have_dup3): Likewise.
28717
a277af22
MF
287182012-08-18 Mike Frysinger <vapier@gentoo.org>
28719
28720 [BZ #9685]
28721 * include/unistd.h (__have_pipe2): Change define into an extern int.
28722 (__have_dup3): Likewise.
28723 * socket/have_sock_cloexec.c: Include fcntl.h.
28724 (__have_pipe2): New variable.
28725 (__have_dup3): Likewise.
28726
fdab8fd3
MF
287272012-08-17 Mike Frysinger <vapier@gentoo.org>
28728
28729 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28730
31035e80
MP
287312012-08-17 Marek Polacek <polacek@redhat.com>
28732
28733 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28734 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28735
3bd9e993
RM
287362012-08-17 Roland McGrath <roland@hack.frob.com>
28737
c91c505f
RM
28738 * configure.in: Add AC_SUBST for sysheaders.
28739 * configure: Regenerated.
28740 * config.make.in (sysheaders): New substituted variable.
28741
7c6f9d53
RM
28742 * sysdeps/unix/mkfifo.c: Moved ...
28743 * sysdeps/posix/mkfifo.c: ... here.
28744 * sysdeps/unix/mkfifoat.c: Moved ...
28745 * sysdeps/posix/mkfifoat.c: ... here.
28746
28747 * sysdeps/unix/utime.c: Moved ...
28748 * sysdeps/posix/utime.c: ... here.
28749
28750 * sysdeps/unix/time.c: Moved ...
28751 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
28752 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28753 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
28754
28755 * sysdeps/unix/nice.c: Moved ...
28756 * sysdeps/posix/nice.c: ... here.
28757
28758 * sysdeps/unix/alarm.c: Moved ...
28759 * sysdeps/posix/alarm.c: ... here.
28760
3bd9e993
RM
28761 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28762
d1f09384
JL
287632012-08-17 Jeff Law <law@redhat.com>
28764
28765 * intl/Makefile (codeset_mo): New variable.
28766 ($(codeset_mo)): New target.
28767 (tst-codeset.out): Depend on that. Remove explicit rule.
28768 (tst-gettext3.out, tst-gettext5.out): Likewise.
28769 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28770 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28771 * intl/tst-codeset.sh: Remove.
28772 * intl/tst-gettext3.sh: Likewise.
28773 * intl/tst-gettext5.sh: Likewise.
28774
2ae1ae5c
RM
287752012-08-17 Roland McGrath <roland@hack.frob.com>
28776
c31fdb83
RM
28777 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28778 * sysdeps/unix/syscalls.list: ... here.
28779
a0844057
RM
28780 * sysdeps/posix/getaddrinfo.c
28781 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28782 (gaiconf_init, gaiconf_reload): Use them.
28783 [!_STATBUF_ST_NSEC]
28784 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28785 Define using time_t rather than struct timespec.
28786
750c1f2a
RM
28787 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28788 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28789 Macros removed.
28790 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28791 [!NO_THREADS].
28792 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28793 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28794 Likewise.
28795
2ae1ae5c
RM
28796 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28797 __libc_cleanup_push argument.
28798
e66a42f5
RM
28799 * bits/param.h: New file.
28800 * misc/sys/param.h: New file.
28801 * include/sys/param.h: New file.
28802 * misc/Makefile (headers): Add bits/param.h.
28803 * sysdeps/generic/sys/param.h: File removed.
28804 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28805 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28806 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 28807 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 28808
b7c08a66
RM
28809 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28810 last change.
28811
b2e1c562
RM
28812 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28813 [_IO_MTSAFE_IO].
28814 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28815 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28816 New macros.
28817
c75ccd4c
RM
28818 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28819 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28820 rather than -D_IO_MTSAFE_IO conditionally.
28821 * stdio-common/Makefile (CPPFLAGS): Likewise.
28822 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28823 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28824 Use $(libio-mtsafe).
28825 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28826 of -D_IO_MTSAFE_IO.
28827 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28828 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28829 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28830 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28831 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28832 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28833 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28834 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28835 (CFLAGS-fread_u_chk.c): Likewise.
28836 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28837 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28838 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28839 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28840 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28841 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28842 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28843 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28844 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28845
28846 * libio/Makefile: Test [$(libc-reentrant) = yes]
28847 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28848
28849 * Makeconfig
28850 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28851 * sysdeps/pthread/configure: File removed.
28852 * sysdeps/pthread/Makeconfig: New file.
28853 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28854 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28855
d9195db8
GB
288562012-08-16 Gary Benson <gbenson@redhat.com>
28857
28858 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28859 unmapping the first object in a namespace.
28860
86466cd9
RM
288612012-08-16 Roland McGrath <roland@hack.frob.com>
28862
28863 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28864 (__internal_setnetgrent): ... this. Add internal_function to
28865 definition. Add libc_hidden_def.
28866 (setnetgrent): Update caller.
28867 (internal_endnetgrent): Renamed to ...
28868 (__internal_endnetgrent): ... this. Add internal_function to
28869 definition. Add libc_hidden_def.
28870 (endnetgrent): Update caller.
28871 (internal_getnetgrent_r): Renamed to ...
28872 (__internal_getnetgrent_r): ... this. Add internal_function to
28873 definition. Add libc_hidden_def.
28874 (__getnetgrent_r): Update caller.
28875 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28876
c3c8283c
JM
288772012-08-16 Joseph Myers <joseph@codesourcery.com>
28878
28879 * stdlib/longlong.h: Update from GCC.
28880
db1ee0a8
RM
288812012-08-16 Roland McGrath <roland@hack.frob.com>
28882
28883 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28884 on _QL, which is set by umul_ppmm but never used.
28885 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28886 variables, which are set by GMP macros but never used.
28887 * stdio-common/_itowa.c (_itowa): Likewise.
28888 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28889 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28890
30f69637
CD
288912012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28892
28893 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28894 struct La_sh_regs is not constant.
28895 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28896 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28897 and struct La_sparc64_regs are not constant.
28898
93a78ac4
JM
288992012-08-16 Joseph Myers <joseph@codesourcery.com>
28900
28901 * sysdeps/unix/sysv/linux/kernel-features.h
28902 (__ASSUME_POSIX_TIMERS): Remove.
28903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28905 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28906 Make code unconditional.
28907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28908 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28909 Make code unconditional.
28910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28911 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28912 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28914 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28915 Make code unconditional.
28916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28917 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28918 (__libc_missing_posix_timers): Remove.
28919
dd924cd7
RM
289202012-08-15 Roland McGrath <roland@hack.frob.com>
28921
4b4f2771
RM
28922 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28923 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28924
601c888b
RM
28925 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28926
176790a7
RM
28927 * elf/dl-sym.c: Include <stdlib.h>.
28928
329bc018
RM
28929 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28930 constants, which avoids warnings in 32-bit builds.
28931
e04e272d
RM
28932 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28933 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28934
952bf94a
RM
28935 * misc/lseek.c: File moved to ...
28936 * io/lseek.c: ... here.
28937
7c99b50a
RM
28938 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28939
dd924cd7
RM
28940 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28941 shifting LEN more than 31 bits at once.
28942
b3f479a8
LD
289432012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28944
28945 [BZ #14195]
8c4ae0d4
RM
28946 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28947 segmentation fault for a case of two empty input strings.
b3f479a8
LD
28948 * string/test-strncasecmp.c (check1): Renamed to...
28949 (bz12205): ...this.
28950 (bz14195): Add new testcase for two empty input strings and N > 0.
28951 (test_main): Call new testcase, adapt for renamed function.
28952
9c55864e
AJ
289532012-08-15 Andreas Jaeger <aj@suse.de>
28954
28955 [BZ #14090]
28956 * crypt/md5test2.c: New test, based on test supplied by Serge
28957 Belyshev <belyshev@depni.sinp.msu.ru>.
28958 * crypt/Makefile (xtests): Add md5test-giant..
28959 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28960
02dcb6c5
PE
289612012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28962
28963 [BZ #14090]
28964 * crypt/md5.c (md5_process_block): Don't assume the buffer
28965 length is less than 2**32.
28966 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28967 length is less than 2**64.
28968
a3f95dcc
RM
289692012-08-15 Roland McGrath <roland@hack.frob.com>
28970
be75d758
RM
28971 * string/str-two-way.h: Include <sys/param.h>.
28972 (MAX): Macro removed.
28973
7312ca90
RM
28974 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28975 Move #define and #undef of memmove to just before and after
28976 including <string.h>.
28977
9a0a5486
RM
28978 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28979 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28980 and after including <string.h>. Move declarations of
28981 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28982 to before #include "string/memmove.c".
28983
67cc348d
RM
28984 * include/dirent.h: Declare __getdirentries.
28985
a3f95dcc
RM
28986 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28987 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28988
ca98e171
MF
289892012-08-14 Mike Frysinger <vapier@gentoo.org>
28990
28991 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28992 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28993 * sysdeps/i386/configure: Regenerated.
28994 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28995 STABS_CURRENT_FILE, and STABS_FUN.
28996 (END): Remove call to STABS_FUN_END.
28997 (STABS_CURRENT_FILE1): Delete.
28998 (STABS_CURRENT_FILE): Likewise.
28999 (STABS_FUN): Likewise.
29000 (STABS_FUN_END): Likewise.
29001 (STABS_FUN2): Likewise.
29002 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29003 * sysdeps/x86_64/configure: Regenerated.
29004
5908bf46
RM
290052012-08-14 Roland McGrath <roland@hack.frob.com>
29006
29007 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 29008 * elf/dl-lookup.c: Likewise.
5908bf46 29009
f2c05b9e
JM
290102012-08-14 Joseph Myers <joseph@codesourcery.com>
29011
29012 * sysdeps/unix/sysv/linux/kernel-features.h
29013 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29014 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29015 unconditionally.
29016 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29017 unconditionally.
29018 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29019 condition on __ASSUME_CLONE_THREAD_FLAGS.
29020
e11f5155
AJ
290212012-08-14 Andreas Jaeger <aj@suse.de>
29022
29023 * sysdeps/i386/fpu/libm-test-ulps: Update.
29024
51a9ba86
MK
290252012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29026
2fdd4f78
AJ
29027 * include/atomic.h (atomic_exchange_and_add): Split into ...
29028 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29029 New atomic macros.
51a9ba86 29030
ba6cba9e
MT
290312012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29032
29033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29034
42443a47
JL
290352012-08-13 Jeff Law <law@redhat.com>
29036
29037 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29038 null byte in the output string.
29039
121dce05
JM
290402012-08-10 Joseph Myers <joseph@codesourcery.com>
29041
29042 * sysdeps/unix/sysv/linux/kernel-features.h
29043 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29044 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29045 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29046 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29047 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29048 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29049 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29050
bf51f568
JL
290512012-08-09 Jeff Law <law@redhat.com>
29052
29053 [BZ #13939]
29054 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29055 When avoid_arena is set, don't retry in the that arena. Pick the
29056 next one, whatever it might be.
29057 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29058 (arena_lock): Pass in new parameter to arena_get2.
29059 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29060 arena_get2.
29061 (__libc_malloc): Unify retrying after main arena failure with
29062 __libc_memalign version.
29063 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29064
f85fa270
L
290652012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29066
29067 [BZ #14166]
29068 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29069 to __redirect_strstr.
29070 (__strstr_sse42): Use typeof __redirect_strstr.
29071 (__strstr_ia32): Likewise.
29072 (__libc_strstr): New prototype.
29073 (strstr): Renamed to ...
29074 (__libc_strstr): This.
29075 (strstr): New strong alias of __libc_strstr.
29076 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29077 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29078 __redirect_time.
29079 Include <time.h>.
29080 (__libc_time): New prototype.
29081 (time_ifunc): Replace time with __libc_time.
29082 (time): New strong alias and hidden definition of __libc_time.
29083 (__GI_time): Remove strong alias.
29084 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29085 Include <stddef.h>.
29086 (memmove): Redefined to __redirect_memmove.
29087 (__memmove_sse2): Use typeof __redirect_memmove.
29088 (__memmove_ssse3): Likewise.
29089 (__memmove_ssse3_back): Likewise.
29090 (__libc_memmove): New prototype.
29091 (memmove): Renamed to ...
29092 (__libc_memmove): This.
29093 (memmove): New strong alias of __libc_memmove.
29094
33b4a91e
MS
290952012-08-08 Mark Salter <msalter@redhat.com>
29096
29097 * elf/elf.h
29098 (R_MN10300_TLS_GD): Define.
29099 (R_MN10300_TLS_LD): Likewise.
29100 (R_MN10300_TLS_LDO): Likewise.
29101 (R_MN10300_TLS_GOTIE): Likewise.
29102 (R_MN10300_TLS_IE): Likewise.
29103 (R_MN10300_TLS_LE): Likewise.
29104 (R_MN10300_TLS_DTPMOD): Likewise.
29105 (R_MN10300_TLS_DTPOFF): Likewise.
29106 (R_MN10300_TLS_TPOFF): Likewise.
29107 (R_MN10300_SYM_DIFF): Likewise.
29108 (R_MN10300_ALIGN): Likewise.
29109 (R_MN10300_NUM): Update.
29110
b36137f1
JM
291112012-08-08 Joseph Myers <joseph@codesourcery.com>
29112
29113 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29114 Remove.
29115
cdd915fd
RM
291162012-08-08 Roland McGrath <roland@hack.frob.com>
29117
a2433aac
RM
29118 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29119
cdd915fd
RM
29120 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29121 sysdeps/unix -> sysdeps/posix move.
29122 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29123
bf9b740a
AM
291242012-08-07 Allan McRae <allan@archlinux.org>
29125
29126 [BZ #14303]
29127 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29128 (SUNOS_CPP): Likewise.
29129 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29130 not found.
29131 (open_input): Call CPP using execvp.
29132
93df14ee
JM
291332012-08-07 Joseph Myers <joseph@codesourcery.com>
29134
29135 * sysdeps/unix/sysv/linux/kernel-features.h
29136 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29137 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29138 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29139 (__ASSUME_WAITID_SYSCALL): Likewise.
29140 * sysdeps/unix/sysv/linux/dl-execstack.c
29141 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29142 code unconditional.
29143 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29144 conditional code.
29145 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29146 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29147 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29148 code.
29149 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29150 unconditional.
29151 [__ASSUME_WAITID_SYSCALL]: Likewise.
29152 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29153
d34689de
RM
291542012-08-07 Roland McGrath <roland@hack.frob.com>
29155
a281decc
RM
29156 * sysdeps/unix/closedir.c: Renamed to ...
29157 * sysdeps/posix/closedir.c: ... here.
29158 * sysdeps/unix/dirfd.c: Renamed to ...
29159 * sysdeps/posix/dirfd.c: ... here.
29160 * sysdeps/unix/dirstream.h: Renamed to ...
29161 * sysdeps/posix/dirstream.h: ... here.
29162 * sysdeps/unix/fdopendir.c: Renamed to ...
29163 * sysdeps/posix/fdopendir.c: ... here.
29164 * sysdeps/unix/opendir.c: Renamed to ...
29165 * sysdeps/posix/opendir.c: ... here.
29166 * sysdeps/unix/readdir.c: Renamed to ...
29167 * sysdeps/posix/readdir.c: ... here.
29168 * sysdeps/unix/readdir_r.c: Renamed to ...
29169 * sysdeps/posix/readdir_r.c: ... here.
29170 * sysdeps/unix/rewinddir.c: Renamed to ...
29171 * sysdeps/posix/rewinddir.c: ... here.
29172 * sysdeps/unix/seekdir.c: Renamed to ...
29173 * sysdeps/posix/seekdir.c: ... here.
29174 * sysdeps/unix/telldir.c: Renamed to ...
29175 * sysdeps/posix/telldir.c: ... here.
29176 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29177 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29178 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29179 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29180
22895b47
RM
29181 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29182 * bits/fcntl.h: ... here.
29183
707a53b6
RM
29184 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29185 not 0.
29186 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29187 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29188 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29189 (struct flock): Move l_start, l_len to the beginning.
29190 Use __pid_t for l_pid.
29191 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29192 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29193 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29194 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29195 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29196 [__USE_LARGEFILE64] (struct flock64): New type.
29197 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29198
f0bd3e25
RM
29199 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29200 * bits/dirent.h: ... here.
29201
d34689de
RM
29202 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29203 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29204
6dad2c06
JM
292052012-08-07 Joseph Myers <joseph@codesourcery.com>
29206
29207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29208 Change from 2.6.0 to 2.6.16.
29209 * sysdeps/unix/sysv/linux/configure: Regenerated.
29210 * sysdeps/unix/sysv/linux/kernel-features.h
29211 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29212 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29213 version.
29214 (__ASSUME_UTIMES): Likewise.
29215 (__ASSUME_CLONE_STOPPED): Remove.
29216 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29217 architectures, not kernel version.
29218 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29219 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29220 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29221 (__ASSUME_WAITID_SYSCALL): Likewise.
29222 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29223 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29224 * README: State 2.6.16 as minimum Linux kernel version. Do not
29225 refer to older versions.
29226
03af9520
RM
292272012-08-06 Roland McGrath <roland@hack.frob.com>
29228
8e49df1d
RM
29229 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29230 Define alphasort64 as an alias.
29231 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29232 Define versionsort64 as an alias.
29233 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29234 Define scandir64 as an alias.
29235 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29236 Define scandirat64 as an alias.
29237 * dirent/alphasort64.c (alphasort64):
29238 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29239 * dirent/versionsort64.c: Likewise.
29240 * dirent/scandir64.c: Likewise.
29241 * dirent/scandirat64.c: Likewise.
29242 * sysdeps/wordsize-64/alphasort.c: File removed.
29243 * sysdeps/wordsize-64/alphasort64.c: File removed.
29244 * sysdeps/wordsize-64/scandir.c: File removed.
29245 * sysdeps/wordsize-64/scandir64.c: File removed.
29246 * sysdeps/wordsize-64/scandirat.c: File removed.
29247 * sysdeps/wordsize-64/scandirat64.c: File removed.
29248 * sysdeps/wordsize-64/versionsort.c: File removed.
29249 * sysdeps/wordsize-64/versionsort64.c: File removed.
29250 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29251 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29256 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29258
29259 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29261 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29263 [defined __arch64__ || defined __sparcv9]
29264 (__INO_T_MATCHES_INO64_T): New macro.
29265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29266 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29267 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29268 * sysdeps/unix/sysv/linux/bits/dirent.h
29269 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29270 (_DIRENT_MATCHES_DIRENT64): New macro.
29271
03af9520
RM
29272 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29273 Define lockf64 as an alias.
29274 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29275 Define fseeko64 as an alias.
29276 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29277 Define ftello64 as an alias.
29278 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29279 Define _IO_fgetpos64 and fgetpos64 as aliases.
29280 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29281 Define _IO_fsetpos64 and fsetpos64 as aliases.
29282 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29283 Conditionalize body on this.
29284 * libio/fseeko64.c: Likewise.
29285 * libio/ftello64.c: Likewise.
29286 * libio/iofgetpos64.c: Likewise.
29287 * libio/iofsetpos64.c: Likewise.
29288 * sysdeps/wordsize-64/lockf.c: File removed.
29289 * sysdeps/wordsize-64/lockf64.c: File removed.
29290 * sysdeps/wordsize-64/fseeko.c: File removed.
29291 * sysdeps/wordsize-64/fseeko64.c: File removed.
29292 * sysdeps/wordsize-64/ftello.c: File removed.
29293 * sysdeps/wordsize-64/ftello64.c: File removed.
29294 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29295 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29296 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29297 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29298 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29299 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29300 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29301 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29302 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29303 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29304 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29305 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29306 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29307 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29308
29309 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29311 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29312 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29313 [defined __arch64__ || defined __sparcv9]
29314 (__OFF_T_MATCHES_OFF64_T): New macro.
29315 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29316 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29318 (__OFF_T_MATCHES_OFF64_T): New macro.
29319
c5757acd
L
293202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29321
29322 * stdlib/secure-getenv.c (__secure_getenv): Replace
29323 GLIBC_2_16 with GLIBC_2_17.
29324
3a31811e
L
293252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29326
29327 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29329
faa2bccb
DM
293302012-08-03 David S. Miller <davem@davemloft.net>
29331
29332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29333
85fe1997
JM
293342012-08-03 Joseph Myers <joseph@codesourcery.com>
29335
29336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29337 Remove.
29338 (__ASSUME_CORRECT_SI_PID): Likewise.
29339 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29340 (__ASSUME_TMPFS_NAME): Likewise.
29341 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29342 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29343 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29344 (HAVE_AUX_SECURE): Make definition unconditional.
29345 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29346 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29347
4f75b7a0
RM
293482012-08-03 Roland McGrath <roland@hack.frob.com>
29349
29350 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29351 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29352 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29353 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29354 __eloop_threshold instead of SYMLOOP_MAX.
29355
29356 * sysdeps/generic/eloop-threshold.h: New file.
29357 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29358 of MAXSYMLINKS.
29359 * elf/chroot_canon.c (chroot_canon): Likewise.
29360
7aab07e4
JM
293612012-08-03 Joseph Myers <joseph@codesourcery.com>
29362
29363 [BZ #13717]
29364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29365 Change to 2.6.0 everywhere.
29366 * sysdeps/unix/sysv/linux/configure: Regenerated.
29367 * sysdeps/unix/sysv/linux/kernel-features.h
29368 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29369 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29370 kernel versions.
29371 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29372 (__ASSUME_FUTEX_REQUEUE): Remove.
29373 (__ASSUME_STATFS64): Define unconditionally.
29374 (__ASSUME_AT_SECURE): Likewise.
29375 (__ASSUME_CORRECT_SI_PID): Likewise.
29376 (__ASSUME_TGKILL): Define without depending on kernel version for
29377 i386.
29378 (__ASSUME_UTIMES): Likewise.
29379 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29380 kernel version.
29381 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29382 (__ASSUME_TMPFS_NAME): Likewise.
29383 * README: Update reference to Linux kernel versions.
29384
b67e9372
MP
293852012-08-02 Marek Polacek <polacek@redhat.com>
29386
1f529f7d 29387 [BZ# 14150]
b67e9372
MP
29388 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29389 libc_cv_asm_type_prefix with %.
29390 * configure: Regenerated.
d2441631
RM
29391 * include/libc-symbols.h: Remove comment about
29392 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
29393 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29394 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29395 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29396 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29397 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29398 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29399 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29400 * elf/tst-unique2mod1.c: Likewise.
29401 * elf/tst-unique1mod2.c: Likewise.
29402 * elf/tst-unique1mod1.c: Likewise.
29403 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29404 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29405 Replace ASM_TYPE_DIRECTIVE with .type.
29406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29407 * sysdeps/i386/sysdep.h: Likewise.
29408 * sysdeps/x86_64/sysdep.h: Likewise.
29409 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
29410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29411 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 29412 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
29413 * sysdeps/powerpc/powerpc32/sysdep.h:
29414 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
29415 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29416 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29417 * sysdeps/i386/fpu/e_powf.S: Likewise.
29418 * sysdeps/i386/fpu/e_expl.S: Likewise.
29419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29420 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29421 * sysdeps/i386/fpu/e_pow.S: Likewise.
29422 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29423 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29424 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29425 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29426 * sysdeps/i386/fpu/e_log2.S: Likewise.
29427 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29428 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29429 * sysdeps/i386/fpu/e_powl.S: Likewise.
29430 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29431 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29432 * sysdeps/i386/fpu/e_logl.S: Likewise.
29433 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29434 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29435 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29436 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29437 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29438 * sysdeps/i386/fpu/e_log.S: Likewise.
29439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29440 * sysdeps/i386/fpu/e_logf.S: Likewise.
29441 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29443 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29444 * sysdeps/i386/fpu/e_log10.S: Likewise.
29445 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29446 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29447 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29448 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29449 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29451 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29452 * sysdeps/i386/i686/strtok.S: Likewise.
29453 * sysdeps/i386/i386-mcount.S: Likewise.
29454 * sysdeps/i386/strtok.S: Likewise.
29455 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29456 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29458 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29459 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29460 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29461 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29462 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29463 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29464 * sysdeps/x86_64/_mcount.S: Likewise.
29465 * sysdeps/x86_64/strtok.S: Likewise.
29466 * sysdeps/sh/_mcount.S: Likewise.
29467
2747bf9a
RM
294682012-08-01 Roland McGrath <roland@hack.frob.com>
29469
29470 * libio/iofopen.c: Include <fcntl.h>.
29471 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29472 (_IO_fopen64, fopen64): Define as aliases.
29473 * libio/iofopen64.c: Include <fcntl.h>.
29474 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29475 Conditionalize body on this.
29476 * sysdeps/wordsize-64/iofopen.c: File removed.
29477 * sysdeps/wordsize-64/iofopen64.c: File removed.
29478
3fb791b8
MP
294792012-08-01 Marek Polacek <polacek@redhat.com>
29480
29481 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29482 Use dlfcn directly instead of a variable.
29483 (binfmt-subdir): Do not define.
29484 (dlfcn): Likewise.
29485
a9f1039f
JM
294862012-08-01 Joseph Myers <joseph@codesourcery.com>
29487
23bddc06
JM
29488 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29489 Remove all definitions.
29490 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29491 <kernel-features.h>.
29492 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29493 (miss_F_GETOWN_EX): Remove all definitions.
29494 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29495 macro definition.
29496 [!__ASSUME_FCNTL64]: Remove conditional code.
29497 [__ASSUME_FCNTL64]: Make code unconditional.
29498 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29499 <kernel-features.h>.
29500 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29501 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29502 (lockf64) [__NR_fcntl64]: Make code unconditional.
29503 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29504
a9f1039f
JM
29505 * sysdeps/unix/sysv/linux/kernel-features.h
29506 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29507 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29508 Make code unconditional.
29509 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29510 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29512 [__NR_vfork]: Make code unconditional.
29513 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29514 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29516 [__NR_vfork]: Make code unconditional.
29517 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29518 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29519
09c0ee5f
RM
295202012-08-01 Roland McGrath <roland@hack.frob.com>
29521
48aec5b9
RM
29522 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29523 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29524
cd97c966
RM
29525 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29526 Define mkstemp64 as an alias.
3f55550c
RM
29527 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29528 Define mkstemps64 as an alias.
cd97c966
RM
29529 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29530 Define mkostemp64 as an alias.
b8625cfc
RM
29531 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29532 Define mkostemps64 as an alias.
cd97c966
RM
29533 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29534 Conditionalize body on this.
29535 * misc/mkostemp64.c: Likewise.
b8625cfc 29536 * misc/mkostemps64.c: Likewise.
3f55550c 29537 * misc/mkstemps64.c: Likewise.
cd97c966
RM
29538 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29539 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29540 * sysdeps/wordsize-64/mkostemp.c: File removed.
29541 * sysdeps/wordsize-64/mkstemp.c: File removed.
29542 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29544 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29546
09c0ee5f
RM
29547 [BZ #14138]
29548 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29549 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29550 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29551 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29552
29553 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29554 compat_symbol macros from <shlib-compat.h> rather than the underlying
29555 default_symbol_version and symbol_version macros, so that DEFAULT
29556 lines in shlib-versions are respected.
29557 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29558
7e66ee51
FW
295592012-08-01 Florian Weimer <fweimer@redhat.com>
29560
29561 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29562 Declare with warn_unused_result.
29563 (setgid, setregid, setegid, setresgid): Likewise.
29564 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29565 Likewise.
29566 * WUR-REPORT: Remove set*id functions.
29567
d2a54255
PT
295682012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29569
29570 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29571
7ecdb005
RM
295722012-07-31 Roland McGrath <roland@hack.frob.com>
29573
b4180a5e 29574 [BZ #10191]
789bd351
RM
29575 * include/sys/socket.h (__libc_accept, __libc_accept4):
29576 Add attribute_hidden.
29577 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29578
40ce302d
RM
29579 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29580 use of PTR_MANGLE.
29581 * inet/getnetgrent_r.c (setup): Likewise.
29582
7ecdb005
RM
29583 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29584
e2eabb2c
DM
295852012-07-31 David S. Miller <davem@davemloft.net>
29586
29587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29588
d0419dbf
JM
295892012-07-31 Joseph Myers <joseph@codesourcery.com>
29590
29591 [BZ #13629]
29592 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29593 value between 1.0 and 2.0 and smaller part has absolute value less
29594 than 1.0.
29595 * math/s_clog10.c (__clog10): Likewise.
29596 * math/s_clog10f.c (__clog10f): Likewise.
29597 * math/s_clog10l.c (__clog10l): Likewise.
29598 * math/s_clogf.c (__clogf): Likewise.
29599 * math/s_clogl.c (__clogl): Likewise.
29600 * math/libm-test.inc (clog_test): Add more tests.
29601 (clog10_test): Likewise.
29602 * sysdeps/i386/fpu/libm-test-ulps: Update.
29603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29604
2bc13872
FW
296052012-07-31 Florian Weimer <fweimer@redhat.com>
29606
29607 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29608 Exit with zero in case no suitable GID is found, and write a
29609 message to standard error.
29610
bea9b193
RM
296112012-07-30 Roland McGrath <roland@hack.frob.com>
29612
29613 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29614 rather than to 1.
29615 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29616 (MAXPATHLEN): Removed.
29617 (NOGROUP, NODEV): New macros.
29618 (setbit, clrbit, isset, isclr): New macros.
29619 (howmany, roundup, powerof2): New macros.
29620 (DEV_BSIZE): New macro.
29621
29622 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29623 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29624
29625 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29626 definition on [!__NO_LONG_DOUBLE_MATH].
29627
29628 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29629 PTR_MANGLE and PTR_DEMANGLE.
29630
29631 * socket/accept4.c (accept4): Rename to __libc_accept4.
29632 Define accept4 as a weak alias.
29633
29634 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29635 on [_DIRENT_HAVE_D_TYPE].
29636 * io/ftw.c (ftw_dir): Likewise.
29637
29638 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29639
29640 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29641
29642 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29643 Use the BSD numbers rather than the arbitrary ones we had.
29644 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29645 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29646 (SIGXCPU, SIGXFSZ): New macros.
29647 (_NSIG): Now 32.
29648
29649 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29650 initializer on [_LIBC_REENTRANT].
29651
29652 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29653 definitions inside [_POSIX_MAPPED_FILES].
29654
29655 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29656
29657 * dirent/opendir.c: Include <fcntl.h>.
29658
29659 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29660 (__libc_getspecific): Likewise.
29661 (__libc_key_create): Likewise.
29662
29663 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29664 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29665 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29666 (tmpfile64): Define as alias.
29667 * sysdeps/wordsize-64/tmpfile.c: File removed.
29668 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29669 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29671
29672 * stdio-common/vfscanf.c: Include <stdbool.h>.
29673 * nss/makedb.c: Likewise.
29674 * stdio-common/_i18n_number.h: Likewise.
29675 * argp/argp-help.c: Likewise.
29676 * posix/wordexp.c: Likewise.
29677 * sysdeps/posix/spawni.c: Likewise.
29678 * nss/nss_files/files-initgroups.c: Likewise.
29679 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29680 * nss/nss_files/files-initgroups.c: Likewise.
29681 * nss/nss_db/db-netgrp.c: Likewise.
29682 * nss/nss_db/db-initgroups.c: Likewise.
29683 * io/fchmodat.c: Include <sys/stat.h>.
29684
29685 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29686 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29687
29688 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29689 [HAVE_MMAP].
29690
29691 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29692 Add multiple inclusion protection.
29693
e5abc686
DM
296942012-07-27 David S. Miller <davem@davemloft.net>
29695
29696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29697
815e6fa3
GB
296982012-07-27 Gary Benson <gbenson@redhat.com>
29699
29700 [BZ #14298]
29701 * elf/rtld.c: Include <stap-probe.h>.
29702 (dl_main): Added static probes "init_start" and "init_complete".
29703 * elf/dl-load.c: Include <stap-probe.h>.
29704 (lose): Take new parameter "nsid".
29705 Added static probe "map_failed".
29706 (_dl_map_object_from_fd): Pass namespace id to lose.
29707 Added static probe "map_start".
29708 (open_verify): Pass namespace id to lose.
29709 * elf/dl-open.c: Include <stap-probe.h>.
29710 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29711 and "reloc_complete".
29712 * elf/dl-close.c: Include <stap-probe.h>.
29713 (_dl_close_worker): Added static probes "unmap_start" and
29714 "unmap_complete".
29715 * elf/rtld-debugger-interface.txt: New file documenting the above.
29716
9f98c16c
RM
297172012-07-26 Roland McGrath <roland@hack.frob.com>
29718
29719 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29720 rather than a string variable.
29721 * sunrpc/rpc_main.c (h_output): Likewise.
29722 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29723
f3c22df3
PT
297242012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29725
29726 * inet/check_native.c: New file.
29727
3129cfc6
JM
297282012-07-26 Joseph Myers <joseph@codesourcery.com>
29729
da865e95
JM
29730 [BZ #13629]
29731 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29732 if larger part has absolute value 1.0.
29733 * math/s_clog10.c (__clog10): Likewise.
29734 * math/s_clog10f.c (__clog10f): Likewise.
29735 * math/s_clog10l.c (__clog10l): Likewise.
29736 * math/s_clogf.c (__clogf): Likewise.
29737 * math/s_clogl.c (__clogl): Likewise.
29738 * math/libm-test.inc (clog_test): Add more tests.
29739 (clog10_test): Likewise.
29740 * sysdeps/i386/fpu/libm-test-ulps: Update.
29741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29742
3129cfc6
JM
29743 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29744 (pltexit): Likewise.
29745 (La_regs): Likewise.
29746 (La_retval): Likewise.
29747 (int_retval): Likewise.
29748 Update #error for removed macros to refer only to definitions in
29749 tst-audit.h.
29750 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29751 macro.
29752 (pltexit): Likewise.
29753 (La_regs): Likewise.
29754 (La_retval): Likewise.
29755 (int_retval): Likewise.
29756 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29757 macro.
29758 (pltexit): Likewise.
29759 (La_regs): Likewise.
29760 (La_retval): Likewise.
29761 (int_retval): Likewise.
29762 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29763 macro.
29764 (pltexit): Likewise.
29765 (La_regs): Likewise.
29766 (La_retval): Likewise.
29767 (int_retval): Likewise.
29768 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29769 macro.
29770 (pltexit): Likewise.
29771 (La_regs): Likewise.
29772 (La_retval): Likewise.
29773 (int_retval): Likewise.
29774 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29775 macro.
29776 (pltexit): Likewise.
29777 (La_regs): Likewise.
29778 (La_retval): Likewise.
29779 (int_retval): Likewise.
29780 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29781 macro.
29782 (pltexit): Likewise.
29783 (La_regs): Likewise.
29784 (La_retval): Likewise.
29785 (int_retval): Likewise.
29786 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29787 macro definitions in tst-audit.h.
29788 * sysdeps/i386/tst-audit.h: New file.
29789 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29790 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29791 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29792 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29793 * sysdeps/sh/tst-audit.h: Likewise.
29794 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29795 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29796 * sysdeps/x86_64/tst-audit.h: Likewise.
29797
bfc07087
AJ
297982012-07-26 Andreas Jaeger <aj@suse.de>
29799
b1b2aaf8
AJ
29800 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29801 ptrace.
29802
29803 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29804 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29805 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29806 PTRACE_O_MASK.
29807 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29808 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29809 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29810
bfc07087
AJ
29811 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29812 value.
29813
29814 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29815 _sigsys.
29816 (si_call_addr, si_syscall, si_arch): Define new macro.
29817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29818 _sigsys.
29819 (si_call_addr, si_syscall, si_arch): Define new marcro.
29820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29821 _sigsys.
29822 (si_call_addr, si_syscall, si_arch): Define new macro.
29823 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29824 _sigsys.
29825 (si_call_addr, si_syscall, si_arch): Define new macro.
29826
89b4b02f
JM
298272012-07-25 Joseph Myers <joseph@codesourcery.com>
29828
29829 [BZ #13717]
29830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29831 Change to 2.4.21 where previously 2.4.1.
29832 * sysdeps/unix/sysv/linux/configure: Regenerated.
29833 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29834 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29835 Linux kernel version.
29836 (__ASSUME_STD_AUXV): Remove.
29837 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29838 kernel version.
29839 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29840 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29841 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29842 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29843 (__ASSUME_NETLINK_SUPPORT): Likewise.
29844 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29845 (__no_netlink_support): Remove conditional definition.
29846 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29847 Remove.
29848 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29849 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29850 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29851 (if_nameindex_ioctl): Remove.
29852 (if_nameindex_netlink): Do not handle __no_netlink_support.
29853 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29854 code.
29855 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29856 Remove conditional code.
29857 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29858 code.
29859 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29860 unconditional.
29861 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29862 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29863 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29864 Remove.
29865 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29866 [!__ASSUME_STD_AUXV]: Remove conditional code.
29867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29868 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29869 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29871 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29872 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29873 code.
29874 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29876 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29877 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29878 conditional code.
29879 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29881 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29882 code.
29883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29884 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29885 conditional code.
29886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29887 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29888 code unconditional.
29889 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29890 conditional code.
29891 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29892 unconditional.
29893 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29894 conditional code.
29895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29896 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29897 unconditional.
29898 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29899 conditional code.
29900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29901 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29902 code unconditional.
29903 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29904 conditional code.
29905 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29906 unconditional.
29907 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29908 conditional code.
29909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29910 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29911 code unconditional.
29912 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29913 conditional code.
29914 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29915 unconditional.
29916 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29917 conditional code.
29918
842a39cd
AS
299192012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29920
29921 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29922 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29923 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29924 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29925 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29926 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29927 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29928 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29929 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29930 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29931 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29932 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29933 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29934 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29935 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29936 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29937 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29938 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29939 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29941 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29942 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29943 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29944
84b3fd84
FW
299452012-07-25 Florian Weimer <fweimer@redhat.com>
29946
29947 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
29948 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29949 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29950 Introduce __libc_secure_getenv.
0c7936d5
FW
29951 * stdlib/Versions (2.17): Add secure_getenv
29952 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29953 * stdlib/secure-getenv.c: Rename __secure_getenv to
29954 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29955 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
29956 * stdlib/tst-secure-getenv.c: New.
29957 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
29958 * manual/startup.texi (Environment Access): Document
29959 secure_getenv.
84b3fd84
FW
29960 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29961 __libc_secure_getenv.
29962 * inet/ruserpass.c (ruserpass): Likewise.
29963 * malloc/mtrace.c (mtrace): Likewise.
29964 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 29965 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
29966 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29967 * sysdeps/posix/tempname.c: Likewise. Evaluate
29968 HAVE_SECURE_GETENV.
29969 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 29970 __secure_getenv to __libc_secure_getenv.
84b3fd84 29971 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
29972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29973 Likewise.
29974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29975 Likewise.
29976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 29983
56e49b71
JM
299842012-07-25 Joseph Myers <joseph@codesourcery.com>
29985
29986 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29987 (struct La_i86_retval): Likewise.
29988 (struct La_x86_64_regs): Likewise.
29989 (struct La_x86_64_retval): Likewise.
29990 (struct La_x32_regs): Likewise.
29991 (struct La_x32_retval): Likewise.
29992 (struct La_ppc32_regs): Likewise.
29993 (struct La_ppc32_retval): Likewise.
29994 (struct La_ppc64_regs): Likewise.
29995 (struct La_ppc64_retval): Likewise.
29996 (struct La_sh_regs): Likewise.
29997 (struct La_sh_retval): Likewise.
29998 (struct La_s390_32_regs): Likewise.
29999 (struct La_s390_32_retval): Likewise.
30000 (struct La_s390_64_regs): Likewise.
30001 (struct La_s390_64_retval): Likewise.
30002 (struct La_sparc32_regs): Likewise.
30003 (struct La_sparc32_retval): Likewise.
30004 (struct La_sparc64_regs): Likewise.
30005 (struct La_sparc64_retval): Likewise.
30006 (struct audit_ifaces): Remove architecture-specific pltenter and
30007 pltexit members.
30008 * sysdeps/i386/ldsodefs.h: New file.
30009 * sysdeps/powerpc/ldsodefs.h: Likewise.
30010 * sysdeps/s390/ldsodefs.h: Likewise.
30011 * sysdeps/sh/ldsodefs.h: Likewise.
30012 * sysdeps/sparc/ldsodefs.h: Likewise.
30013 * sysdeps/x86_64/ldsodefs.h: Likewise.
30014
354691b7
MP
300152012-07-25 Marek Polacek <polacek@redhat.com>
30016
30017 [BZ #6808]
30018 * math/libm-test.inc (yn_test): Add another test.
30019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30020 to ERANGE when the result is +-Inf.
30021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30022 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30023 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30024 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30025
bf9e2071
JM
300262012-07-24 Joseph Myers <joseph@codesourcery.com>
30027
30028 * conform/data/time.h-data (NULL): Use macro-constant. Require
30029 equal to 0.
30030 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30031 clock_t.
30032 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30033
57633811
TS
300342012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30035
30036 * configure.in <sysdeps resolving>: Correct printing
30037 Implies_before.
30038 * configure: Regenerate.
30039
c23c33b0
TS
300402012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30041
30042 * math/w_ilogb.c: Include <limits.h>.
30043 * math/w_ilogbl.c: Likewise.
30044
b5982523
JM
300452012-07-20 Joseph Myers <joseph@codesourcery.com>
30046
30047 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30048 va_copy. Document allowing for unavailable va_copy only as
30049 pre-C99 compatibility.
30050 * manual/string.texi (Copying and Concatenation): Use va_copy
30051 instead of __va_copy in concat example.
30052
ac4ea442
PT
300532012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30054
30055 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30056 (__sendto): Use create_address_port. Initialize APORT and deallocate
30057 it if not null.
30058
f98eafbd
PT
30059 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30060 with O_NOLINK passed to __file_name_lookup.
30061
898c7aab
PT
30062 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30063 with O_NOLINK passed to __file_name_lookup.
30064
0ced335a
PT
30065 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30066 negative N or less than NGIDS.
30067
b3404dbd
PT
30068 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30069 type to string_t. Set ERANGE as errno and return it if NAME is not big
30070 enough. Use memcpy instead of strncpy.
30071
0f48659e
JM
300722012-07-20 Joseph Myers <joseph@codesourcery.com>
30073
30074 * elf/Makefile (check-data): Remove.
30075 (localplt.data): New vpath directive.
30076 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30077 instead of $(check-data).
30078 * scripts/data/localplt-generic.data: Move to ...
30079 * sysdeps/generic/localplt.data: ... here.
30080 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30081 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30082 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30084 ... here.
30085 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30087 ... here.
30088 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30090 ... here.
30091 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30093 ... here.
30094 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30096 ... here.
30097 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30099 ... here.
30100
d37cbdaa
AZ
301012012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30102
30103 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30104 PPC32 and PPC64 files.
30105 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30106 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30107
46f85fc2
AK
301082012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30109
30110 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30111 __makecontext_ret to ...
30112 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30113 ... here and call exit if uc_link is NULL. New file.
30114 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30115 __makecontext_ret.S.
30116 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30117 __makecontext_ret to ...
30118 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30119 ... here and call exit if uc_link is NULL. New file.
30120 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30121 __makecontext_ret.S.
30122
08f43f9b
AK
301232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30124
30125 * elf/elf.h (R_390_IRELATIVE): New definition.
30126 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30127 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30128 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30130 (elf_machine_lazy_rel): Likewise.
30131 * sysdeps/s390/dl-irel.h: New file.
30132 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30133 * sysdeps/s390/s390-64/memset.S: New asm code.
30134 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30135 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30136 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30137 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30138 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30139 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30140 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30141 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30142 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30143 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30144 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30145 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30146 * sysdeps/s390/s390-32/memset.S: New asm code.
30147 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30148
3b05db33
MP
301492012-07-17 Marek Polacek <polacek@redhat.com>
30150
30151 [BZ #14349]
30152 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30153 * sysdeps/s390/s390-64/configure.in: Likewise.
30154 * sysdeps/sparc/configure.in: Likewise.
30155 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30156 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30157 * sysdeps/i386/configure.in: Likewise.
30158 * sysdeps/x86_64/configure.in: Likewise.
30159 * sysdeps/sh/configure.in: Likewise.
30160 * sysdeps/s390/s390-32/configure: Regenerated.
30161 * sysdeps/s390/s390-64/configure: Likewise.
30162 * sysdeps/x86_64/configure: Likewise.
30163 * sysdeps/sh/configure: Likewise.
30164 * sysdeps/powerpc/powerpc64/configure: Likewise.
30165 * sysdeps/powerpc/powerpc32/configure: Likewise.
30166 * sysdeps/sparc/configure: Likwise.
30167 * sysdeps/i386/configure: Likewise.
30168
a66877c6
MP
30169 * elf/dl-open.c: Comment fixes.
30170
cfc82fd8
JM
301712012-07-17 Joseph Myers <joseph@codesourcery.com>
30172
bd29910a
JM
30173 * Makefile [CXX] (check-data): Remove.
30174 [CXX] (c++-types.data): New vpath directive.
30175 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30176 vpath. Do not allow for C++ type data being missing.
30177 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30178 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30179 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30180 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30181 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30182 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30183 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30185 ... here.
30186 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30188 ... here.
30189 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30191 ... here.
30192 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30194 ... here.
30195 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30197 ... here.
30198 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30200 ... here.
30201 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30203 ... here.
30204 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30206
cfc82fd8
JM
30207 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30208 definitions to architecture-specific files.
30209 (TLS_IE): Likewise.
30210 (TLS_LD): Likewise.
30211 (TLS_GD): Likewise.
30212 * sysdeps/i386/tls-macros.h: New file.
30213 * sysdeps/powerpc/tls-macros.h: Likewise.
30214 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30215 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30216 * sysdeps/sh/tls-macros.h: Likewise.
30217 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30218 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30219 * sysdeps/x86_64/tls-macros.h: Likewise.
30220
f7db3170
TS
302212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30222
07cbfc23
TS
30223 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30224 zero value for regular exit case.
30225
f7db3170
TS
30226 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30227 (__start_context): Preserve zero value for regular exit case.
30228
dc97c227
TS
302292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30230 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30231
30232 * manual/setjmp.texi (setcontext): Clarify normal process
30233 termination when uc_link is the null pointer.
30234 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30235 exit call.
30236
d0cd7d02
AS
302372012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30238
30239 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30240 preprocessor. Test for each exception mask separately.
30241
dd318934
AJ
302422012-07-16 Andreas Jaeger <aj@suse.de>
30243
30244 * po/ru.po: Update from translation team.
30245
8048311a
JM
302462012-07-15 Joseph Myers <joseph@codesourcery.com>
30247
30248 * conform/data/string.h-data (NULL): Use macro-constant. Require
30249 equal to 0.
30250 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30251 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30252 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30253 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30254 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30255
b637d46e
AJ
302562012-07-13 Andreas Jaeger <aj@suse.de>
30257
30258 * po/fr.po: Update from translation team.
30259
541428fe
MP
302602012-07-12 Marek Polacek <polacek@redhat.com>
30261
30262 [BZ #14173]
30263 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30264 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30265 loop condition.
30266
ec332e94
JM
302672012-07-12 Joseph Myers <joseph@codesourcery.com>
30268
30269 [BZ #13717]
30270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30271 Change to 2.4.1 where previously 2.4.0.
30272 * sysdeps/unix/sysv/linux/configure: Regenerated.
30273 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30274 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30275 version.
30276 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30277 (__ASSUME_AT_CLKTCK): Remove.
30278 (__ASSUME_AT_PAGESIZE): Likewise.
30279 (__ASSUME_AT_XID): Likewise.
30280 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30281 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30282 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30283 unconditionally.
30284 (HAVE_AUX_PAGESIZE): Likewise.
30285 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30286 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30287 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30288
7b6e99be
JB
302892012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30290
30291 [BZ #14307]
30292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30293 the temporary buffer used to invoke __gethostbyname2_r,
30294 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30295 host_data / struct gaih_addrtuple.
30296 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30297 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30298 header file nss/nsswitch.h.
30299 * nss/nsswitch.h (global scope): Add definition of implementation
30300 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30301 resolv/nss_dns/dns-host.c).
30302
608404eb
AJ
303032012-07-11 Andreas Jaeger <aj@suse.de>
30304
30305 * po/fr.po: Update from translation team.
30306
71220aca
AJ
30307 * po/sv.po: Update from translation team
30308 * po/fr.po: Another update from translation team.
30309
28cfe843
AZ
303102012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30311
30312 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30313 for subnormals or multiply small sinh result by itself.
30314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30316
6b90f981
DM
303172012-07-11 David S. Miller <davem@davemloft.net>
30318
30319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30320
c6825772
AS
303212012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30322
30323 [BZ #14347]
30324 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30325 (INTERNAL_MARK): Shift it here.
30326
7b8e0d49
MP
303272012-07-10 Marek Polacek <polacek@redhat.com>
30328
30329 [BZ #14151]
30330 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30331 libc_cv_asm_global_directive with .globl.
30332 * configure: Regenerated.
30333 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30334 with .globl.
30335 * sysdeps/i386/configure: Regenerated.
30336 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30337 with .globl.
30338 * sysdeps/x86_64/configure: Regenerated.
30339 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30340 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30341 * elf/tst-unique2mod2.c: Likewise.
30342 * elf/tst-unique2mod1.c: Likewise.
30343 * elf/tst-unique1mod2.c: Likewise.
30344 * elf/tst-unique1mod1.c: Likewise.
30345 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30346 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30347 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30349 * sysdeps/mach/sysdep.h: Likewise.
30350 * sysdeps/i386/sysdep.h: Likewise.
30351 * sysdeps/i386/i386-mcount.S: Likewise.
30352 * sysdeps/x86_64/_mcount.S: Likewise.
30353 * sysdeps/x86_64/sysdep.h: Likewise.
30354 * sysdeps/sh/_mcount.S: Likewise.
30355 * sysdeps/sh/sysdep.h: Likewise.
30356 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30357 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30358 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30359 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30360 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30361 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30362 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30363 * locale/localeinfo.h: Likewise.
30364 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30365 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30366
6c55cda3
RM
303672012-07-09 Roland McGrath <roland@hack.frob.com>
30368
30369 [BZ #14336]
30370 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30371 system".
30372 * manual/message.texi (The Uniforum approach): Likewise.
30373 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30374 (glibc iconv Implementation): Likewise.
30375
638a572e
JM
303762012-07-09 Joseph Myers <joseph@codesourcery.com>
30377
30378 [BZ #14337]
30379 * math/s_clog.c (__clog): Avoid scaling a value down where that
30380 could result in underflow.
30381 * math/s_clog10.c (__clog10): Likewise.
30382 * math/s_clog10f.c (__clog10f): Likewise.
30383 * math/s_clog10l.c (__clog10l): Likewise.
30384 * math/s_clogf.c (__clogf): Likewise.
30385 * math/s_clogl.c (__clogl): Likewise.
30386 * math/libm-test.inc (clog_test): Add more tests.
30387 (clog10_test): Likewise.
30388 * sysdeps/i386/fpu/libm-test-ulps: Update.
30389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30390
261f4859
AS
303912012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30392
0abaf3e4
AS
30393 [BZ #14283]
30394 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30395 by 7 not 8 to examine high bit of fractional part.
30396
261f4859
AS
30397 [BZ #14042]
30398 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30399 for call to __mcount_internal.
30400 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30401 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30402 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30403
f17ac40d
JM
304042012-07-06 Joseph Myers <joseph@codesourcery.com>
30405
9ad63c23
JM
30406 [BZ #14154]
30407 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30408 approximation for values within 0x1p-13f of an odd multiple of
30409 pi/4.
30410 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30411 exception. Add more tests.
30412 * sysdeps/i386/fpu/libm-test-ulps: Update.
30413
f17ac40d
JM
30414 [BZ #6778]
30415 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30416 inputs and return -1 for them. Do not check for +Inf in case not
30417 reachable for +Inf.
30418 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30419 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30420 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30421 and return -1 for them. Do not check for +Inf in case not
30422 reachable for +Inf.
30423 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30424 define.
30425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30426 and return -1 for them. Do not check for +Inf in case not
30427 reachable for +Inf.
30428 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30429 spurious underflow.
30430 * sysdeps/i386/fpu/libm-test-ulps: Update.
30431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30432
fb21f89b
MF
304332012-07-06 Mike Frysinger <vapier@gentoo.org>
30434
30435 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30436
cdfe2c5e
JM
304372012-07-05 Joseph Myers <joseph@codesourcery.com>
30438
30439 [BZ #14157]
30440 [BZ #14331]
30441 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30442 could result in spurious underflow. Scale down values above
30443 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30444 * math/s_csqrtf.c (__csqrtf): Likewise.
30445 * math/s_csqrtl.c (__csqrtl): Likewise.
30446 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30447 spurious underflow.
30448 * sysdeps/i386/fpu/libm-test-ulps: Update.
30449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30450
70d35b67
AS
304512012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30452
704bc459
AS
30453 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30454 xopen-msg.sed.
30455 * catgets/xopen-msg.awk: New file.
30456 * catgets/xopen-msg.sed: Removed.
30457
70d35b67
AS
30458 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30459 po2text.sed.
30460 * intl/po2test.awk: New file.
30461 * intl/po2test.sed: Removed.
30462
ca61cf32
JM
304632012-07-04 Joseph Myers <joseph@codesourcery.com>
30464
30465 [BZ #14328]
30466 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30467 or multiply small sinh result by itself.
30468 * math/s_ctanf.c (__ctanf): Likewise.
30469 * math/s_ctanh.c (__ctanh): Likewise.
30470 * math/s_ctanhf.c (__ctanhf): Likewise.
30471 * math/s_ctanhl.c (__ctanhl): Likewise.
30472 * math/s_ctanl.c (__ctanl): Likewise.
30473 * math/libm-test.inc (ctan_test_tonearest): New function.
30474 (ctan_test_towardzero): Likewise.
30475 (ctan_test_downward): Likewise.
30476 (ctan_test_upward): Likewise.
30477 (ctanh_test_tonearest): Likewise.
30478 (ctanh_test_towardzero): Likewise.
30479 (ctanh_test_downward): Likewise.
30480 (ctanh_test_upward): Likewise.
30481 (main): Call these new functions.
30482 * sysdeps/i386/fpu/libm-test-ulps: Update.
30483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30484
ca48a46a
MF
304852012-07-03 Mike Frysinger <vapier@gentoo.org>
30486
30487 * .gitignore: Delete /ports entry.
30488
9d63d37d
AJ
304892012-07-03 Andreas Jaeger <aj@suse.de>
30490
30491 * po/bg.po: Update from translation team.
30492 * po/cs.po: Likewise.
30493 * po/de.po: Likewise.
30494 * po/hr.po: Likewise.
30495 * po/nl.pl: Likewise.
30496 * po/pl.po: Likewise.
30497 * po/vi.po: Likewise.
30498
370ca3d2
JM
304992012-07-03 Joseph Myers <joseph@codesourcery.com>
30500
95f5a9a8
JM
30501 * Makeconfig [!+link] (+link-before-libc): New variable.
30502 [!+link] (+link-after-libc): Likewise.
30503 [!+link] (+link-tests): Likewise.
30504 [!+link] (+link): Define in terms of $(+link-before-libc) and
30505 $(+link-after-libc).
30506 [!+link-static] (+link-static-before-libc): New variable.
30507 [!+link-static] (+link-static-after-libc): Likewise.
30508 [!+link-static] (+link-static-tests): Likewise.
30509 [!+link-static] (+link-static): Define in terms of
30510 $(+link-static-before-libc) and $(+link-static-after-libc).
30511 [build-shared] (link-libc-before-gnulib): New variable.
30512 [build-shared] (link-libc-tests): Likewise.
30513 [build-shared] (link-libc): Define in terms of
30514 $(link-libc-before-gnulib).
30515 [!build-shared] (link-libc-tests): New variable.
30516 (link-libc-static-tests): New variable.
30517 [!gnulib] (gnulib-arch): New variable.
30518 [!gnulib] (gnulib-tests): Likewise.
30519 [!gnulib] (static-gnulib-arch): Likewise.
30520 [!gnulib] (static-gnulib-tests): Likewise.
30521 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30522 Define with "=" instead of ":=".
30523 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30524 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30525 * Rules (binaries-all-notests): New variable.
30526 (binaries-all-tests): Likewise.
30527 (binaries-static-notests): Likewise.
30528 (binaries-static-tests): Likewise.
30529 (binaries-all): Define using $(binaries-all-notests) and
30530 $(binaries-all-tests).
30531 (binaries-static): Define using $(binaries-static-notests) and
30532 $(binaries-static-tests).
30533 (binaries-shared-tests): New variable.
30534 (binaries-shared-notests): Likewise.
30535 (binaries-shared): Remove variable.
30536 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30537 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30538 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30539 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30540 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30541 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30542 * elf/Makefile (sln-modules): New variable.
30543 (extra-objs): Add $(sln-modules:=.o).
30544 (ldconfig-modules): Add static-stubs.
30545 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30546 * elf/static-stubs.c: New file.
30547
7a845b2c
JM
30548 [BZ #14283]
30549 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30550 by 7 not 8 to examine high bit of fractional part. Use volatile
30551 variables when splitting into final array of floats if
30552 __FLT_EVAL_METHOD__ != 0.
30553 * math/libm-test.inc (cos_test): Add another test.
30554 (sin_test): Likewise.
30555 * sysdeps/i386/fpu/libm-test-ulps: Update.
30556
e2283f38
JM
30557 [BZ #14273]
30558 * math/libm-test.inc (cosh_test): Add more tests.
30559
370ca3d2
JM
30560 * version.h (RELEASE): Set to "development".
30561 (VERSION): Set to "2.16.90".
30562
ee9247c3
CD
305632012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30564
30565 * NEWS: Update copyright. Remove last-updated date.
30566 Mention math library bug fixes and timezone data changes.
30567 * README: Mention GNU/Hurd, x32, and HPPA support status.
30568
4648c381
TS
305692012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30570
30571 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30572
aac78a43
AJ
305732012-06-27 Andreas Jaeger <aj@suse.de>
30574
30575 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30576
ed3dbfad
AJ
305772012-06-25 Andreas Jaeger <aj@suse.de>
30578
30579 * sysdeps/s390/fpu/libm-test-ulps: Update.
30580
4d0ee855
AS
305812012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30582 Thomas Schwinge <thomas@codesourcery.com>
30583
30584 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30585 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30587 fanotify_mark.
30588
af1bce34
TS
305892012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30590
a9fa33ba
TS
30591 * sysdeps/mach/start.c: Remove file.
30592 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30593 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30594 * sysdeps/sh/init-first.c: Likewise.
30595
58f902b8
TS
30596 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30597 registers for frame unwinding purposes, add CFI directives.
30598 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30599 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30600 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30601 Likewise.
30602
1518f58b
TS
30603 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30604 __fortify_fail returning.
30605 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30606
db9b5059
TS
30607 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30608 sysdeps/sh/____longjmp_chk.S.
30609 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30610 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30611 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30612 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30613
967705fe
TS
30614 * sysdeps/sh/abort-instr.h: New file.
30615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30616 process in case exit returns.
30617
a9def8c4
TS
30618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30619 initialize the GOT register before use.
30620
2a649725
TS
30621 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30622 calculation of ARGC > 4.
30623
af1bce34
TS
30624 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30625 meaningful names to some local labels.
30626
d230f50a
KK
306272012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30628 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30629
30630 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30631 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30632 (__arch_compare_and_exchange_val_16_acq): Likewise.
30633 (__arch_compare_and_exchange_val_32_acq): Likewise.
30634 (atomic_exchange_and_add): Fix gUSA sequence.
30635 (atomic_add): Likewise.
30636 (atomic_add_negative): Likewise.
30637 (atomic_add_zero): Likewise.
30638 (atomic_bit_test_set): Likewise.
30639
0479b305
AS
306402012-06-22 Andreas Schwab <schwab@redhat.com>
30641
30642 [BZ #13579]
30643 * include/link.h (struct link_map): Add l_free_initfini.
30644 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30645 l_initfini.
30646 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30647 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30648 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30649 set.
30650
0e3933b9
CD
306512012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30652
30653 * configure.in: Use AC_LANG_SOURCE.
30654 * configure: Regenerate.
30655
4248b1b1
RM
306562012-06-22 Roland McGrath <roland@hack.frob.com>
30657
30658 * configure.in (libc_cv_localstatedir): New substituted variable.
30659 * configure: Regenerated.
30660 * config.make.in (localstatedir): New variable, substituted from
30661 libc_cv_localstatedir.
30662 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30663 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30664 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30665 * sysdeps/gnu/configure: Regenerated.
30666
006dd861
JL
306672012-06-21 Jeff Law <law@redhat.com>
30668
30669 [BZ #14277]
30670 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30671 free. Simplify list management for _LIBC case.
30672
79662d42
JM
306732012-06-21 Joseph Myers <joseph@codesourcery.com>
30674
b7abb4bf
JM
30675 [BZ #14273]
30676 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30677 Clear sign bit of 64-bit integer value before comparing against
30678 overflow value.
30679
79662d42
JM
30680 * sysdeps/mach/configure: Regenerated.
30681
1f150908
L
306822012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30683
30684 [BZ #14278]
30685 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30686
28363bbf
JL
306872012-06-21 Jeff Law <law@redhat.com>
30688
30689 [BZ #13882]
30690 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30691 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 30692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
30693 * elf/dl-open.c (dl_open_worker): Likewise.
30694
09615db4
CD
306952012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30696
30697 * scripts/list-sources.sh: Scan PORTS for translations.
30698 * po/libc.pot: Regenerated.
30699
2174c6dd
AJ
307002012-06-21 Andreas Jaeger <aj@suse.de>
30701
30702 [BZ #12194]
30703 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30704 warning.
30705 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30706 * bits/byteswap-16.h (__bswap_16): Likewise.
30707 * bits/byteswap.h (__bswap_constant_16): Likewise.
30708
3ee947b1
L
307092012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30710
30711 [BZ #14117]
a2f34833
L
30712 * sysdeps/i386/fpu_control.h: Removed.
30713 * sysdeps/x86_64/fpu_control.h: Moved to ...
30714 * sysdeps/x86/fpu_control.h: Here.
30715
3ee947b1
L
30716 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30717 (_FPU_SETCW): Likewise.
30718
ed1825f8
L
307192012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30720
25f1282a
L
30721 [BZ #14117]
30722 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30723 * sysdeps/x86/fpu/bits/mathinline.h: This.
30724 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30725
ed1825f8
L
30726 [BZ #14050]
30727 [BZ #14117]
30728 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30729 functions if __x86_64__ is defined.
30730
36d54b74
CLT
307312012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30732
30733 * string/endian.h: Add !__ASSEMBLER__ condition for including
30734 conversion interfaces.
30735
10285c21
JM
307362012-06-15 Joseph Myers <joseph@codesourcery.com>
30737
30738 [BZ #14241]
30739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30740 of ABS(x) in calculating zero to negative powers other than odd
30741 integers.
30742 * math/libm-test.inc (pow_test): Add more tests.
30743
06c5abbd
AJ
307442012-06-15 Andreas Jaeger <aj@suse.de>
30745
30746 * manual/contrib.texi (Contributors): Update entry of Liubov
30747 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30748 Machado Filho.
30749
a3aeac40
CH
307502012-06-15 Cyril Hrubis <metan@ucw.cz>
30751
30752 * string/string.h: Add __wur to GNU version of strerror_r.
30753
49bdf4c1
L
307542012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30755
30756 [BZ #14229]
30757 * string/Makefile (tests): Add tst-strtok_r.
30758 * string/tst-strtok_r.c: New file.
30759 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30760 RAX_LP/RDX_LP on SAVE_PTR.
30761
834f9b8d
RM
307622012-06-14 Roland McGrath <roland@hack.frob.com>
30763
30764 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30765
75fa1921
JM
307662012-06-14 Joseph Myers <joseph@codesourcery.com>
30767
30768 * libm_test.inc (csqrt_test): Allow more spurious underflow
30769 exceptions.
30770 (j0_test): Likewise.
30771 (j1_test): Likewise.
30772 (y0_test): Likewise.
30773 (y1_test): Likewise.
30774
771766df
CD
307752012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30776
30777 * po/Makefile (libc.pot): Use UTF-8 charset.
30778
ceb9e56b
PP
307792012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30780
30781 [BZ #14210]
30782 Suppress sign-conversion warning from FD_SET.
30783 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30784 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30785 not unsigned long int.
30786 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30787
ddb28975
L
307882012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30789
30790 [BZ #14050]
30791 [BZ #14117]
30792 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30793 __extern_always_inline instead of __extern_inline.
30794 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30795 (__signbit): Likewise.
30796 (__signbitl): Support C++ namespace.
30797 (lrintf): New inline function.
30798 (lrint): Likewise.
30799 (llrintf): Likewise.
30800 (llrint): Likewise.
30801 (fmaxf): Likewise.
30802 (fmax): Likewise.
30803 (fminf): Likewise.
30804 (fmin): Likewise.
30805 (rint): Likewise.
30806 (rintf): Likewise.
30807 (ceil): Likewise.
30808 (ceilf): Likewise.
30809 (floor): Likewise.
30810 (floorf): Likewise.
30811 (nearbyint): Likewise.
30812 (nearbyintf): Likewise.
30813
d7b4fb26
TS
308142012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30815
30816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30817 non-default versions.
30818
eb55f5c2
RM
308192012-06-11 Roland McGrath <roland@hack.frob.com>
30820
30821 [BZ #14218]
30822 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30823
366af02c
TS
308242012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30825
99ff6e5c
TS
30826 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30827 (FE_UPWARD, FE_DOWNWARD): Don't define.
30828 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30829 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30830
366af02c
TS
30831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30832 reading it.
30833 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30834 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30835
793ea851
KK
308362012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30837
30838 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30840 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30841 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30842
a728a38f
L
308432012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30844
30845 [BZ #14117]
c08010c7
L
30846 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30847 * sysdeps/i386/fpu/Implies: New file.
30848 * sysdeps/x86_64/fpu/Implies: Likewise.
30849 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30850 * sysdeps/x86/fpu/bits/fenv.h: This.
30851
a728a38f
L
30852 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30853 __SSE_MATH__.
30854
6e230d11
SP
308552012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30856
30857 [BZ #14134]
30858 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30859 character 0xffff that matches the last element of the
30860 conversion table.
30861
1b671feb
AZ
308622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30863
30864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30865 fmodl commit.
30866
6043738b
AZ
308672012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30868
30869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30870 values higher than 25.6283.
30871
34ae0b32
AZ
308722012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30873
30874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30875 subnormal exponent extraction and add some __builtin_expect.
30876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30877 Fix for subnormal mantissa calculation.
30878
1214ec8f
MF
308792012-06-04 Mike Frysinger <vapier@gentoo.org>
30880
30881 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30882 cpu2 is -1 and errno is not ENOSYS.
30883
f3d1f93c
L
308842012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30885
30886 [BZ #14117]
0e4a3cd7
L
30887 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30888 * sysdeps/x86/bits/string.h: This.
30889 * sysdeps/x86_64/bits/string.h: Removed.
30890
6704c645
L
30891 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30892 if not compiling for x86-64, but compiling for >= i486.
30893
48495318
L
30894 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30895 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30896
14adcbfc
L
30897 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30898 New macro from Linux kernel 3.4.0.
30899 (FP_XSTATE_MAGIC2): Likewise.
30900 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30901 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30902 (struct _fpx_sw_bytes): New struct.
30903 (struct _xsave_hdr): Likewise.
30904 (struct _ymmh_state): Likewise.
30905 (struct _xstate): Likewise.
30906
68e408ab
L
30907 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30908 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30910 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30911 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30912 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30913
f3d1f93c
L
30914 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30915 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30916 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30917 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30918 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30919 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30920
d9dc34cd
TMQMF
309212012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30922
30923 [BZ #13743]
30924 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30925 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30926 (sysdep_headers): Include sys/platform/ppc.h.
30927 * sysdeps/powerpc/test-gettimebase.c: Test for
30928 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30929 * manual/Makefile (appendices): Include platform.texi.
30930 * manual/contrib.texi (Contributors): Update @node pointers.
30931 * manual/maint.texi (Maintenance): Likewise.
30932 (Platform): New node.
30933 * manual/platform.texi: New file. Document the new features.
30934
4af3879c
SP
309352012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30936 Jakub Jelinek <jakub@redhat.com>
30937
30938 [BZ #14188]
30939 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30940 where __builtin_expect is unavailable.
30941
2fd6ff13
DM
309422012-06-03 David S. Miller <davem@davemloft.net>
30943
30944 * stdlib/longlong.h: Updated from GCC.
30945
173f7220
AS
309462012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30947
30948 [BZ #14042]
30949 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30950 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30951 __mcount_internal.
30952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30953 (GLIBC_2.16): Likewise.
30954
f34a1c6f
L
309552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30956
30957 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30958
88a4576f
JM
309592012-06-01 Joseph Myers <joseph@codesourcery.com>
30960
ea32bcdd
JM
30961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30962 (default-abi): New variable.
30963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30964 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30965 variable.
30966 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30967 Likewise.
30968 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30969 Likewise.
30970 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30971 Likewise.
30972
88a4576f
JM
30973 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30974 definition. Document in comment.
30975
402fe938
DM
309762012-06-01 David S. Miller <davem@davemloft.net>
30977
30978 * stdlib/longlong.h: Updated from GCC.
30979
3553723f
L
309802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30981
30982 [BZ #14117]
3bd872c4
L
30983 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30984 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30985 sys/debugreg.h sys/io.h here.
30986 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30987 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30988 sys/io.h.
30989 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30990 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30991 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30992 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30993 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30994 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30995
3553723f
L
30996 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30997 Define only if __x86_64__ is defined.
30998
4842e4fe
JM
309992012-06-01 Joseph Myers <joseph@codesourcery.com>
31000
c5bfe3d5
JM
31001 [BZ #14048]
31002 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31003 Use int64_t for variable i.
31004 * math/libm-test.inc (fmod_test): Add more tests.
31005
4842e4fe
JM
31006 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31007 z computation is not scheduled after fetestexcept.
31008 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31009 Use math_force_eval instead of asm to ensure calculation scheduled
31010 before exception test.
31011 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31012 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31013
efb73488
AJ
310142012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31015
31016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31017 computation is not scheduled after fetestexcept.
31018
29bcce7c
L
310192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31020
31021 [BZ #14117]
31022 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31023 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31024
73a68f94
AZ
310252012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31026
31027 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31028 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31029
67b6df78
L
310302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31031
edf2933a 31032 [BZ #14117]
ebc64a18
L
31033 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31034 <bits/wordsize.h>.
31035 (__WCHAR_MIN): Support __WORDSIZE == 64.
31036 (__WCHAR_MAX): Likewise.
31037
edf2933a
L
31038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31039 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31040
57c6cf40
L
31041 [BZ #14183]
31042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31043 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31044
67b6df78 31045 [BZ #14117]
8eb6281e
L
31046 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31047 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31048
aac639f4
L
31049 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31050 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31051
67b6df78
L
31052 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31053 Defined to 1 if __x86_64__ isn't defined.
31054 (_STAT_VER_LINUX_OLD): New.
31055 (st_atime): Remove duplicate.
31056 (st_mtime): Likewise.
31057 (st_ctime): Likewise.
31058
1c2cfe81
DM
310592012-05-31 David S. Miller <davem@davemloft.net>
31060
31061 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31062 entries.
31063
5be8418c
AS
310642012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31065
e7725326
AS
31066 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31067 gen-libm-test.pl.
31068
5be8418c
AS
31069 [BZ #14132]
31070 * elf/dl-reloc.c: Include <_itoa.h>.
31071 (_dl_reloc_bad_type): Remove use of INTUSE.
31072 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31073 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31074 * stdio-common/psiginfo.c (psiginfo): Likewise.
31075 * stdio-common/psignal.c (psignal): Likewise.
31076 * string/strsignal.c (strsignal): Likewise.
31077 * include/signal.h (_sys_siglist): Declare hidden proto.
31078 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31079 INTVARDEF with libc_hidden_data_def.
31080 * stdio-common/itoa-udigits.c: Likewise.
31081 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31082 (_itoa_lower_digits_internal): Remove declaration.
31083 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31084 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31085 (_sys_sigabbrev_internal): Remove aliases.
31086 (_sys_siglist): Define hidden alias.
31087
507352f1
MT
310882012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31089
31090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31091 bits/sysctl.h.
31092
42bbb1c3
L
310932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31094
31095 [BZ #14117]
6bd784b6
L
31096 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31097 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31098
8bca20f0
L
31099 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31100 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31101 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31102 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31104 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31105
f9e890a9
L
31106 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31107 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31108 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31109
471101a1
L
31110 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31111 with __addr.
31112 (insw): Likewise.
31113 (insl): Likewise.
31114 (outsb): Likewise.
31115 (outsw): Likewise.
31116 (outsl): Likewise.
31117
6451c862
L
31118 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31120 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31121
a254b8c9
L
31122 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31123 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31124 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31125 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31126 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31127 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31128
b8dfdd92
L
31129 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31130 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31131
578cd270
L
31132 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31133 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31134
de662f5f
L
31135 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31137 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31138
25653439
L
31139 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31140 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31141 to ...
31142 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31143
6bad24a0
L
31144 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31145 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31146 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31147
42bbb1c3
L
31148 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31149 for x86-64.
31150 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31151
2d10d547
JM
311522012-05-31 Joseph Myers <joseph@codesourcery.com>
31153
31154 * math/math.h (M_El): Use two more decimal places.
31155 (M_LOG2El): Likewise.
31156 (M_LOG10El): Likewise.
31157 (M_LN2l): Likewise.
31158 (M_LN10l): Likewise.
31159 (M_PIl): Likewise.
31160 (M_PI_2l): Likewise.
31161 (M_PI_4l): Likewise.
31162 (M_1_PIl): Likewise.
31163 (M_2_PIl): Likewise.
31164 (M_2_SQRTPIl): Likewise.
31165 (M_SQRT2l): Likewise.
31166 (M_SQRT1_2l): Likewise.
31167
f230c29b
DM
311682012-05-31 David S. Miller <davem@davemloft.net>
31169
31170 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31171 values between float registers.
31172 * sysdeps/sparc/sparc64/memset.S: Likewise.
31173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31174
fed806c3
MF
311752012-05-31 Mike Frysinger <vapier@gentoo.org>
31176
31177 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31178 -D_FORTIFY_SOURCE=1.
31179 (CPPFLAGS-tst-longjmp_chk.c): Define.
31180 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31181 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31182 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31183 CFLAGS-tst-wchar-h.c.
31184
30917259
MP
311852012-05-31 Marek Polacek <polacek@redhat.com>
31186
31187 [BZ #14132]
31188 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31189 __endmntent_internal): Remove declaration.
31190 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31191 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31192 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31193
1c58d5dc
DM
311942012-05-30 David S. Miller <davem@davemloft.net>
31195
31196 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31197 (___Q_simulate_exceptions): Use real FP ops rather than writing
31198 into the %fsr.
31199 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31200 Likewise.
31201
7dc00e0d
L
312022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31203
31204 [BZ #14117]
0bd53985
L
31205 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31206 * sysdeps/x86/bits/xtitypes.h: This.
31207
3a257e66
L
31208 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31209 * sysdeps/x86/bits/wordsize.h: This.
31210
62f62904
L
31211 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31212 * sysdeps/x86/bits/huge_vall.h: This.
31213
404fe9d9
L
31214 * sysdeps/i386/bits/select.h: Removed.
31215 * sysdeps/x86_64/bits/select.h: Renamed to ...
31216 * sysdeps/x86/bits/select.h: This.
31217
d48d0446
L
31218 * sysdeps/i386/bits/setjmp.h: Removed.
31219 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31220 * sysdeps/x86/bits/setjmp.h: This.
31221
7dc00e0d
L
31222 * sysdeps/i386/bits/mathdef.h: Removed.
31223 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31224 * sysdeps/x86/bits/mathdef.h: This.
31225
03277f8f
AS
312262012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31227
31228 [BZ #14132]
31229 * include/sys/socket.h (__connect_internal)
31230 (__libc_sa_len_internal): Remove declaration.
31231 (__connect, __libc_sa_len): Declare hidden_proto.
31232 (SA_LEN): Remove use of INTUSE.
31233 * socket/connect.c: Add libc_hidden_def.
31234 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31235 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31236 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31237 alias.
31238 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31239 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31240 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31241 of adding _internal alias.
31242
13764867
L
312432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31244
31245 [BZ #14117]
6bd97696
L
31246 * sysdeps/i386/bits/link.h: Removed.
31247 * sysdeps/i386/bits/linkmap.h: Likewise.
31248 * sysdeps/x86_64/bits/link.h: Renamed to ...
31249 * sysdeps/x86/bits/link.h: This.
31250 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31251 * sysdeps/x86/bits/linkmap.h: This.
31252
f726f0bb
L
31253 * sysdeps/i386/bits/endian.h: Removed.
31254 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31255 * sysdeps/x86/bits/endian.h: This.
31256
13764867
L
31257 * sysdeps/i386/bits/byteswap.h: Removed.
31258 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31259 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31260 * sysdeps/x86/bits/byteswap.h: This.
31261 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31262 * sysdeps/x86/bits/byteswap-16.h: This.
31263 * sysdeps/i386/Implies: Add x86.
31264 * sysdeps/x86_64/Implies: Likewise.
31265
ae251b0b
DM
312662012-05-30 David S. Miller <davem@davemloft.net>
31267
31268 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31269 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31270 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31271 (FP_TRAPPING_EXCEPTIONS): Define.
31272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31273 (FP_TRAPPING_EXCEPTIONS): Define.
31274 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31275 subnormals only when inexact has been signalled or underflow
31276 exceptions are enabled.
31277 (_FP_PACK_CANONICAL): Likewise.
31278
d5c90867
L
312792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31280
31281 [BZ #14183]
31282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31283 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31284
63f1549e
RH
312852012-05-30 Richard Henderson <rth@twiddle.net>
31286
8d8f2279
RH
31287 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31288 with #ifndef NOT_IN_libc.
31289
63f1549e
RH
31290 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31291 marked to avoid plt entry.
31292
0ab0291b
L
312932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31294
31295 [BZ #14112]
31296 * Makeconfig (default-abi): New macro.
31297 (abi-includes): Likewise.
31298 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31299 $(abi-$(default-abi)-lib-soname) for soname if defined.
31300 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31301 abi-variants.
31302 * Makefile (installed-stubs): Likewise.
31303 * include/stubs-biarch.h: Removed.
31304 * scripts/lib-names.awk: Only handle one library at a time.
31305 * scripts/soversions.awk: Remove WORDSIZE support.
31306 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31307 entries.
31308 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31309 Removed.
31310 (syscall-list-default-condition): Likewise.
31311 (syscall-list-default-condition): Likewise.
31312 (syscall-list-includes): Likewise.
31313 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31314 syscall-list-* with abi-*. Handle undefined abi-variants.
31315 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31316 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31317 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31318 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31319 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31320 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31321 Removed.
31322 (syscall-list-32-options): Likewise.
31323 (syscall-list-32-condition): Likewise.
31324 (syscall-list-64-options): Likewise.
31325 (syscall-list-64-condition): Likewise.
31326 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31327 macro.
31328 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31329 Renamed to ...
31330 (abi-*): This.
31331 (abi-64-ld-soname): New macro.
31332 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31333 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31334 Renamed to ...
31335 (abi-*): This.
31336 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31337 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31338
4da0431d
JM
313392012-05-30 Joseph Myers <joseph@codesourcery.com>
31340
3a85279c
JM
31341 * sysdeps/unix/sysv/linux/kernel-features.h
31342 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31343 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31344 include <kernel-features.h>.
31345 [!__NR_ftruncate64]: Remove conditional code.
31346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31347 [__NR_ftruncate64]: Make code unconditional.
31348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31349 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31350 include <kernel-features.h>.
31351 [!__NR_ftruncate64]: Remove conditional code.
31352 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31353 [__NR_ftruncate64]: Make code unconditional.
31354 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31356 include <kernel-features.h>.
31357 [!__NR_ftruncate64]: Remove conditional code.
31358 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31359 [__NR_ftruncate64]: Make code unconditional.
31360 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31362 include <kernel-features.h>.
31363 [!__NR_ftruncate64]: Remove conditional code.
31364 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31365 [__NR_ftruncate64]: Make code unconditional.
31366 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31367
4da0431d
JM
31368 * configure.in (libc_cv_fpie): Weaken to a compile test using
31369 LIBC_TRY_CC_OPTION.
31370 * configure: Regenerated.
31371
11ef492c
AK
313722012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31373
31374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31378 Refreshed.
31379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31385 Refreshed.
31386
d66ef399
DM
313872012-05-27 David S. Miller <davem@davemloft.net>
31388
31389 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31390 (___Q_zero): New.
31391 (__Q_simulate_exceptions): Return void. Change to simulate
31392 exceptions by writing into the %fsr.
31393 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31394 (__Qp_handle_exceptions): Likewise.
31395 (numbers): Delete.
31396 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31397 __Qp_handle_exceptions.
31398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31399 __Qp_handle_exceptions.
31400 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31401 as unused and give dummy FP_RND_NEAREST initializer.
31402 (FP_INHIBIT_RESULTS): Define.
31403 (___Q_simulate_exceptions): Update declaration.
31404 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31405 formatting.
31406 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31407 as unused and give dummy FP_RND_NEAREST initializer.
31408 (__Qp_handle_exceptions): Update declaration.
31409 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31410 formatting.
31411
04fb54b5
TS
314122012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31413
31414 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31415 the temporary FPU control word.
31416 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31417 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31418 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31419 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31420 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31421 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31422 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31424 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31425 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31426 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31427
3f99608f
KK
314282012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31429
31430 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31431 fields.
31432
65a4de4e
CLT
314332012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31434
31435 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31436 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31437 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31438 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31439 Likewise.
31440 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31441 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31442 Likewise.
31443
15749d40
UD
314442012-05-27 Ulrich Drepper <drepper@gmail.com>
31445
31446 * po/h.po: Update from translation team.
31447
25dbcb27
AS
314482012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31449
3d3f8e55
AS
31450 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31451
25dbcb27
AS
31452 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31453 handling of denormals.
31454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31455 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31456 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31457 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31461 Likewise.
31462
7ad47a80 314632012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
31464
31465 [BZ #14152]
31466 * math/libm-test.inc (fma_test): Don't always expect underflow
31467 exception.
31468
9c6ea9fa
SP
314692012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31470
31471 [BZ #12416]
31472 * elf/tst-execstack.c: Include stackinfo.h.
31473 (do_test): Adjust test case to ensure that pthread_getattr_np
31474 behaviour remains the same after marking stack executable.
31475
a8239222
JM
314762012-05-25 Joseph Myers <joseph@codesourcery.com>
31477
31478 * sysdeps/unix/sysv/linux/kernel-features.h
31479 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31480 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31481 kernel-features.h.
31482 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31483 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31484 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31485 kernel-features.h.
31486 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31487 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31488
918b5606
L
314892012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31490
31491 * configure.in: Define the default includes to being none.
31492 * configure: Regenerated.
31493
3a097cc7
RM
314942012-05-25 Roland McGrath <roland@hack.frob.com>
31495
8422c9a5
RM
31496 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31497 * sysdeps/x86_64/setjmp.S: Likewise.
31498 * sysdeps/i386/bsd-setjmp.S: Likewise.
31499 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31500 * sysdeps/i386/setjmp.S: Likewise.
31501 * sysdeps/i386/__longjmp.S: Likewise.
31502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31503 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31504
3a097cc7
RM
31505 * include/stap-probe.h: New file.
31506 * configure.in: Handle --enable-systemtap.
31507 * configure: Regenerated.
31508 * config.h.in (USE_STAP_PROBE): New #undef.
31509 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31510 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31511 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31512
21708942
JM
315132012-05-25 Joseph Myers <joseph@codesourcery.com>
31514
31515 [BZ #13717]
31516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31517 to 2.4.0 where earlier.
31518 * sysdeps/unix/sysv/linux/configure: Regenerated.
31519 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31520 <kernel-features.h>.
31521 [__ASSUME_32BITUIDS]: Make code unconditional.
31522 [!__ASSUME_32BITUIDS]: Remove conditional code.
31523 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31524 <kernel-features.h>.
31525 [__ASSUME_32BITUIDS]: Make code unconditional.
31526 [!__ASSUME_32BITUIDS]: Remove conditional code.
31527 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31528 [__ASSUME_32BITUIDS]: Make code unconditional.
31529 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31530 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31531 <kernel-features.h>.
31532 [__ASSUME_32BITUIDS]: Make code unconditional.
31533 [!__ASSUME_32BITUIDS]: Remove conditional code.
31534 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31535 <kernel-features.h>.
31536 [__ASSUME_32BITUIDS]: Make code unconditional.
31537 [!__ASSUME_32BITUIDS]: Remove conditional code.
31538 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31539 <kernel-features.h>.
31540 [__ASSUME_32BITUIDS]: Make code unconditional.
31541 [!__ASSUME_32BITUIDS]: Remove conditional code.
31542 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31543 <kernel-features.h>.
31544 [__ASSUME_32BITUIDS]: Make code unconditional.
31545 [!__ASSUME_32BITUIDS]: Remove conditional code.
31546 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31547 <kernel-features.h>.
31548 [__ASSUME_32BITUIDS]: Make code unconditional.
31549 [!__ASSUME_32BITUIDS]: Remove conditional code.
31550 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31551 <kernel-features.h>.
31552 [__ASSUME_32BITUIDS]: Make code unconditional.
31553 [!__ASSUME_32BITUIDS]: Remove conditional code.
31554 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31555 <kernel-features.h>.
31556 [__ASSUME_32BITUIDS]: Make code unconditional.
31557 [!__ASSUME_32BITUIDS]: Remove conditional code.
31558 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31559 <kernel-features.h>.
31560 [__ASSUME_32BITUIDS]: Make code unconditional.
31561 [!__ASSUME_32BITUIDS]: Remove conditional code.
31562 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31563 <kernel-features.h>.
31564 [__ASSUME_32BITUIDS]: Make code unconditional.
31565 [!__ASSUME_32BITUIDS]: Remove conditional code.
31566 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31567 <kernel-features.h>.
31568 [__ASSUME_32BITUIDS]: Make code unconditional.
31569 [!__ASSUME_32BITUIDS]: Remove conditional code.
31570 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31571 <kernel-features.h>.
31572 [__NR_setresgid] (__setresgid): Do not declare.
31573 [__ASSUME_32BITUIDS]: Make code unconditional.
31574 [!__ASSUME_32BITUIDS]: Remove conditional code.
31575 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31576 <kernel-features.h>.
31577 [__NR_setresuid] (__setresuid): Do not declare.
31578 [__ASSUME_32BITUIDS]: Make code unconditional.
31579 [!__ASSUME_32BITUIDS]: Remove conditional code.
31580 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31581 <kernel-features.h>.
31582 [__ASSUME_32BITUIDS]: Make code unconditional.
31583 [!__ASSUME_32BITUIDS]: Remove conditional code.
31584 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31585 <kernel-features.h>.
31586 [__ASSUME_32BITUIDS]: Make code unconditional.
31587 [!__ASSUME_32BITUIDS]: Remove conditional code.
31588 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31589 <kernel-features.h>.
31590 [__ASSUME_32BITUIDS]: Make code unconditional.
31591 [!__ASSUME_32BITUIDS]: Remove conditional code.
31592 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31593 <kernel-features.h>.
31594 [__ASSUME_32BITUIDS]: Make code unconditional.
31595 [!__ASSUME_32BITUIDS]: Remove conditional code.
31596 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31597 <kernel-features.h>.
31598 [__ASSUME_32BITUIDS]: Make code unconditional.
31599 [!__ASSUME_32BITUIDS]: Remove conditional code.
31600 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31601 <kernel-features.h>.
31602 [__ASSUME_32BITUIDS]: Make code unconditional.
31603 [!__ASSUME_32BITUIDS]: Remove conditional code.
31604 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31605 <kernel-features.h>.
31606 [__ASSUME_32BITUIDS]: Make code unconditional.
31607 [!__ASSUME_32BITUIDS]: Remove conditional code.
31608 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31609 <kernel-features.h>.
31610 [__ASSUME_32BITUIDS]: Make code unconditional.
31611 [!__ASSUME_32BITUIDS]: Remove conditional code.
31612 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31613 <kernel-features.h>.
31614 [__ASSUME_32BITUIDS]: Make code unconditional.
31615 [!__ASSUME_32BITUIDS]: Remove conditional code.
31616 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31617 <kernel-features.h>.
31618 [__ASSUME_32BITUIDS]: Make code unconditional.
31619 [!__ASSUME_32BITUIDS]: Remove conditional code.
31620 * sysdeps/unix/sysv/linux/kernel-features.h
31621 (__ASSUME_SETRESUID_SYSCALL): Remove.
31622 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31623 (__ASSUME_32BITUIDS): Likewise.
31624 (__ASSUME_LDT_WORKS): Likewise.
31625 (__ASSUME_O_DIRECTORY): Likewise.
31626 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31627 architecture but not kernel version.
31628 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31629 (__ASSUME_MMAP2_SYSCALL): Likewise.
31630 (__ASSUME_STAT64_SYSCALL): Likewise.
31631 (__ASSUME_IPC64): Likewise.
31632 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31633 <kernel-features.h>.
31634 [__ASSUME_32BITUIDS]: Make code unconditional.
31635 [!__ASSUME_32BITUIDS]: Remove conditional code.
31636 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31637 <kernel-features.h>.
31638 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31639 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31640 132096]: Remove conditional code.
31641 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31642 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31643 <kernel-features.h>.
31644 [__ASSUME_32BITUIDS]: Make code unconditional.
31645 [!__ASSUME_32BITUIDS]: Remove conditional code.
31646 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31647 <kernel-features.h>.
31648 [__ASSUME_32BITUIDS]: Make code unconditional.
31649 [!__ASSUME_32BITUIDS]: Remove conditional code.
31650 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31651 <kernel-features.h>.
31652 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31653 unconditional.
31654 (__setresgid): Do not declare.
31655 [__ASSUME_32BITUIDS]: Make code unconditional.
31656 [!__ASSUME_32BITUIDS]: Remove conditional code.
31657 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31658 <kernel-features.h>.
31659 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31660 unconditional.
31661 (__setresuid): Do not declare.
31662 [__ASSUME_32BITUIDS]: Make code unconditional.
31663 [!__ASSUME_32BITUIDS]: Remove conditional code.
31664 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31665 <kernel-features.h>.
31666 [__ASSUME_32BITUIDS]: Make code unconditional.
31667 [!__ASSUME_32BITUIDS]: Remove conditional code.
31668 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31669 <kernel-features.h>.
31670 [__ASSUME_32BITUIDS]: Make code unconditional.
31671 [!__ASSUME_32BITUIDS]: Remove conditional code.
31672
a386f1cc
RH
316732012-05-25 Richard Henderson <rth@twiddle.net>
31674
31675 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31676 dl_hwcap to ifunc resolver.
31677 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31678 elf_ifunc_invoke.
31679 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31680 dl_hwcap to ifunc resolver.
31681 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31682
b6550497
JM
316832012-05-24 Joseph Myers <joseph@codesourcery.com>
31684
31685 [BZ #14153]
31686 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31687 for |x| <= 2**-26, not 2**-57.
31688 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31689 exception.
31690
b0bc23a1
JL
316912012-05-24 Jeff Law <law@redhat.com>
31692
31693 * stdio-common/Makefile (tests): Add bug25.
31694 * stdio-common/bug25.c: New test.
31695
347c92e9
L
316962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31697
31698 [BZ #13576]
31699 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31700 multiple of MALLOC_ALIGNMENT in size.
31701 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31702
6bcc8b3f
JM
317032012-05-24 Joseph Myers <joseph@codesourcery.com>
31704
31705 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31706 Require >= 256.
31707 (FILENAME_MAX): Use macro-int-constant.
31708 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31709 (_IOFBF): Use macro-int-constant.
31710 (_IOLBF): Likewise.
31711 (_IONBF): Likewise.
31712 (SEEK_CUR): Likewise.
31713 (SEEK_END): Likewise.
31714 (SEEK_SET): Likewise.
31715 (TMP_MAX): Likewise.
31716 (EOF): Use macro-int-constant. Require < 0.
31717 (NULL): Use macro-constant. Require == 0.
31718 (stdin): Require type to be FILE *.
31719 (stdout): Likewise.
31720 (stderr): Likewise.
31721 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31722 macro-int-constant.
31723 (EXIT_SUCCESS): Likewise.
31724 (NULL): Use macro-constant. Require == 0.
31725 (RAND_MAX): Use macro-int-constant.
31726 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31727 [C99-based standards] (strtof): Require function.
31728 [C99-based standards] (strtold): Likewise.
31729 [C99-based standards] (strtoll): Likewise.
31730 [C99-based standards] (strtoull): Likewise.
31731 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31732 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31733 [ISO || ISO99 || ISO11] (math.h): Likewise.
31734 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31735 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31737
d18ea0c5
AS
317382012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31739
31740 [BZ #14132]
56d25bb8
AS
31741 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31742 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31743 * intl/dgettext.c (DCGETTEXT): Likewise.
31744 * intl/gettext.c (DCGETTEXT): Likewise.
31745 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31746 * posix/regex_internal.h (gettext): Likewise.
31747 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31748 Remove declaration.
31749 * include/argz.h (__argz_count_internal)
31750 (__argz_stringify_internal): Remove declaration.
31751 (__argz_count, __argz_stringify): Declare hidden proto.
31752 * intl/dcgettext.c: Remove use of INTDEF.
31753 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31754 * string/argz-stringify.c: Likewise.
31755 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31756 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31757 Declare hidden proto.
d18ea0c5
AS
31758 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31759 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31760 Declare hidden proto.
31761 * include/stdio.h (__asprintf_internal): Don't declare.
31762 (__asprintf): Don't define as macro. Declare hidden proto.
31763 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31764 (__fsetlocking): Declare hidden proto.
31765 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31766 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31767 hidden proto.
31768 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31769 (_IO_setlinebuf): Remove use of INTUSE.
31770 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31771 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31772 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31773 Remove declaration.
31774 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31775 (_IO_do_flush): Remove use of INTUSE.
31776 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31777 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31778 (_IO_adjust_column, _IO_least_wmarker)
31779 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31780 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31781 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31782 (_IO_default_doallocate, _IO_wdefault_doallocate)
31783 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31784 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31785 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31786 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31787 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31788 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31789 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31790 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31791 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31792 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31793 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31794 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31795 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31796 proto.
31797 (_IO_flush_all_internal, _IO_adjust_column_internal)
31798 (_IO_default_uflow_internal, _IO_default_finish_internal)
31799 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31800 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31801 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31802 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31803 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31804 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31805 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31806 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31807 (_IO_file_close_internal, _IO_file_close_it_internal)
31808 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31809 (_IO_file_init_internal, _IO_file_attach_internal)
31810 (_IO_file_fopen_internal, _IO_file_read_internal)
31811 (_IO_file_sync_internal, _IO_file_seek_internal)
31812 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31813 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31814 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31815 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31816 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31817 (_IO_list_all_internal, _IO_link_in_internal)
31818 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31819 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31820 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31821 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31822 (_IO_do_write_internal, _IO_padn_internal)
31823 (_IO_getline_info_internal, _IO_getline_internal)
31824 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31825 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31826 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31827 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31828 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31829 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31830 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31831 with libc_hidden_ver, remove use of INTUSE.
31832 * libio/genops.c: Likewise.
31833 * libio/freopen.c: Likewise.
31834 * libio/freopen64.c: Likewise.
31835 * libio/iofclose.c: Likewise.
31836 * libio/iofdopen.c: Likewise.
31837 * libio/iofflush.c: Likewise.
31838 * libio/iofflush_u.c: Likewise.
31839 * libio/iofgets.c: Likewise.
31840 * libio/iofgets_u.c: Likewise.
31841 * libio/iofopen.c: Likewise.
31842 * libio/iofopncook.c: Likewise.
31843 * libio/iofread.c: Likewise.
31844 * libio/iofread_u.c: Likewise.
31845 * libio/ioftell.c: Likewise.
31846 * libio/iofwrite.c: Likewise.
31847 * libio/iogetline.c: Likewise.
31848 * libio/iogets.c: Likewise.
31849 * libio/iogetwline.c: Likewise.
31850 * libio/iopadn.c: Likewise.
31851 * libio/iopopen.c: Likewise.
31852 * libio/ioseekoff.c: Likewise.
31853 * libio/ioseekpos.c: Likewise.
31854 * libio/iosetbuffer.c: Likewise.
31855 * libio/iosetvbuf.c: Likewise.
31856 * libio/ioungetc.c: Likewise.
31857 * libio/ioungetwc.c: Likewise.
31858 * libio/iovdprintf.c: Likewise.
31859 * libio/iovsprintf.c: Likewise.
31860 * libio/iovsscanf.c: Likewise.
31861 * libio/memstream.c: Likewise.
31862 * libio/obprintf.c: Likewise.
31863 * libio/oldfileops.c: Likewise.
31864 * libio/oldiofclose.c: Likewise.
31865 * libio/oldiofdopen.c: Likewise.
31866 * libio/oldiofopen.c: Likewise.
31867 * libio/oldiopopen.c: Likewise.
31868 * libio/oldstdfiles.c: Likewise.
31869 * libio/putc.c: Likewise.
31870 * libio/setbuf.c: Likewise.
31871 * libio/setlinebuf.c: Likewise.
31872 * libio/stdfiles.c: Likewise.
31873 * libio/strops.c: Likewise.
31874 * libio/vasprintf.c: Likewise.
31875 * libio/vscanf.c: Likewise.
31876 * libio/vsnprintf.c: Likewise.
31877 * libio/vswprintf.c: Likewise.
31878 * libio/wfiledoalloc.c: Likewise.
31879 * libio/wfileops.c: Likewise.
31880 * libio/wgenops.c: Likewise.
31881 * libio/wmemstream.c: Likewise.
31882 * libio/wstrops.c: Likewise.
31883 * libio/__fpurge.c: Likewise.
31884 * libio/__fsetlocking.c: Likewise.
31885 * assert/assert.c: Likewise.
31886 * debug/fgets_chk.c: Likewise.
31887 * debug/fgets_u_chk.c: Likewise.
31888 * debug/fread_chk.c: Likewise.
31889 * debug/fread_u_chk.c: Likewise.
31890 * debug/gets_chk.c: Likewise.
31891 * debug/obprintf_chk.c: Likewise.
31892 * debug/vasprintf_chk.c: Likewise.
31893 * debug/vdprintf_chk.c: Likewise.
31894 * debug/vsnprintf_chk.c: Likewise.
31895 * debug/vsprintf_chk.c: Likewise.
31896 * malloc/mtrace.c: Likewise.
31897 * misc/error.c: Likewise.
31898 * misc/syslog.c: Likewise.
31899 * stdio-common/asprintf.c: Likewise.
31900 * stdio-common/fxprintf.c: Likewise.
31901 * stdio-common/getw.c: Likewise.
31902 * stdio-common/isoc99_fscanf.c: Likewise.
31903 * stdio-common/isoc99_scanf.c: Likewise.
31904 * stdio-common/isoc99_vfscanf.c: Likewise.
31905 * stdio-common/isoc99_vscanf.c: Likewise.
31906 * stdio-common/isoc99_vsscanf.c: Likewise.
31907 * stdio-common/printf-prs.c: Likewise.
31908 * stdio-common/printf_fp.c: Likewise.
31909 * stdio-common/printf_fphex.c: Likewise.
31910 * stdio-common/printf_size.c: Likewise.
31911 * stdio-common/putw.c: Likewise.
31912 * stdio-common/scanf.c: Likewise.
31913 * stdio-common/sprintf.c: Likewise.
31914 * stdio-common/tmpfile.c: Likewise.
31915 * stdio-common/vfprintf.c: Likewise.
31916 * stdio-common/vfscanf.c: Likewise.
31917 * stdlib/strfmon_l.c: Likewise.
31918 * sunrpc/openchild.c: Likewise.
31919 * sunrpc/xdr_stdio.c: Likewise.
31920 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31921 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31922
d6c33fda
RM
319232012-05-24 Roland McGrath <roland@hack.frob.com>
31924
c1487492
RM
31925 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31926
31927 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31928 in the third column, to generate for the shared library an IFUNC
31929 that uses _dl_vdso_vsym.
31930 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31931 * Makeconfig (object-suffixes-noshared): New variable.
31932
31933 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31934 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31935 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31936 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31937
d6c33fda
RM
31938 [BZ #14132]
31939 * include/sys/time.h (__gettimeofday): Remove macro.
31940 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31941 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31942 Remove INTDEF.
31943 (__gettimeofday): Add libc_hidden_def.
31944 (gettimeofday): Add libc_hidden_weak.
31945 * sysdeps/mach/gettimeofday.c: Likewise.
31946 * sysdeps/posix/gettimeofday.c: Likewise.
31947 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31948 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31949 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31950 (__gettimeofday_internal): Remove strong_alias.
31951 (__gettimeofday): Add libc_hidden_def.
31952 (gettimeofday): Add libc_hidden_weak.
31953 * sysdeps/unix/syscalls.list (gettimeofday):
31954 Remove __gettimeofday_internal alias.
31955
b5a2bbe6
L
319562012-05-24 Daniel Jacobowitz <drow@false.org>
31957 H.J. Lu <hongjiu.lu@intel.com>
31958
31959 [BZ #12495]
31960 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31961 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31962 (largebin_index_32_big): New.
31963 (largebin_index): Use it for 16-byte alignment.
31964 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31965 correction with front_misalign.
31966
cfba4fda
L
319672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31968
7f907421
L
31969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31971 Likewise.
31972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31973 Likewise.
31974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31975 Likewise.
31976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31977 Likewise.
31978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31979 Likewise.
31980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31981 Likewise.
31982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31983 Likewise.
31984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31985 Likewise.
31986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31987 Likewise.
31988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31989 Likewise.
31990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31991 Likewise.
31992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31993 Likewise.
31994
cfba4fda
L
31995 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31996 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31997
80bad0cc
JM
319982012-05-24 Joseph Myers <joseph@codesourcery.com>
31999
7a25eb06
JM
32000 [BZ #10846]
32001 [BZ #14036]
32002 * math/libm-test.inc (exp_test): Add test from bug 14036.
32003 (pow_test): Add test from bug 10846.
32004
795405f9
JM
32005 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32006 and other flags.
32007 (special_function): Do not include flags in test name.
32008 (parse_args): Likewise.
32009 * sysdeps/i386/fpu/libm-test-ulps: Update.
32010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32011 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32012 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32014
80bad0cc
JM
32015 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32016 exceptions.
32017 * math/libm-test.inc ("Philosophy"): Update comment about
32018 exception testing.
32019 (UNDERFLOW_EXCEPTION): New macro.
32020 (UNDERFLOW_EXCEPTION_OK): Likewise.
32021 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32022 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32023 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32024 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32025 (INVALID_EXCEPTION_OK): Update value.
32026 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32027 (OVERFLOW_EXCEPTION_OK): Likewise.
32028 (IGNORE_ZERO_INF_SIGN): Likewise.
32029 (test_exceptions): Handle underflow exceptions.
32030 (acos_test): Update for underflow exception expectations.
32031 (cexp_test): Likewise.
32032 (clog_test): Likewise.
32033 (clog10_test): Likewise.
32034 (csqrt_test): Likewise.
32035 (ctan_test): Likewise.
32036 (ctanh_test): Likewise.
32037 (exp_test): Likewise.
32038 (exp10_test): Likewise.
32039 (exp2_test): Likewise.
32040 (expm1_test): Likewise.
32041 (fma_test): Likewise.
32042 (j0_test): Likewise.
32043 (jn_test): Likewise.
32044 (nexttoward_test): Likewise.
32045 (pow_test): Likewise.
32046 (scalbn_test): Likewise.
32047 (scalbln_test): Likewise.
32048 (tan_test): Likewise.
32049 (y1_test): Likewise.
32050 * sysdeps/i386/fpu/libm-test-ulps: Update.
32051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32052
9e0e3d0b
DM
320532012-05-23 David S. Miller <davem@davemloft.net>
32054
32055 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32056 (__libc_sigaction): Remove unused local variables.
32057
ccd0a08f
L
320582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32059
32060 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32061
62bdf9a6
PE
320622012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32063
f8591f80
PE
32064 mktime: avoid signed integer overflow
32065 * time/mktime.c (__mktime_internal): Do not mishandle the case
32066 where diff == INT_MIN.
32067
94c7d826
PE
32068 mktime: simplify computation of average
32069 * time/mktime.c (ranged_convert): Use new time_t_avg function
32070 instead of rolling our own (probably-slower) code.
32071
ce73d683
PE
32072 mktime: do not assume signed right shift propagates sign bit
32073 * time/mktime.c (isdst_differ): New static function.
32074 (__mktime_internal): No need to normalize tm_isdst now.
32075 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32076 tm_isdst values.
32077
72a22e59
PE
32078 mktime: merge another wrapv change from gnulib
32079 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32080 from some compilers.
32081
68605433
PE
32082 mktime: remove incorrect attempt at unusual arithmetics
32083 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32084 The code didn't really work on such machines anyway.
32085 (TYPE_MINIMUM): Assume two's complement.
32086 (twos_complement_arithmetic): Verify that long_int and time_t
32087 are two's complement (or unsigned, in the latter case).
32088
03cf7fe3
PE
32089 mktime: check signed shifts on long_int and time_t, too
32090 * time/mktime.c (SHR): Check that shifts work as desired
32091 on the types long_int and time_t too, as SHR is used on
32092 such types.
32093
f04dfbc2
PE
32094 mktime: do not assume 'long' is wide enough
32095 * time/mktime.c (verify): Move decl up.
32096 (long_int): New type.
32097 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32098 to remove assumption in the code that 'long' is wide enough to
32099 store year values. This assumption is not true on x32 and on
32100 some non-glibc platforms.
32101
62bdf9a6
PE
32102 mktime: merge wrapv change from gnulib
32103 * time/mktime.c (WRAPV): New macro.
32104 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32105 (guess_time_tm, __mktime_internal): Do not assume that signed
32106 integer overflow wraps around; modern compilers generate code
32107 where this assumption is no longer valid.
32108
5e292e4f
L
321092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32110
32111 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32112 Replace "jmp L(pseudo_end)" with "ret".
32113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32114 Likewise.
32115
8caf8c87
AJ
321162012-05-23 Andreas Jaeger <aj@suse.de>
32117
32118 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32119 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32120
1a09dc56
AJ
321212012-05-23 Andreas Jaeger <aj@suse.de>
32122 Maximilian Attems <max@stro.at>
32123
32124 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32125 New macros.
32126
1c87aba0
L
321272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32128
32129 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32130 code so that pseudo_end is just ret and the stack pointer is
32131 correct also for static library in error case.
32132
40e45bd5
JM
321332012-05-23 Joseph Myers <joseph@codesourcery.com>
32134
c2670533
JM
32135 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32136 move to syscalls.list.
32137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32141
40e45bd5
JM
32142 * manual/install.texi (Running make install): Do not mention Linux
32143 kernel version for which pt_chown is not needed.
32144 (Linux): Do not mention problems with nscd with 2.0 kernels.
32145 * INSTALL: Regenerated.
32146
be08eda5
AJ
321472012-05-23 Andreas Jaeger <aj@suse.de>
32148
32149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32150 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32151 macro.
32152 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32154 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32156 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32157 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32159 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32160 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32161 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32162 * sysdeps/unix/sysv/linux/bits/in.h
32163 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32164
a6a056bb
RM
321652012-05-22 Roland McGrath <roland@hack.frob.com>
32166
32167 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32168 (PREPARE_VERSION): Just use assert instead, it will be elided
32169 under [NDEBUG] anyway.
32170
c9009328
L
321712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32172
32173 * sysdeps/unix/sysv/linux/Makefile: Include
32174 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 32175 (sysdep_routines): Remove sysctl.
c9009328
L
32176 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32177 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32178 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32179 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32180 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32181
73338355
AJ
321822012-05-22 Andreas Jaeger <aj@suse.de>
32183
32184 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32185 that pseudo_end is just ret and the stack pointer is correct also
32186 for static library in error case.
32187
d44638b0
PP
321882012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32189
32190 [BZ #14122]
32191 * nss/nsswitch.c (defconfig_entries): New variable.
32192 (__nss_database_lookup): Don't leak defconfig entries.
32193 (nss_parse_service_list): Don't leak on error paths.
32194 (free_database_entries): New function.
32195 (free_defconfig): New function.
32196 (free_mem): Move common code to free_database_entries.
32197
31a39bd8
L
321982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32199
da0331a8
L
32200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32201 Add arch_prctl.
32202 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32203
31a39bd8
L
32204 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32205 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32207 New macro.
32208 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32209 (INTERNAL_SYSCALL_TYPES): Likewise.
32210 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32211 (LOAD_REGS_TYPES_[1-6]): Likewise.
32212 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32213 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32214
45470df3
AZ
322152012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32216
32217 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32218 copysignl for GLIBC_2_0.
32219 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32220 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32221 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32222 logbl for GLIBC_2_0.
32223 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32224 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32225
98a61bcb
L
322262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32227
a4f6e481
L
32228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32230
f63d5db6
L
32231 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32232 Use "neg %eax".
32233
98a61bcb
L
32234 * time/mktime.c: Update copyright years.
32235
95770f14
PE
322362012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32237
6226efbd
PE
32238 mktime: merge comment-quoting-style change from gnulib
32239 * time/mktime.c: Quote 'like this' in comments.
32240 The GNU coding standards suggest that we no longer quote `like this',
32241 as "`" and "'" are typically rendered asymmetrically nowadays.
32242 The typical gnulib style is to quote 'like this' when quoting
32243 code, and "like this" when quoting English.
32244
b99e4f78
PE
32245 * time/mktime.c (compile-command): Add "-I.".
32246
643e01e6
PE
32247 mktime: merge mktime-internal.h change from gnulib
32248 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32249
2554247d
PE
32250 mktime: merge time_r change from gnulib
32251 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32252
826dd0ab
PE
32253 mktime: merge DEBUG change from gnulib
32254 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32255 case system <time.h> has a #define.
32256
bd83aabe
PE
32257 mktime: merge <sys/types.h> change from gnulib
32258 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32259 since <time.t> is now guaranteed to define time_t.
32260
95770f14
PE
32261 mktime: merge HAVE_CONFIG_H change from gnulib
32262 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32263
5e1a27a9
L
322642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32265
0e44a77e
L
32266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32267 Use "neg %eax".
32268
5e1a27a9
L
32269 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32270 __rlim_t cast.
32271 (struct rusage): Use anonymous union to pad each field to
32272 __syscall_slong_t.
32273
46259bec
DM
322742012-05-21 David S. Miller <davem@davemloft.net>
32275
32276 * Makefules (o-iterator): Remove .s cases.
32277 (compile-command.s): Delete.
32278 (COMPILE.s): Delete.
32279 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32280
59f0c22e
JM
322812012-05-21 Joseph Myers <joseph@codesourcery.com>
32282
32283 * configure.in (libc_cv_predef_stack_protector): Only consider
32284 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32285 * configure: Regenerated.
32286
20c07380
L
322872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32288
bbb3154b
L
32289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32290 New macro. Use R*LP on int and pointer.
32291 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
32292 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32293 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
32294 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32295
20c07380
L
32296 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32297 [__WORDSIZE_TIME64_COMPAT32] instead of
32298 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32299 (struct utmp): Likewise.
32300 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32301 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32302 Renamed to ...
32303 (__WORDSIZE_TIME64_COMPAT32): This.
32304 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32305 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32306 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32307 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32308 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32309 (__WORDSIZE_TIME64_COMPAT32): New macro.
32310
d8d1017e
AJ
323112012-05-21 Andreas Jaeger <aj@suse.de>
32312
32313 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32314 only if [SHARED]. Add prototype for __wcschr_ia32.
32315
6c7fb145
RM
323162012-05-21 Roland McGrath <roland@hack.frob.com>
32317
32318 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32319 of %rbp unmolested in the jmp_buf while mangling the low bits.
32320 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32321 unmolested high bits of %rbp while demangling the low bits.
32322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32323
66274218
AJ
323242012-05-21 Andreas Jaeger <aj@suse.de>
32325
07c58f8f
AJ
32326 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32327 * sunrpc/svc_simple.c: Use it for registerrpc.
32328 * sunrpc/xcrypt.c: Use it for passwd2des.
32329
66274218
AJ
32330 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32331
61f65140
L
323322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32333
32334 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32335 Don't define if [__SYSCALL_WORDSIZE != 32].
32336 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32337 New macro.
32338
5fefb436
AJ
323392012-05-21 Bruno Haible <bruno@clisp.org>
32340 Andreas Jaeger <aj@suse.de>
32341
32342 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32343 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32344 inptr and inend for must_buffer_ch.
32345 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32346 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32347 * stdio-common/Makefile (tests): Remove bug15.
32348 (bug15-ENV): Remove macro.
32349 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32350 anymore.
32351
d8e272ab
AJ
323522012-05-19 Andreas Jaeger <aj@suse.de>
32353 Roland McGrath <roland@hack.frob.com>
32354
32355 * manual/contrib.texi: Completely rewritten. It contains now an
32356 alphabetical list of contributors and their contributions.
32357
4a56a162
RH
323582012-05-21 Richard Henderson <rth@twiddle.net>
32359
32360 * misc/getauxval.c (__getauxval): Use unsigned long int.
32361 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32362 (getauxval): Use unsigned long int.
32363
d024d23c
L
323642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32365
32366 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32367
cbc00a03
RM
323682012-05-21 Roland McGrath <roland@hack.frob.com>
32369
32370 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32371 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32372 __alignof__ (long double).
32373
478143fa
AZ
323742012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32375
32376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32377
c7683a6d
RH
323782012-05-20 Richard Henderson <rth@twiddle.net>
32379
32380 * misc/getauxval.c: New file.
32381 * misc/sys/auxv.h: New file.
32382 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32383 (routines): Add getauxval.
32384 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32385 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32386 * elf/dl-sysdep.c (_dl_auxv): Remove.
32387 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32388 * elf/dl-support.c (_dl_auxv): New variable.
32389 (_dl_aux_init): Initialize it.
32390 * manual/startup.texi (Auxiliary Vector): New node.
32391 * sysdeps/generic/bits/hwcap.h: New file.
32392 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32393 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32394 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32395 * sysdeps/sparc/sysdep.h: ... here. Include it.
32396 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
32398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32399 Update.
c7683a6d
RH
32400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32408
a6f1845d
AZ
324092012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32410
32411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32412
cbcbe830
DM
324132012-05-19 David S. Miller <davem@davemloft.net>
32414
32415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32416
e0b16cc2
JM
324172012-05-19 Joseph Myers <joseph@codesourcery.com>
32418
32419 [BZ #14123]
32420 * math/s_ccosh.c: Include <float.h>
32421 (__ccosh): Avoid internal overflow calculating sinh and cosh
32422 values before multiplying by sin and cos values.
32423 * math/s_ccoshf.c: Likewise.
32424 * math/s_ccoshl.c: Likewise.
32425 * math/s_csin.c: Likewise.
32426 * math/s_csinf.c: Likewise.
32427 * math/s_csinl.c: Likewise.
32428 * math/s_csinh.c: Likewise.
32429 * math/s_csinhf.c: Likewise.
32430 * math/s_csinhl.c: Likewise.
32431 * math/libm-test.inc (ccos_test): Add more tests.
32432 (ccosh_test): Likewise.
32433 (csin_test): Likewise.
32434 (csinh_test): Likewise.
32435 * sysdeps/i386/fpu/libm-test-ulps: Update.
32436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32437
6ad13e08
L
324382012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32439
f66f0ce8
L
32440 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32441 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32442
6ad13e08
L
32443 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32444
b1d072a7
JM
324452012-05-19 Joseph Myers <joseph@codesourcery.com>
32446
32447 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32448 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32449 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32450 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32451 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32452 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32453 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32454 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32455 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32456 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32457 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32458 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32459 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32460 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32461 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32462 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32463 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32464 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32465 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32466 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32467 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32468 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32469 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32470 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32471 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32472 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32473 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32474 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32475 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32476 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32477 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32478
9eae47cb
AJ
324792012-05-18 Andreas Jaeger <aj@suse.de>
32480
32481 * csu/.gitignore: Delete.
32482
bb07f69f
L
324832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32484
32485 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32486 (timex): Use __syscall_slong_t.
32487
e6bdb741
AJ
324882012-05-18 Andreas Jaeger <aj@suse.de>
32489 Carlos O'Donell <carlos_odonell@mentor.com>
32490
32491 * manual/install.texi (Configuring and compiling): Update
32492 description about files modified in the source directory.
d6c33fda 32493 * INSTALL: Regenerated.
e6bdb741 32494
1b74487e
L
324952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32496
32497 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32498 value. Use "or" to set return value to -1.
32499 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32500 negate return value.
32501
a88b64b9
TMQMF
325022012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32503
57f41c40
AS
32504 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32505 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
32506 failure if the compiler has Graphite support disabled.
32507 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32508 Likewise.
57f41c40
AS
32509 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32510 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
32511 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32512 Likewise.
32513
3707636e
L
325142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32515
610b8622
L
32516 * sysdeps/x86_64/x32/_itoa.h: New file.
32517
7cd195df
L
32518 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32519 getdents system call only if kernel and user dirents have the
32520 same d_ino and d_off.
32521
94b07d20
L
32522 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32523 LLONG_MAX != LONG_MAX.
32524 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32525 (_fitoa_word): Likewise.
32526
18298070
L
32527 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32528 years.
32529 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32530 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32531 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32532
553c7ea4
L
32533 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32534 include <bits/wordsize.h>. Check __x86_64__ instead of
32535 __WORDSIZE.
32536 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32537 if __x86_64__ is defined. Use anonymous union on fpstate.
32538
3707636e
L
32539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32540 anonymous union.
32541
b53ef01a
AS
325422012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32543
37fb1dc0
AS
32544 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32545 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32546 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32547 Refer to _rtld_local_ro instead of _rtld_global_ro.
32548 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32549 Likewise.
32550 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32551 Likewise.
32552 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32553 Likewise.
32554 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32555 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32556 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32557
b53ef01a
AS
32558 * sysdeps/powerpc/powerpc32/dl-machine.c
32559 (__elf_machine_runtime_setup) [PROF]: Don't reference
32560 _dl_prof_resolve.
32561
7a185db2
AJ
325622012-05-18 Andreas Jaeger <aj@suse.de>
32563
32564 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32565 function only available for GCCs before 3.4 since GCC 3.4
32566 introduced a builtin.
32567 (lrint): Likewise.
32568 (llrintf): Likewise.
32569 (llrint): Likewise.
32570 (fmaxf): Likewise.
32571 (fmax): Likewise.
32572 (fminf): Likewise.
32573 (fmin): Likewise.
32574 (rint): Likewise.
32575 (rintf): Likewise.
32576 (nearbyint): Likewise.
32577 (nearbyintf): Likewise.
32578 (ceil): Likewise.
32579 (ceilf): Likewise.
32580 (floor): Likewise.
32581 (floorf): Likewise.
32582
3e5aef87
L
325832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32584
428bd707
L
32585 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32586 on both fields and cast pointer to __syscall_ulong_t.
32587
3e5aef87
L
32588 * bits/types.h (__fsword_t): New type.
32589 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32590 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32592 (__FSWORD_T_TYPE): Likewise.
32593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32594 (__FSWORD_T_TYPE): Likewise.
32595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32596 (__FSWORD_T_TYPE): Likewise.
32597 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32598 (__FSWORD_T_TYPE): Likewise.
32599 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32600 __SWORD_TYPE with __fsword_t.
32601 (statfs64): Likewise.
32602
1ba7c3dc
DM
326032012-05-17 David S. Miller <davem@davemloft.net>
32604
32605 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32606
59910343
AJ
326072012-05-17 Andreas Jaeger <aj@suse.de>
32608
32609 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32610 warning.
32611
2e4c1e9e
L
326122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32613
32614 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32615
de7f5ce7
AJ
326162012-05-17 Andreas Jaeger <aj@suse.de>
32617
32618 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32619 when it is used.
32620
286abc3d
CM
326212012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32622
32623 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32624
477cc68e
L
326252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32626
32627 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32628 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32629
1a0994f5
CD
326302012-05-17 Andreas Jaeger <aj@suse.de>
32631 Carlos O'Donell <carlos_odonell@mentor.com>
32632
32633 [BZ #14059]
32634 * sysdeps/x86_64/multiarch/init-arch.h
32635 (bit_YMM_Usable): Rename to...
32636 (bit_AVX_Usable): ... this.
32637 (bit_FMA4_Usable): New macro.
32638 (bit_XMM_state): New macro.
32639 (bit_YMM_state): New macro.
32640 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32641 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32642 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32643 (CPUID_OSXSAVE): New macro.
32644 (CPUID_AVX): New macro.
32645 (CPUID_FMA4): New macro.
32646 (index_YMM_Usable): Rename to...
32647 (index_AVX_Usable): ... this.
32648 (HAS_AVX): Use HAS_ARCH_FEATURE.
32649 (HAS_FMA4): Likewise.
32650 (HAS_YMM_USABLE): Remove.
32651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32652 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32653 are present.
32654 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32655 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32656 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32657 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32658 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32659
0af797de
CM
326602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32661
32662 * math/libm-test.c: Support platforms without multiple rounding modes.
32663 * math/bug-nextafter.c: Support platforms without FP exceptions.
32664 * math/bug-nexttoward.c: Likewise.
32665 * math/test-fenv.c: Likewise.
32666 * math/test-misc.c: Likewise.
32667 * stdlib/bug-getcontext.c: Likewise.
32668
e39745ff
AJ
326692012-05-17 Andreas Jaeger <aj@suse.de>
32670
32671 * manual/examples/search.c (critter_cmp): Change signature to
32672 avoid warnings.
32673 * manual/string.texi (Collation Functions): Likewise.
32674
48970aba
L
326752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32676
32677 * bits/types.h: Fold copyright years.
32678 * bits/typesizes.h: Likewise.
32679 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32683 * time/time.h: Likewise.
32684
bedee953
PP
326852012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32686
32687 [BZ #208]
32688 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32689 in instead of returning them. Return void.
32690 (__libc_mallinfo): Accumulate over all arenas.
32691 (__malloc_stats): Adjust for change in int_mallinfo interface.
32692
61653dfb
RM
326932012-05-16 Roland McGrath <roland@hack.frob.com>
32694
30b99d79
RM
32695 [BZ #10375]
32696 * configure.in (NM): Add AC_CHECK_TOOL for it.
32697 (libc_extra_cflags): New substituted variable.
32698 Check for -fstack-protector being used implicitly.
32699 * configure: Regenerated.
32700 * config.make.in (config-extra-cflags): New variable,
32701 gets @libc_extra_cflags@.
32702 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32703
61653dfb
RM
32704 [BZ #10375]
32705 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32706 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32707 * configure: Regenerated.
32708 * config.make.in (CPPUNDEFS): New substituted variable.
32709 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32710 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32711 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32712
661768bb
L
327132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32714
32715 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32716 (mq_attr): Use __syscall_slong_t.
32717
d4261567
L
327182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32719
32720 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32721 Check __x86_64__ instead of __WORDSIZE.
32722 (_STAT_VER_LINUX): Likewise.
32723 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32724 __syscall_ulong_t and __syscall_slong_t.
32725 (stat64): Likewise.
32726
cf3ff365
L
327272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32728
32729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32730
76cf3e4d
L
327312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32732
32733 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32734
a637753a
L
327352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32738 __syscall_ulong_t.
32739
d5e05119
L
32740 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32741 include <bits/wordsize.h>. Check __x86_64__ instead of
32742 __WORDSIZE.
32743 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32744 defined.
32745 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32746
f62ee380
L
32747 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32748 include <bits/wordsize.h>. Check __x86_64__ instead of
32749 __WORDSIZE.
32750 (user_regs_struct): Use "__extension__ unsigned long long"
32751 instead of "unsigned long" if __x86_64__ is defined.
32752 (user): Likewise. Pad after pointer field if __ILP32__ is
32753 defined.
32754
4e124ced
JM
327552012-05-16 Joseph Myers <joseph@codesourcery.com>
32756
6a3951a0
JM
32757 * configure.in (makeinfo): Require version 4.5 or later. Allow
32758 versions 5 to 9.
32759 * configure: Regenerated.
32760 * manual/install.texi (texinfo): Increase version requirement to
32761 4.5 or later.
32762 * INSTALL: Regenerated.
32763
4e124ced
JM
32764 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32765
953ca31a
L
327662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32767
32768 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32769
617aca05
L
32770 * sysdeps/x86_64/x32/ffs.c: New file.
32771
5762f7ae
L
32772 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32773 __syscall_ulong_t.
32774 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32775 defined. Use __syscall_ulong_t.
32776 (shminfo): Use __syscall_ulong_t.
32777 (shm_info): Likewise.
32778
a26b6856
L
32779 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32780 __syscall_ulong_t.
32781
cb2b9ef7
L
32782 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32783 <bits/wordsize.h>.
32784 (msgqnum_t): Use __syscall_ulong_t.
32785 (msglen_t): Likewise.
32786 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32787 __syscall_ulong_t.
32788
34683bb0
L
32789 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32790 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32791
84a68786
L
32792 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32793
48baa5f1
L
32794 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32795 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32796
180be88b
L
32797 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32798 __syscall_slong_t.
32799
5e90c8ad
L
32800 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32801 include <bits/wordsize.h>. Check __x86_64__ instead of
32802 __WORDSIZE.
32803
23dfb58b
L
32804 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32805 "unsigned long long int" if __x86_64__ is defined.
32806 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32807
ce5d54b0
L
32808 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32809 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32810 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32811
13dc9eac
L
32812 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32813 <stdint.h>.
32814 (GET_PC): Cast to uintptr_t first.
32815 (GET_FRAME): Likewise.
32816 (GET_STACK): Likewise.
32817
a7895d15
L
32818 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32819 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32820 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32822 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32824 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32825 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32826 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32827 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32828 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32829 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32830 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32831 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32835 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32836 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32837 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32839 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32840 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32841 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32842 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32847
656416c9
AS
328482012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32849
5bd66283
AS
32850 * Makerules (+depfiles): Also collect depfiles from .oS in
32851 $(extra-objs).
32852 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32853 .oS, $(libnldbl-routines)).
32854
656416c9
AS
32855 * Makerules (native-compile-mkdep-flags): Define.
32856 * sunrpc/Makefile (extra-objs): Add $(addprefix
32857 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32858 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32859 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32860 calling $(make-target-directory).
32861
a46f2169
L
328622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32863
32864 * bits/types.h (__snseconds_t): Removed.
32865 * time/time.h (struct timespec): Replace __snseconds_t with
32866 __syscall_slong_t.
32867 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32868 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32869 Likewise.
32870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32871 (__SNSECONDS_T_TYPE): Likewise.
32872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32873 (__SNSECONDS_T_TYPE): Likewise.
32874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32875 (__SNSECONDS_T_TYPE): Likewise.
32876
6af6528b
L
328772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32878
32879 * sysdeps/mach/hurd/bits/typesizes.h
32880 (__SYSCALL_SLONG_TYPE): New macro.
32881 (__SYSCALL_ULONG_TYPE): Likewise.
32882
de986b56
L
328832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32884
32885 * bits/types.h (__syscall_slong_t): New type.
32886 (__syscall_ulong_t): Likewise.
32887
32888 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32889 (__SYSCALL_ULONG_TYPE): Likewise.
32890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32891 (__SYSCALL_SLONG_TYPE): Likewise.
32892 (__SYSCALL_ULONG_TYPE): Likewise.
32893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32894 (__SYSCALL_SLONG_TYPE): Likewise.
32895 (__SYSCALL_ULONG_TYPE): Likewise.
32896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32897 (__SYSCALL_SLONG_TYPE): Likewise.
32898 (__SYSCALL_ULONG_TYPE): Likewise.
32899
85736dc7
L
329002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32901
32902 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32903 Add sigaltstack-offsets.sym.
32904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32905 <sigaltstack-offsets.h>.
32906 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32907 longjmp_msg pointer.
32908 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32909 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32910 signal stack.
32911 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32912
cc03b296
JM
329132012-05-15 Joseph Myers <joseph@codesourcery.com>
32914
a9538892
JM
32915 * elf/stackguard-macros.h: Remove file.
32916 * sysdeps/generic/stackguard-macros.h: New file.
32917 * sysdeps/i386/stackguard-macros.h: Likewise.
32918 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32919 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32920 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32921 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32922 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32923 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32924 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32925 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32926 <elf/stackguard-macros.h>.
32927
cc03b296
JM
32928 [BZ #14109]
32929 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32930 __aligned__ in attribute.
32931 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32932 (gregset_t): Likewise.
32933
93171016
L
329342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32935
32936 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32937 * sysdeps/x86_64/64/Implies-after: Here. New file.
32938 * sysdeps/x86_64/x32/Implies-after: New file.
32939
d86813a0
L
329402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32941
32942 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32943 and access return value for _dl_profile_fixup. Use R10_LP to
32944 load frame size.
32945
2953ec75
L
329462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32947
32948 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32949
3b550e9e
L
329502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32951
32952 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32953 * sysdeps/x86_64/x32/sysdep.h: New file.
32954
eda41706
L
329552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32956
32957 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32958 * sysdeps/x86_64/setjmp.S: Likewise.
32959
9ea01d93
AZ
329602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32961
32962 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32964 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32966 remove unused global constant.
32967
02a91938
CM
329682012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32969
32970 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32971 include of <not-cancel.h>.
32972
6540185f
RM
329732012-05-15 Roland McGrath <roland@hack.frob.com>
32974
32975 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32976
509072a0
AJ
329772012-05-15 Jeff Law <law@redhat.com>
32978 Andreas Jaeger <aj@suse.de>
32979
32980 [BZ #13594]
32981 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32982 out from...
32983 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32984 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32985 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32986 code changing __hst_map_handle.map.
32987
ba75122d
RM
329882012-05-15 Roland McGrath <roland@hack.frob.com>
32989
32990 * configure.in (sysnames): Look for Implies-before and Implies-after
32991 files.
32992 * configure: Regenerated.
32993
890d8bd8
L
329942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32995
32996 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32997 8-byte data alignment with LP_SIZE alignment.
32998
f6ee6623
L
329992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33000
33001 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33002 into R10_LP.
33003
ea2626f6
L
330042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33007
085f715e
L
330082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33009
33010 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33011 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33012 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33013 Likewise.
33014 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33015
be8498fc
L
330162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33017
33018 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33019 (stackinfo_sub_sp): Likewise.
33020
70bc83b9
L
330212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33024 RAX_LP.
33025
9bc0b730
L
330262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33027
33028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33029 into R*_LP.
33030
6d2850e7
L
330312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33032
33033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33034 sizes into R*_LP.
33035
3cb84561
L
330362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33037
33038 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33039
54e2ed81
L
330402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33041
33042 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33043 into R11_LP and load __x86_64_shared_cache_size_half into
33044 R8_LP.
33045
8a17f349
L
330462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33047
33048 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33049 R8_LP.
33050
777b1eea
AZ
330512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33052
33053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33054 logb for POWER7.
33055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33056 logbf for POWER7.
33057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33058 logbl for POWER7.
33059 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33060 powerpc32/power7/fpu/s_logb.c via #include.
33061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33062 powerpc32/power7/fpu/s_logbf.c via #include.
33063 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33064 powerpc32/power7/fpu/s_logbl.c via #include.
33065
d20d4ac2
JM
330662012-05-15 Joseph Myers <joseph@codesourcery.com>
33067
33068 * README.libm: Remove file.
33069
6cdef1ab
L
330702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33071
33072 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33073 count for x32. Use R*_LP and omit operand-size suffix.
33074
0b254d8f
L
330752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33076
33077 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33078 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33079 * sysdeps/x86_64/x32/shlib-versions: New file.
33080
ceb809dc
RM
330812012-05-14 Roland McGrath <roland@hack.frob.com>
33082
33083 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33084 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33085 Use _dl_fatal_printf instead.
33086
37f1abd4
JM
330872012-05-14 Joseph Myers <joseph@codesourcery.com>
33088
33089 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33090 set if not set by the user. Do not allow for being unset.
33091 * sysdeps/unix/sysv/linux/configure: Regenerated.
33092
11de3a33
L
330932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33094
33095 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33096 the `q' suffix from lea and replace .quad with ASM_ADDR.
33097
e02f153a
L
330982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33099
33100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33101 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33102 instead of $17.
33103 (PTR_DEMANGLE): Likewise.
33104
520ae0fd
L
331052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33106
33107 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33108 (LP_OP): Likewise.
33109 (ASM_ADDR): Likewise.
33110 (RAX_LP): Likewise.
33111 (RBP_LP): Likewise.
33112 (RBX_LP): Likewise.
33113 (RCX_LP): Likewise.
33114 (RDI_LP): Likewise.
33115 (RSI_LP): Likewise.
33116 (RSP_LP): Likewise.
33117 (R8_LP): Likewise.
33118 (R9_LP): Likewise.
33119 (R10_LP): Likewise.
33120 (R10_LP): Likewise.
33121 (R11_LP): Likewise.
33122 (R12_LP): Likewise.
33123 (R13_LP): Likewise.
33124 (R14_LP): Likewise.
33125 (R15_LP): Likewise.
33126
b985be81
L
331272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33128
33129 * sysdeps/x86_64/x32/dl-machine.h: New file.
33130
6a4888ff
AJ
331312012-05-14 Andreas Jaeger <aj@suse.de>
33132
33133 * manual/Makefile (subdir): Remove export of subdir.
33134 (all): Remove target.
33135 (.PHONY): Remove all from list.
33136 (mkinstalldirs): Remove.
33137 (.PHONY): Remove installdirs from list.
33138 ($(inst_infodir)/libc.info): Use make-target-directory.
33139 (installdirs): Remove.
33140 (subdir_%): Remove.
33141 (glibc-targets): Remove.
33142 (lib): Remove.
33143 (stubs): Remove.
33144 ($(objpfx)stubs ../po/manual.pot): Remove.
33145 ($(objpfx)stamp%): Remove.
33146 (make-target-directory): Remove.
33147 (subdir_install): Remove.
33148 (routines): Remove.
33149 (aux): Remove.
33150 (sources): Remove.
33151 (objects): Remove.
33152 (headers): Remove.
33153
33154 [BZ #13750]
33155 * manual/.gitignore: Remove, it's not needed anymore.
33156 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33157 all files in it.
33158 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33159 directory.
33160 (texis): Renamed to $(objpfx)texis.
33161 (texis-path): New, contains path to generated files.
33162 (chapters.%): Use texis-path for complete path, add extra argument
33163 libc-texinfo.sh.
33164 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33165 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33166 (summary,texi, stamp-summary): Use complete path of
33167 files. Generate files in build dir.
33168 (dir-add.texi): Build in build dir.
33169 (libm-err.texi,stamp-libm-err): Likewise.
33170 (version.texi, stamp-version): Likewise.
33171 (.%c.texi): Likewise.
33172 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33173 (mostlyclean): Remove target.
33174 (realclean): Remove target.
33175 (generated): Add new variable with contents from mostlyclean and
33176 realclean, remove entries duplicated in common-mostlyclean, add
33177 stamp-libm-err and stamp-version.
33178 (generated-dirs): Add libc directory.
33179 ($(inst_infodir)/libc.info): Install files from build dir.
33180
33181 * manual/install.texi (Configuring and compiling): Adjust since
33182 the info files are not part of the tar ball anymore.
33183
7ac77294
AJ
331842012-05-14 Andreas Jaeger <aj@suse.de>
33185
33186 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33187 variable.
33188
ffb7875d
JM
331892012-05-14 Joseph Myers <joseph@codesourcery.com>
33190
33191 [BZ #13717]
33192 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33193 to 2.2.0 where earlier.
33194 * sysdeps/unix/sysv/linux/configure: Regenerated.
33195 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33196 Remove conditional code.
33197 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33198 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33199 Remove conditional code.
33200 [!__NR_lchown]: Likewise.
33201 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33202 [__NR_lchown]: Likewise.
33203 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33204 comment referencing __ASSUME_LCHOWN_SYSCALL.
33205 * sysdeps/unix/sysv/linux/i386/sigaction.c
33206 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33207 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33208 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33209 Remove conditional code.
33210 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33211 (__protocol_available): Remove #if 0 code.
33212 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33213 conditional code.
33214 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33215 * sysdeps/unix/sysv/linux/kernel-features.h
33216 (__ASSUME_GETCWD_SYSCALL): Don't define.
33217 (__ASSUME_REALTIME_SIGNALS): Likewise.
33218 (__ASSUME_PREAD_SYSCALL): Likewise.
33219 (__ASSUME_PWRITE_SYSCALL): Likewise.
33220 (__ASSUME_POLL_SYSCALL): Likewise.
33221 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33222 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33223 non-SPARC.
33224 (__ASSUME_SIOCGIFNAME): Don't define.
33225 (__ASSUME_MSG_NOSIGNAL): Likewise.
33226 (__ASSUME_SENDFILE): Define unconditionally.
33227 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33228 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33229 conditional code.
33230 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33231 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33232 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33233 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33234 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33235 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33236 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33261 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33262 Remove conditional code.
33263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33264 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33265 Remove conditional code.
33266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33267 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33268 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33269 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33270 Remove conditional code.
33271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33272 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33273 Remove conditional code.
33274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33275 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33276 Remove conditional code.
33277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33278 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33279 Remove conditional code.
33280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33281 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33282 Remove conditional code.
33283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33284 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33287 * sysdeps/unix/sysv/linux/sigaction.c
33288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33290 * sysdeps/unix/sysv/linux/sigpending.c
33291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33293 * sysdeps/unix/sysv/linux/sigprocmask.c
33294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33296 * sysdeps/unix/sysv/linux/sigsuspend.c
33297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33300 (__libc_missing_rt_sigs): Remove.
33301 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33302 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33303 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33304 Remove conditional code.
33305 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33306 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33307 return 1.
33308 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33309 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33310 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33311 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33312
1bfb7291
AJ
333132012-05-14 Andreas Jaeger <aj@suse.de>
33314
caae5a81
AJ
33315 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33316 it's not used in glibc.
33317 (__coshm1): Likewise.
33318 (__acosh1p): Likewise.
33319 (__sgn): Likewise.
33320
1bfb7291
AJ
33321 * manual/string.texi (Copying and Concatenation): Add missing
33322 variable in concat example.
33323 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33324
c044d724
L
333252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33326
144c5467 33327 [BZ #14103]
c044d724
L
33328 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33329 __builtin_clzl with __builtin_clzll.
33330
2523c62b
L
333312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33332
33333 [BZ #14104]
33334 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33335 libc_freeres_ptr.
33336
d7bb4c42
LD
333372012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33338
33339 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33340 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33341 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33342 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33343
9dc4e1fb
MF
333442012-05-14 Mike Frysinger <vapier@gentoo.org>
33345
33346 * NEWS: Update ia64 info.
33347
c7df0112
AS
333482012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33349
33350 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33351 used as bcopy.
33352
dc70356c
TS
333532012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33354
33355 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33356 * sysdeps/unix/syscalls.list (dup3): Likewise.
33357 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33358 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33359
9fb1a21f
L
333602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33361
33362 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33363 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33364
4822a2a5
L
333652012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33366
33367 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33368 thread pointer.
33369 (TLS_IE): Use mov/add instead of movq/addq to load thread
33370 pointer.
33371 (TLS_GD_PREFIX): New.
33372 (TLS_GD): Use it.
33373
842b81d6
DM
333742012-05-11 David S. Miller <davem@davemloft.net>
33375
33376 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33377 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33378 (_FPU_SETCW): Likewise.
33379
1cf463cd
L
333802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33381
33382 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33383 is 32-byte aligned.
33384
60cc4a18
AS
333852012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33386
33387 [BZ #11837]
33388 * iconvdata/gb18030.c: Update tables.
33389 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33390 characters specially.
33391 (BODY for TO_LOOP): Add encoding of missing ranges.
33392
febb44a4
TS
333932012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33394
33395 [BZ #13673]
33396 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33397 * sysdeps/mach/hurd/dup3.c: Likewise.
33398 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33399 * sysdeps/powerpc/memmove.c:: Likewise.
33400
0a10fb9e
L
334012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33402
33403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33404 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33405
df8a552f
L
334062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33407
33408 * elf/elf.h (R_X86_64_RELATIVE64): New.
33409 (R_X86_64_NUM): Updated.
33410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33411 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33412 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33413 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33414 tst-quad1pie tst-quad2pie
33415 (modules-names): Add tst-quadmod1 tst-quadmod2.
33416 ($(objpfx)tst-quad1): New dependency.
33417 ($(objpfx)tst-quad2): Likewise.
33418 ($(objpfx)tst-quad1pie): Likewise.
33419 ($(objpfx)tst-quad2pie): Likewise.
33420 * sysdeps/x86_64/tst-quad1.c: New file.
33421 * sysdeps/x86_64/tst-quad1pie.c: New file.
33422 * sysdeps/x86_64/tst-quad2.c: Likewise.
33423 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33424 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33425 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33426 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33427 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33428
f34d6f84
ST
334292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33430
f42d41d1
ST
33431 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33432 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33433 * streams/stropts.h (t_scalar_t): Define type.
33434
3c3571fc
ST
33435 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33436 (_PATH_PRESERVE): Set to "/var/lib".
33437 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33438
61f06bd3
ST
33439 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33440 instead of int.
33441
918d4d71
ST
33442 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33443 if __dir_mkfile succeeded.
33444
f34d6f84
ST
33445 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33446 checking for _hurd_dtablesize. Unlock it right after having
33447 finished _hurd_dtable allocation.
33448
10589b4a
TS
334492012-05-10 Thomas Schwinge <thomas@schwinge.name>
33450
674cdbc7
TS
33451 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33452 * sysdeps/mach/hurd/configure: Regenerated.
33453 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33454 special-casing to...
33455 * sysdeps/gnu/configure.in: ... this new file.
33456 * sysdeps/unix/sysv/linux/configure: Regenerated.
33457 * sysdeps/gnu/configure: New generated file.
33458
8e41b99f
TS
33459 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33460 for Linux: use nsec instead of usec, as well as:
33461 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33462 members of type struct timespec.
33463 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33464 New macros.
33465 (struct stat64): Likewise.
33466 (_STATBUF_ST_NSEC): New macro.
33467 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33468
10589b4a
TS
33469 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33470 __strtoul_internal rather than strtoul.
33471
63643c85
PT
334722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33473
33474 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33475 and reject them.
33476
3faebe6a
ST
334772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33478
33479 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33480 which preserves existing values.
33481 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33482
c6474b07
PT
334832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33484
33485 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33486 TIMEOUT values. Return EINVAL for NFDS values either negative or
33487 greater than FD_SETSIZE.
33488
1043890b
ST
334892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33490
33491 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33492 allocated, call __vm_protect to finish enabling the existing space, and
33493 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33494 allocate the remainder.
33495
37ed8b9b
PT
334962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33497
33498 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33499 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33500
db653660
ST
335012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33502
37ed8b9b
PT
33503 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33504 sysdeps/mach/hurd/readlink.c.
b29d4053 33505
db653660
ST
33506 * posix/tst-sysconf.c (posix_options): Only use
33507 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33508 _POSIX_SYNCHRONIZED_IO when they are defined
33509 * sysdeps/mach/hurd/bits/posix_opt.h:
33510 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33511 (_XOPEN_REALTIME): Undefine macro.
33512 (_XOPEN_REALTIME_THREADS): Undefine macro.
33513 (_XOPEN_SHM): Undefine macro.
33514 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33515 macro to -1.
33516 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33517 macro to -1.
33518 (_POSIX_ASYNC_IO): Undefine macro.
33519 (_POSIX_PRIORITIZED_IO): Undefine macro.
33520 (_POSIX_SPIN_LOCKS): Define macro to -1.
33521
ee16e894
ST
33522 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33523 SA_NODEFER, SA_RESETHAND.
33524 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33525 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33526 F_DUPFD_CLOEXEC.
33527
6103ae3b
TS
335282012-05-10 Thomas Schwinge <thomas@schwinge.name>
33529
33530 * elf/Makefile (pldd-modules): Define unconditionally.
33531
80b4e5f3
TS
335322012-05-10 Thomas Schwinge <thomas@schwinge.name>
33533
33534 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33535
edadcbd6
ST
335362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33537
33538 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33539 Return ENOENT when name is empty.
33540 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33541
80694780
TS
335422012-05-10 Thomas Schwinge <thomas@schwinge.name>
33543
1792c087
TS
33544 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33545
80694780
TS
33546 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33547
6b645f0d
ST
335482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33549
80694780
TS
33550 Fix mlock in all cases except non-readable pages.
33551 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33552 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 33553
6b645f0d
ST
33554 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33555 (__mkdir): When path is `/', just fail with EEXIST.
33556 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33557
e468f8a3
TS
335582012-05-10 Thomas Schwinge <thomas@schwinge.name>
33559
33560 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33561 <sys/uio.h> (for writev).
33562 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33563 and <sys/param.h> (for MIN).
33564
a4186cff
PT
335652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33566
33567 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33568 REQUESTED_TIME. Properly set the remaining time and return EINTR
33569 if interrupted.
33570
510bbf14
TS
335712012-05-10 Thomas Schwinge <thomas@schwinge.name>
33572
33573 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33574 Depend on against $(link-rpcuserlibs).
33575
5d5722e8
ST
335762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33577
a4186cff
PT
33578 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33579 (__libc_stack_end): Do not use attribute_relro.
33580 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33581 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 33582 to libthread-provided value.
a4186cff
PT
33583 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33584 attribute_relro.
5d5722e8 33585
37233df9
TS
335862012-05-10 Thomas Schwinge <thomas@schwinge.name>
33587
be971a2b
TS
33588 [BZ #3748]
33589 * bits/libc-lock.h (__libc_once_get): New macro.
33590 * sysdeps/mach/bits/libc-lock.h: Likewise.
33591 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33593 instead of using implementation details.
33594
37233df9
TS
33595 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33596 * libio/freopen.c: Likewise.
33597 * libio/freopen64.c: Likewise.
33598 * misc/syslog.c: Likewise.
33599 * nscd/connections.c: Likewise.
33600 * nscd/netgroupcache.c: Likewise.
33601 * sysdeps/posix/getcwd.c: Likewise.
33602
38de94a5
RM
336032012-05-10 Roland McGrath <roland@hack.frob.com>
33604
33605 * math/w_ilogbf.c: Add #include <limits.h>.
33606
67530489
ST
336072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33608
a4186cff 33609 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
33610 path instead of returning without unlocking.
33611
67530489
ST
33612 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33613 immediate-write ioctls.
33614 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33615
5aa3a74a
TS
336162012-05-10 Thomas Schwinge <thomas@schwinge.name>
33617
18bad2ae
TS
33618 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33619 __builtin_frame_address instead of making assumptions about the
33620 location of the return address relative to DATA. Force early load of
33621 the return address.
33622 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33623 __builtin_frame_address.
33624
5aa3a74a
TS
33625 dup3 for GNU Hurd.
33626 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33627 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33628 implement dup3 and do some further code clean-ups.
33629 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33630 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33631
ecd0de9a
ST
336322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33633
cd9fa985
ST
33634 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33635
a4186cff
PT
33636 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33637 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33638 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33639 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33640 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33641 d->port.lock.
802ca5a5 33642
a4186cff
PT
33643 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33644 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33645 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 33646
bcf55240
TS
336472012-05-10 Thomas Schwinge <thomas@schwinge.name>
33648
6960eb42
TS
33649 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33650 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33651 definitions.
33652
eb43375f
TS
33653 accept4 for GNU Hurd.
33654 * include/sys/socket.h (__libc_accept4): New prototype.
33655 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33656 to implement __libc_accept4.
33657 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33658 __libc_accept4.
33659 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33660
bcf55240
TS
33661 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33662 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33663 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33664 signal-defines.sym.
33665
6178c55b
ST
336662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33667
a4186cff 33668 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 33669
6f080c2f
TS
336702012-05-10 Thomas Schwinge <thomas@schwinge.name>
33671
33672 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33673 assertion on O_CLOEXEC flag.
33674 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33675 * hurd/intern-fd.c: Likewise.
33676 * hurd/port2fd.c: Likewise.
33677
bcfe3a54
ST
336782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33679
33680 [BZ #3906]
33681 * bits/in.h (IPV6_PKTINFO): Define new macro.
33682 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33683
89c9aa49
AZ
336842012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33685
33686 [BZ #13954]
33687 [BZ #13955]
33688 [BZ #13956]
33689 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33691 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33692 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33694 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33695 * math/libm-test.inc (logb_test) : Additional logb tests.
33696
021db4be
AJ
336972012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33698 Andreas Jaeger <aj@suse.de>
33699
33700 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33701 * configure: Regenerated.
33702 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33703 * config.make.in (link-obsolete-rpc): New substituted variable.
33704 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33705 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33706 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33707 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33708 so that libc.a contains the symbols.
33709 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33710 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33711 * sunrpc/auth_none.c: Likewise.
33712 * sunrpc/auth_unix.c: Likewise.
33713 * sunrpc/authdes_prot.c: Likewise.
33714 * sunrpc/authuxprot.c: Likewise.
33715 * sunrpc/clnt_gen.c: Likewise.
33716 * sunrpc/clnt_perr.c: Likewise.
33717 * sunrpc/clnt_raw.c: Likewise.
33718 * sunrpc/clnt_simp.c: Likewise.
33719 * sunrpc/clnt_tcp.c: Likewise.
33720 * sunrpc/clnt_udp.c: Likewise.
33721 * sunrpc/clnt_unix.c: Likewise.
33722 * sunrpc/des_crypt.c: Likewise.
33723 * sunrpc/des_soft.c: Likewise.
33724 * sunrpc/get_myaddr.c: Likewise.
33725 * sunrpc/key_call.c: Likewise.
33726 * sunrpc/key_prot.c: Likewise.
33727 * sunrpc/netname.c: Likewise.
33728 * sunrpc/pm_getmaps.c: Likewise.
33729 * sunrpc/pm_getport.c: Likewise.
33730 * sunrpc/pmap_clnt.c: Likewise.
33731 * sunrpc/pmap_prot.c: Likewise.
33732 * sunrpc/pmap_prot2.c: Likewise.
33733 * sunrpc/pmap_rmt.c: Likewise.
33734 * sunrpc/publickey.c: Likewise.
33735 * sunrpc/rpc_cmsg.c: Likewise.
33736 * sunrpc/rpc_common.c: Likewise.
33737 * sunrpc/rpc_dtable.c: Likewise.
33738 * sunrpc/rpc_prot.c: Likewise.
33739 * sunrpc/rpc_thread.c: Likewise.
33740 * sunrpc/rtime.c: Likewise.
33741 * sunrpc/svc.c: Likewise.
33742 * sunrpc/svc_auth.c: Likewise.
33743 * sunrpc/svc_raw.c: Likewise.
33744 * sunrpc/svc_run.c: Likewise.
33745 * sunrpc/svc_tcp.c: Likewise.
33746 * sunrpc/svc_udp.c: Likewise.
33747 * sunrpc/svc_unix.c: Likewise.
33748 * sunrpc/svcauth_des.c: Likewise.
33749 * sunrpc/xcrypt.c: Likewise.
33750 * sunrpc/xdr.c: Likewise.
33751 * sunrpc/xdr_array.c: Likewise.
33752 * sunrpc/xdr_float.c: Likewise.
33753 * sunrpc/xdr_intXX_t.c: Likewise.
33754 * sunrpc/xdr_mem.c: Likewise.
33755 * sunrpc/xdr_rec.c: Likewise.
33756 * sunrpc/xdr_ref.c: Likewise.
33757 * sunrpc/xdr_sizeof.c: Likewise.
33758 * sunrpc/xdr_stdio.c: Likewise.
33759
b5c086a2
RM
337602012-05-10 Roland McGrath <roland@hack.frob.com>
33761
33762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33763 change. Update copyright years.
33764
6d74dd09
JM
337652012-05-10 Joseph Myers <joseph@codesourcery.com>
33766
33767 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33768
28e72501
MK
337692012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33770 Joseph Myers <joseph@codesourcery.com>
33771 Paul Pluzhnikov <ppluzhnikov@google.com>
33772
33773 [BZ #14012]
33774 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33775 requiring rpcgen.
33776 [cross-compiling] (extra-libs): Likewise.
33777 [cross-compiling] (extra-libs-others): Likewise.
33778 [cross-compiling] (librpcsvc-routines): Likewise.
33779 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33780 [cross-compiling] (omit-deps): Likewise.
33781 (sunrpc-CPPFLAGS): New variable.
33782 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33783 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33784 (cross-rpcgen-objs): New variable.
33785 (extra-objs): Append $(cross-rpcgen-objs).
33786 ($(cross-rpcgen-objs)): New rule.
33787 ($(objpfx)cross-rpcgen): Likewise.
33788 (rpcgen-cmd): Define to use $(built-program-file). Expand
33789 comment.
33790 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33791 ($(objpfx)x%.stmp): Likewise.
33792 * sunrpc/proto.h [IS_IN_build] (_): Define.
33793 [IS_IN_build] (_libc_intl_domainname): Likewise.
33794
c8c59454
L
337952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33796
33797 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33798 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33799 and R_X86_64_TPOFF64.
33800
6f27cd16
JM
338012012-05-10 Joseph Myers <joseph@codesourcery.com>
33802
33803 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33804 sysdeps/unix/sysv/syscalls.list.
33805 (stime): Likewise.
33806 (utime): Likewise.
33807 * sysdeps/unix/sysv/syscalls.list: Remove file.
33808
02467e1c
PE
338092012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33810
33811 [BZ #3440]
33812 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33813 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33814 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33815 (__LC_IDENTIFICATION): Make these macros useful in #if
33816 expressions, as required by C99.
33817
da392631
AS
338182012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33819
33820 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33821 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33822 after this.
33823
8115f29b
L
338242012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33825
33826 * stdlib/longlong.h: Updated from GCC.
33827
bdd74070
AJ
338282012-05-09 Andreas Jaeger <aj@suse.de>
33829
edfe0dbe
AJ
33830 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33831 default is first entry.
33832 (run_mode): Set type.
33833 (main): Remove informal message about syslog.
33834 (options): Fix typo.
33835
bcfe3a54
ST
33836 [BZ #14053]
33837 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 33838 to asm.
bcfe3a54
ST
33839 (lrint): Likewise.
33840 (llrintf): Likewise.
33841 (llrint): Likewise.
33842 (rint): Likewise.
33843 (rintf): Likewise.
33844 (nearbyint): Likewise.
33845 (nearbyintf): Likewise.
bdd74070 33846
91d8d69e
AJ
338472012-05-09 Andreas Jaeger <aj@suse.de>
33848 Pedro Alves <palves@redhat.com>
33849
33850 * nscd/nscd.c (run_mode): Use enum.
33851 (main): Cleanup coding style issue.
33852
bb90b80b
AJ
338532012-05-09 Alexandre Oliva <aoliva@redhat.com>
33854 Andreas Jaeger <aj@suse.de>
33855
bcfe3a54
ST
33856 * nscd/nscd.c (go_background): Replaced with...
33857 (run_mode): ... this.
bb90b80b 33858 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
33859 (options): Add -F --foreground.
33860 (main): Implement it.
33861 (parse_opt): Parse it.
bb90b80b 33862
1a4b75a1
AJ
338632012-05-09 Andreas Jaeger <aj@suse.de>
33864
33865 [BZ #14083]
33866 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33867 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33868 -Wconversion warning.
33869 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33870 Likewise.
33871
b1cc2472
JM
338722012-05-09 Joseph Myers <joseph@codesourcery.com>
33873
33874 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33875 == 0.
33876 (LC_ALL): Use macro-int-constant.
33877 (LC_COLLATE): Likewise.
33878 (LC_CTYPE): Likewise.
33879 (LC_MESSAGES): Likewise.
33880 (LC_MONETARY): Likewise.
33881 (LC_NUMERIC): Likewise.
33882 (LC_TIME): Likewise.
33883 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33884 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33886 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33887 Specify type.
33888 [C99-based standards] (float_t): Expect type.
33889 [C99-based standards] (double_t): Expect type.
33890 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33891 type.
33892 [C99-based standards] (HUGE_VALL): Likewise.
33893 [C99-based standards] (INFINITY): Likewise.
33894 [C99-based standards] (NAN): Likewise.
33895 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33896 [C99-based standards] (FP_NAN): Likewise.
33897 [C99-based standards] (FP_NORMAL): Likewise.
33898 [C99-based standards] (FP_SUBNORMAL): Likewise.
33899 [C99-based standards] (FP_ZERO): Likewise.
33900 [C99-based standards] (FP_FAST_FMA): Use
33901 optional-macro-int-constant. Specify type. Require == 1.
33902 [C99-based standards] (FP_FAST_FMAF): Likewise.
33903 [C99-based standards] (FP_FAST_FMAL): Likewise.
33904 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33905 [C99-based standards] (FP_ILOGBNAN): Likewise.
33906 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33907 Specify type.
33908 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33909 [C99-based standards] (math_errhandling): Specify type.
33910 [ISO99 || ISO11] (signgam): Do not allow.
33911 [non-C99-based standards] (copysignf): Do not allow.
33912 [non-C99-based standards] (exp2f): Likewise.
33913 [non-C99-based standards] (log2f): Likewise.
33914 [non-C99-based standards] (modff): Allow.
33915 [non-C99-based standards] (erff): Do not allow.
33916 [non-C99-based standards] (erfcf): Likewise.
33917 [non-C99-based standards] (gammaf): Likewise.
33918 [non-C99-based standards] (hypotf): Likewise.
33919 [non-C99-based standards] (j0f): Likewise.
33920 [non-C99-based standards] (j1f): Likewise.
33921 [non-C99-based standards] (jnf): Likewise.
33922 [non-C99-based standards] (lgammaf): Likewise.
33923 [non-C99-based standards] (tgammaf): Likewise.
33924 [non-C99-based standards] (y0f): Likewise.
33925 [non-C99-based standards] (y1f): Likewise.
33926 [non-C99-based standards] (ynf): Likewise.
33927 [non-C99-based standards] (isnanf): Likewise.
33928 [non-C99-based standards] (acoshf): Likewise.
33929 [non-C99-based standards] (asinhf): Likewise.
33930 [non-C99-based standards] (atanhf): Likewise.
33931 [non-C99-based standards] (cbrtf): Likewise.
33932 [non-C99-based standards] (expm1f): Likewise.
33933 [non-C99-based standards] (ilogbf): Likewise.
33934 [non-C99-based standards] (log1pf): Likewise.
33935 [non-C99-based standards] (logbf): Likewise.
33936 [non-C99-based standards] (nextafterf): Likewise.
33937 [non-C99-based standards] (remainderf): Likewise.
33938 [non-C99-based standards] (rintf): Likewise.
33939 [non-C99-based standards] (scalbf): Likewise.
33940 [non-C99-based standards] (copysignl): Likewise.
33941 [non-C99-based standards] (exp2l): Likewise.
33942 [non-C99-based standards] (log2l): Likewise.
33943 [non-C99-based standards] (modfl): Allow.
33944 [non-C99-based standards] (erfl): Do not allow.
33945 [non-C99-based standards] (erfcl): Likewise.
33946 [non-C99-based standards] (gammal): Likewise.
33947 [non-C99-based standards] (hypotl): Likewise.
33948 [non-C99-based standards] (j0l): Likewise.
33949 [non-C99-based standards] (j1l): Likewise.
33950 [non-C99-based standards] (jnl): Likewise.
33951 [non-C99-based standards] (lgammal): Likewise.
33952 [non-C99-based standards] (tgammal): Likewise.
33953 [non-C99-based standards] (y0l): Likewise.
33954 [non-C99-based standards] (y1l): Likewise.
33955 [non-C99-based standards] (ynl): Likewise.
33956 [non-C99-based standards] (isnanl): Likewise.
33957 [non-C99-based standards] (acoshl): Likewise.
33958 [non-C99-based standards] (asinhl): Likewise.
33959 [non-C99-based standards] (atanhl): Likewise.
33960 [non-C99-based standards] (cbrtl): Likewise.
33961 [non-C99-based standards] (expm1l): Likewise.
33962 [non-C99-based standards] (ilogbl): Likewise.
33963 [non-C99-based standards] (log1pl): Likewise.
33964 [non-C99-based standards] (logbl): Likewise.
33965 [non-C99-based standards] (nextafterl): Likewise.
33966 [non-C99-based standards] (remainderl): Likewise.
33967 [non-C99-based standards] (rintl): Likewise.
33968 [non-C99-based standards] (scalbl): Likewise.
33969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33970 [non-C99-based standards] (FP_*): Do not allow.
33971 [C99-based standards] (FP_*): Change to
33972 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33973 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33974 allow.
33975 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33976 (SIG_ERR): Likewise.
33977 [X/Open-based standards] (SIG_HOLD): Likewise.
33978 (SIG_IGN): Likewise.
33979 (SIGABRT): Use macro-int-constant. Specify type. Require
33980 positive value.
33981 (SIGFPE): Likewise.
33982 (SIGILL): Likewise.
33983 (SIGINT): Likewise.
33984 (SIGSEGV): Likewise.
33985 (SIGTER): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34004 [X/Open-based standards] (SIGTRAP): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34009 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34010 allow.
34011
b9f1922d
IW
340122012-05-08 Ian Wienand <ianw@vmware.com>
34013
34014 [BZ #14080]
34015 * time/tzset.c (__tzset_parse_tz): Update default rules for
34016 daylight time changes in the Energy Policy Act of 2005.
34017
1db86e88
AJ
340182012-05-09 Andreas Jaeger <aj@suse.de>
34019
34020 [BZ #13983]
34021 * elf/ldconfig.c (parse_conf): Change string to make clear that
34022 ldconfig only issued a warning if ld.so.conf does not exist.
34023
dee4a4e3
DM
340242012-05-08 David S. Miller <davem@davemloft.net>
34025
ee0db190
DM
34026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34027 movxtod instead of popping the value on the stack.
34028
dee4a4e3
DM
34029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34030
6a43ec98
CD
340312012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34032
34033 * config.h.in: Add HAVE_ARM_PCS_VFP.
34034
05c2c961
RMG
340352012-05-08 Roland Mc Grath <roland@hack.frob.com>
34036
bcfe3a54
ST
34037 [BZ #13979]
34038 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34039 checking but the checks are disabled for any reason.
05c2c961 34040
4b30f61a
L
340412012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34042
34043 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34044 and ELF64_R_TYPE with ELFW(R_TYPE).
34045
eee2bc67
JM
340462012-05-08 Joseph Myers <joseph@codesourcery.com>
34047
7ea5391a
JM
34048 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34049 (ulimit): Likewise.
34050
eee2bc67
JM
34051 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34052 (settimeofday): Likewise.
34053
abb66a67
MF
340542012-05-08 Mike Frysinger <vapier@gentoo.org>
34055
34056 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34057 a struct th_u2 inside the union, and move tu_block/tu_code into
34058 a new th_u3 union of tu_block/tu_code inside of that. Move
34059 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34060 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34061 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34062 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34063 (th_stuff): Change to th_u1.tu_stuff.
34064 (th_data): Define.
34065 (th_msg): Change to th_u1.th_u2.tu_data.
34066
7f18b530
DM
340672012-05-07 David S. Miller <davem@davemloft.net>
34068
05760585
DM
34069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34070
7f18b530
DM
34071 [BZ #14074]
34072 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34073 (SETUP_PIC_REG): Use it.
34074 (SETUP_PIC_REG_LEAF): Use it.
34075
495fd99f
JM
340762012-05-07 Joseph Myers <joseph@codesourcery.com>
34077
34078 [BZ #13885]
34079 [BZ #13923]
34080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34081 USE_AS_EXPM1L.
34082 (EXPL_FINITE): Likewise.
34083 (FLDLOG): Likewise.
34084 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34085 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34086 e_expl.S.
34087 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34088 USE_AS_EXPM1L.
34089 (EXPL_FINITE): Likewise.
34090 (FLDLOG): Likewise.
34091 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34092 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34093 e_expl.S.
34094 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34095 test of -max_value argument for long double.
34096 * sysdeps/i386/fpu/libm-test-ulps: Update.
34097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34098
6693d694
DM
340992012-05-06 David S. Miller <davem@davemloft.net>
34100
34101 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34102 quad soft-float symbols whose references which are compiler
34103 generated.
34104 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34105
6c23e11c
JM
341062012-05-06 Joseph Myers <joseph@codesourcery.com>
34107
d8b82cad
JM
34108 [BZ #13884]
34109 [BZ #13914]
34110 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34111 USE_AS_EXP10L.
34112 (EXPL_FINITE): Likewise.
34113 (FLDLOG): Likewise.
34114 (c0): Likewise.
34115 (c1): Likewise.
34116 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34117 Adjust comments for base varying.
34118 (__expl_finite): Change alias to EXPL_FINITE.
34119 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34120 e_expl.S.
34121 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34122 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34123 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34124 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34125 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34126 USE_AS_EXP10L.
34127 (EXPL_FINITE): Likewise.
34128 (FLDLOG): Likewise.
34129 (c0): Likewise.
34130 (c1): Likewise.
34131 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34132 Adjust comments for base varying.
34133 (__expl_finite): Change alias to EXPL_FINITE.
34134 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34135 tests for bugs.
34136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34137
6c23e11c
JM
34138 [BZ #14064]
34139 * math/libm-test.inc (check_float_internal): Correct ulp
34140 calculation for subnormal expected results.
34141
29ba805c
AJ
341422012-05-06 Andreas Jaeger <aj@suse.de>
34143
34144 * Makeconfig (+math-flags): New, set to -frounding-math.
34145 (+cflags): Add +math-flags so that all of glibc gets compiled with
34146 it.
34147
34148 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34149
7b17aeda
JM
341502012-05-05 Joseph Myers <joseph@codesourcery.com>
34151
5779f134
JM
34152 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34153 Disable one test.
34154
41498f4d
JM
34155 [BZ #13787]
34156 [BZ #13922]
34157 [BZ #14036]
34158 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34159 (__ieee754_expl): Allow for and saturate large arguments.
34160 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34161 (u_threshold): Likewise.
34162 (__exp): Call __ieee754_exp before checking for overflow and
34163 underflow.
34164 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34165 (u_threshold): Likewise.
34166 (__expf): Call __ieee754_expf before checking for overflow and
34167 underflow.
34168 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34169 (u_threshold): Likewise.
34170 (__expl): Call __ieee754_expl before checking for overflow and
34171 underflow.
34172 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34173 (__ieee754_expl): Allow for and saturate large arguments.
34174 * math/libm-test.inc (exp_test): Add another test. Do not allow
34175 missing overflow exception on overflow.
34176 (expm1_test): Do not allow missing overflow exception on overflow.
34177
6698b8bf
JM
34178 * sysdeps/i386/fpu/e_expl.c: Move to ...
34179 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34180 rather than using inline asm.
34181 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34182 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34183 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34184
7b17aeda
JM
34185 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34186 (nice): Likewise.
34187 (poll): Likewise.
34188 (signal): Likewise.
34189 (time): Likewise.
34190 (times): Likewise.
34191
f7c85819
JM
341922012-05-04 Joseph Myers <joseph@codesourcery.com>
34193
34194 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34195 sysdeps/unix/common/syscalls.list.
34196 (fchmod): Likewise.
34197 (fchown): Likewise.
34198 (ftruncate): Likewise.
34199 (getrusage): Likewise.
34200 (gettimeofday): Likewise.
34201 (setpgid): Likewise.
34202 (setregid): Likewise.
34203 (setreuid): Likewise.
34204 (sigaction): Likewise.
34205 (truncate): Likewise.
34206 (vhangup): Likewise.
34207 * sysdeps/unix/common/syscalls.list: Remove file.
34208 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34209 * sysdeps/unix/sysv/linux/Implies: Likewise.
34210
336270d0
L
342112012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34212
34213 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34215 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34216 Moved to ...
34217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34218 Here.
34219 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34220 to ...
34221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34222 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34223 to ...
34224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34225 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34226 to ...
34227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34228 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34229 to ...
34230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34231 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34232 to ...
34233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34234 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34235 to ...
34236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34237 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34238 to ...
34239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34240 Here.
34241 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34242 to ...
34243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34244 Here.
34245 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34246 to ...
34247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34248 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34249 Moved to ...
34250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34251 Here.
34252 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34253 to ...
34254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34255
d128e450
JM
342562012-05-04 Joseph Myers <joseph@codesourcery.com>
34257
fa8ee516
JM
34258 * sysdeps/unix/common/bits/dirent.h: Remove file.
34259 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34260
d128e450
JM
34261 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34262 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34263 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34264 * sysdeps/unix/bsd/isatty.c: Likewise.
34265 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34266 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34267 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34268
ff8faaf0 342692012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 34270
62881be4 34271 [BZ #13563]
31dc8730
AZ
34272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34273 long double comparison inaccuracies.
34274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34276
6fef930c
AS
342772012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34278
34279 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34281
8f203e6c
JM
342822012-05-04 Joseph Myers <joseph@codesourcery.com>
34283
34284 [BZ #14049]
34285 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34286 nonzero digits before rounding a hex value.
34287 * stdlib/tst-strtod.c (tests): Add another test.
34288
5197d9c2
AK
342892012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34290
34291 * sysdeps/s390/fpu/libm-test-ulps: Update.
34292
f0c1dedf
AJ
342932012-05-03 Andreas Jaeger <aj@suse.de>
34294
34295 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34296 does not get optimized out.
34297 (malloc_opt_barrier): New.
34298
a65ef2ae 342992012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 34300 Roland McGrath <roland@hack.frob.com>
a65ef2ae 34301
2b942cb7 34302 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 34303 intermediate file deletion.
2b942cb7 34304 (generated): Add .symlist files.
a65ef2ae 34305
54b71e02
JM
343062012-05-03 Joseph Myers <joseph@codesourcery.com>
34307
34308 [BZ #13775]
34309 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34310 Redirect under this condition.
34311 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34312 [__USE_GNU] (__dprintf_chk): Not under this condition.
34313 [__USE_GNU] (__vdprintf_chk): Likewise.
34314 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34315 under this condition.
34316 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34317 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34318 [__USE_XOPEN2K8] (vdprintf): Likewise.
34319 [__USE_GNU] (__dprintf_chk): Not under this condition.
34320 [__USE_GNU] (__vdprintf_chk): Likewise.
34321 [__USE_GNU] (dprintf): Likewise.
34322 [__USE_GNU] (vdprintf): Likewise.
34323
d3dfcc41
RM
343242012-05-03 Roland McGrath <roland@hack.frob.com>
34325
34326 * elf/Makefile (common-generated): Set this instead of generated for
34327 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34328 $(all-built-dso)-derived lists.
34329
7ac30cc5
AJ
343302012-05-03 Andreas Jaeger <aj@suse.de>
34331
0c51e550
AJ
34332 * sysdeps/i386/fpu/libm-test-ulps: Update.
34333
7ac30cc5
AJ
34334 * FAQ: Removed.
34335 * FAQ.in: Likewise.
34336 * scripts/gen-FAQ.pl: Likewise.
34337 * manual/install.texi (Installation): Point to online location of
34338 FAQ.
34339 * Makefile (files-for-dist): Remove FAQ.
34340 (FAQ): Remove.
34341
d4c2917f
AM
343422012-05-02 Allan McRae <allan@archlinux.org>
34343
34344 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34345 (LDFLAGS-reldepmod5.so): Likewise.
34346 (LDFLAGS-reldep6mod1.so): Likewise.
34347 (LDFLAGS-reldep6mod4.so): Likewise.
34348 (LDFLAGS-reldep8mod3.so): Likewise.
34349 (LDFLAGS-unload4mod1.so): Likewise.
34350 (LDFLAGS-unload4mod2.so): Likewise.
34351 (LDFLAGS-tst-initorder): Likewise.
34352 (LDFLAGS-tst-initordera2.so): Likewise.
34353 (LDFLAGS-tst-initordera3.so): Likewise.
34354 (LDFLAGS-tst-initordera4.so): Likewise.
34355 (LDFLAGS-tst-initorderb2.so): Likewise.
34356 (LDFLAGS-noload): Likewise.
34357 (LDFLAGS-next): Likewise.
34358 (LDFLAGS-order2mod1.so): Likewise.
34359 (LDFLAGS-order2mod2.so): Likewise.
34360 (LDFLAGS-tst-initorder2): Likewise.
34361 (LDFLAGS-tst-initorder2a.so): Likewise.
34362 (LDFLAGS-tst-initorder2b.so): Likewise.
34363 (LDFLAGS-tst-initorder2c.so): Likewise.
34364 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34365
d77f993f
DM
343662012-05-02 David S. Miller <davem@davemloft.net>
34367
34368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34369
171a70b4
PP
343702012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34371
34372 [BZ #14055]
34373 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34374
0be196ad
AJ
343752012-05-02 Andreas Jaeger <aj@suse.de>
34376
34377 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34378 since we manipulate rounding mode.
34379 (CPPFLAGS-test-idouble.c): Likewise.
34380 (CPPFLAGS-test-ifloat.c): Likewise.
34381 (CFLAGS-test-ldouble.c): Likewise.
34382 (CFLAGS-test-double.c): Likewise.
34383 (CFLAGS-test-float.c): Likewise.
34384 (CFLAGS-test-misc.c): Likewise.
34385 (CFLAGS-test-test-fenv.c): Likewise.
34386
4f9d04aa
AZ
343872012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34388
2b942cb7
RM
34389 [BZ #2550]
34390 [BZ #2570]
34391 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34392 comparisons to determine direction to adjust input.
4f9d04aa 34393
82a79e7d
RM
343942012-05-01 Roland McGrath <roland@hack.frob.com>
34395
f5a01ca9
RM
34396 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34397 output to the target.
34398
90fe4186
RM
34399 * scripts/localplt.awk: New file.
34400 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34401 (check-localplt-CFLAGS): Variable removed.
34402 ($(all-built-dso:=.jmprel)): New static pattern rule.
34403 (generated): Add those targets.
34404 (localplt-built-dso): New variable.
34405 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34406
34407 * elf/check-localplt.c: File removed.
34408
82397ed6
RM
34409 * scripts/check-execstack.awk: New file.
34410 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34411 (check-execstack-CFLAGS): Variable removed.
34412 ($(objpfx)check-execstack.h): Target removed.
34413 ($(objpfx)execstack-default): New target.
34414 (generated): Add that instead of check-execstack.h.
34415 ($(all-built-dso:=.phdr)): New static pattern rule.
34416 (generated): Add those targets.
34417 * elf/check-execstack.c: File removed.
34418
82a79e7d
RM
34419 * scripts/check-textrel.awk: New file.
34420 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34421 (check-textrel-CFLAGS): Variable removed.
34422 (all-built-dso): Use := to define.o
34423 ($(all-built-dso:=.dyn)): New static pattern rule.
34424 (generated): Add those targets.
34425 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34426 * config.make.in (READELF): New substituted variable.
34427 * elf/check-textrel.c: File removed.
34428
62fde54f 344292012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 34430
615605c9
JM
34431 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34432 allow.
34433 * conform/data/ctype.h-data [C99-based standards] (isblank):
34434 Expect function.
34435 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34436 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34438 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34439 Specify type. Require positive value.
34440 (EILSEQ): Likewise.
34441 (ERANGE): Likewise.
34442 [ISO || POSIX] (EILSEQ): Do not expect.
34443 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34444 Specify type. Require positive value.
34445 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34446 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34448 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34450 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34451 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34452 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34453 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34454 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34455 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34456 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34457 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34458 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34459 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34460 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34461 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34462 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34463 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34464 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34465 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34466 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34467 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34468 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34469 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34470 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34471 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34472 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34473 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34474 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34475 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34476 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34477 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34478 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34479 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34480 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34481 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34482 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34483 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34484 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34485 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34486 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34487 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34488 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34489 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34490 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34491 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34492 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34493 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34494 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34495 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34496 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34497 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34498 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34499 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34500 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34501 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34502 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34503 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34504 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34505 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34506 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34507 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34508 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34509 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34510 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34511 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34512 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34513 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34514 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34515 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34516 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34517 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34518 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34519 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34520 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34521 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34522 Require >= 2.
34523 (FLT_ROUNDS): Expect as macro, not constant.
34524 (FLT_MANT_DIG): Use macro-int-constant.
34525 (DBL_MANT_DIG): Likewise.
34526 (LDBL_MANT_DIG): Likewise.
34527 (FLT_DIG): Likewise.
34528 (DBL_DIG): Likewise.
34529 (LDBL_DIG): Likewise.
34530 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34531 (DBL_MIN_EXP): Likewise.
34532 (LDBL_MIN_EXP): Likewise.
34533 (FLT_MAX_EXP): Use macro-int-constant.
34534 (DBL_MAX_EXP): Likewise.
34535 (LDBL_MAX_EXP): Likewise.
34536 (FLT_MAX_10_EXP): Likewise.
34537 (DBL_MAX_10_EXP): Likewise.
34538 (LDBL_MAX_10_EXP): Likewise.
34539 (FLT_MAX): Use macro-constant.
34540 (DBL_MAX): Likewise.
34541 (LDBL_MAX): Likewise.
34542 (FLT_EPSILON): Use macro-constant. Give upper bound.
34543 (DBL_EPSILON): Likewise.
34544 (LDBL_EPSILON): Likewise.
34545 (FLT_MIN): Likewise.
34546 (DBL_MIN): Likewise.
34547 (LDBL_MIN): Likewise.
34548 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34549 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34550 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34551 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34552 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34553 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34554 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34555 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34556 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34557 [ISO11] (FLT_TRUE_MIN): Likewise.
34558 [ISO11] (LDBL_TRUE_MIN): Likewise.
34559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34560 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34561 (SCHAR_MIN): Use macro-int-constant. Specify type.
34562 (SCHAR_MAX): Likewise.
34563 (UCHAR_MAX): Likewise.
34564 (CHAR_MIN): Likewise.
34565 (CHAR_MAX): Likewise.
34566 (MB_LEN_MAX): Use macro-int-constant.
34567 (SHRT_MIN): Use macro-int-constant. Specify type.
34568 (SHRT_MAX): Likewise.
34569 (USHRT_MAX): Likewise.
34570 (INT_MAX): Likewise.
34571 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34572 bound negative.
34573 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34574 bound with "U".
34575 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34576 bound with "L".
34577 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34578 bound negative. Suffix upper bound with "L".
34579 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34580 bound with "UL".
34581 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34582 Specify type.
34583 [C99-based standards] (LLONG_MAX): Likewise.
34584 [C99-based standards] (ULLONG_MAX): Likewise.
34585 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34586 == 0.
34587 [ISO11] (max_align_t): Require type.
34588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34589
c9140a62
JM
34590 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34591 from $CFLAGS, without defining away __attribute__ calls.
34592 (checknamespace): Use $CFLAGS_namespace.
34593
9af0bf29
JM
34594 * conform/conformtest.pl (@keywords): Only include C99 keywords
34595 for standards based on C99 or C11.
34596
343222a2
JM
34597 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34598 Disable tests.
34599 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34600 UNIX98]: Likewise.
34601
661f8cf0
JM
34602 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34603 usability of symbols in #if.
34604
ee74b9cb
JM
34605 * conform/conformtest.pl: If macro or constant types start
34606 "promoted:", expect the symbol to be of the following type
34607 promoted by the integer promotions.
62fde54f 34608
aafc49b3
JM
34609 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34610 in one place. Also handle "macro-constant".
34611
fefdf574
JM
34612 * conform/conformtest.pl: Only accept expected macro values with
34613 "==". Parse all "macro" lines in one place.
34614 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34615
f2d922fe
JM
34616 * conform/conformtest.pl: Handle braced types on "constant" lines
34617 instead of handling "typed-constant".
34618 * conform/data/signal.h-data: Use "constant" instead of
34619 "typed-constant".
34620
d22956c9
JM
34621 * conform/conformtest.pl: Handle "optional-" at start of lines in
34622 one place rather than duplicating several cases. Handle each
34623 format of "macro" line with initial "optional-".
34624
028e2e38
JM
34625 * conform/conformtest.pl: Only accept expected constant or
34626 optional-constant values with "==". Parse all "constant" lines in
34627 one place. Parse all "optional-constant" lines in one place.
34628 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34629 * conform/data/fmtmsg.h-data: Likewise.
34630 * conform/data/netinet/in.h-data: Likewise.
34631 * conform/data/tar.h-data: Likewise.
34632 * conform/data/limits.h-data: Use "==" form on "constant" and
34633 "optional-constant" lines.
34634
1b8f2850
JM
34635 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34636 Use -std=c99 for XOPEN2K.
34637 (@knownproblems): Remove.
34638 (newtoken): Don't check %isknown.
34639
a05a144b
JM
34640 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34641 Do not expect macro.
34642 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34643 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34644 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34645 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34646 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34647 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34648 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34649 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34650 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34651 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34652 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34653 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34654 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34655 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34656 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34657 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34658 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34659 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34660 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34661 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34663 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34664 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34665 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34666 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34667 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34668 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34669 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34670 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34672 [XPG3] (acosh): Likewise.
34673 [XPG3] (asinh): Likewise.
34674 [XPG3] (atanh): Likewise.
34675 [XPG3] (cbrt): Likewise.
34676 [XPG3] (expm1): Likewise.
34677 [XPG3] (ilogb): Likewise.
34678 [XPG3] (log1p): Likewise.
34679 [XPG3] (logb): Likewise.
34680 [XPG3] (nextafter): Likewise.
34681 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34682 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34683 [XPG3] (remainder): Likewise.
34684 [XPG3] (rint): Likewise.
34685 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34686 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34689 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34690 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34692 [UNIX98 || XOPEN2K] (scalb): Expect.
34693 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34694 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34697 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34698 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34699 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34700 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34701 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34702 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34704 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34705 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34707 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34708 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34709 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34710 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34711 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34712 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34713 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34714 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34715 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34716 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34717 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34718 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34719 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34720 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34721 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34722 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34723 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34726 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34727 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34728 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34729 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34763 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34807 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34808 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34809 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34810 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34811 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34812 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34813 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34828 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34829 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34830
73c5ebe3
JM
34831 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34832 _XOPEN_SOURCE_EXTENDED for XPG4.
34833
39c33b6c
JM
34834 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34835
62fde54f
JM
34836 * Makeconfig (localtime): Remove variable.
34837 (inst_localtime-file): Likewise.
34838
0741d64c
AS
348392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34840
34841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34842 Update.
34843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34844 Update.
34845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34846 Update.
34847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34848 Update.
34849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34850 Update.
34851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34852 Update.
34853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34854 Update.
34855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34856 Update.
34857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34858 Update.
34859
7cb029ee
JM
348602012-05-01 Joseph Myers <joseph@codesourcery.com>
34861
34862 [BZ #2550]
34863 [BZ #2570]
34864 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34865 comparisons to determine direction to adjust input.
34866 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34867 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34869 Likewise.
34870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34871 Likewise.
34872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34873 Likewise.
34874 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34875 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34876 Likewise.
34877 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34878 Likewise.
34879 * math/libm-test.inc (nexttoward_test): Add more tests.
34880
412bd966
AS
348812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34882
34883 [BZ #14040]
34884 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34885 in version GLIBC_2.1, not GLIBC_2.0.
34886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34887 Likewise.
34888
9568c0c2
JM
348892012-04-30 Joseph Myers <joseph@codesourcery.com>
34890
adfbc8ac
JM
34891 [BZ #13942]
34892 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34893 (1 - x) * (1 + x).
34894 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34895 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34896 * math/libm-test.inc (acos_test): Add more tests.
34897 (asin_test): Likewise.
34898 * sysdeps/i386/fpu/libm-test-ulps: Update.
34899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34900
5ba3cc69
JM
34901 [BZ #14034]
34902 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34903 of square root.
34904 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34905 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34906 * math/libm-test.inc (acos_test_tonearest): New function.
34907 (acos_test_towardzero): Likewise.
34908 (acos_test_downward): Likewise.
34909 (acos_test_upward): Likewise.
34910 (asin_test_tonearest): Likewise.
34911 (asin_test_towardzero): Likewise.
34912 (asin_test_downward): Likewise.
34913 (asin_test_upward): Likewise.
34914 (main): Call the new functions.
34915 * sysdeps/i386/fpu/libm-test-ulps: Update.
34916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34917
9568c0c2
JM
34918 [BZ #13884]
34919 [BZ #13924]
34920 * math/e_exp10.c: Include <float.h>.
34921 (__ieee754_exp10): Handle underflow here rather than multiplying
34922 large negative argument by M_LN10.
34923 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34924 of __ieee754_expf.
34925 * math/e_exp10l.c: Include <float.h>.
34926 (__ieee754_exp10l): Handle underflow here rather than multiplying
34927 large negative argument by M_LN10l.
34928 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34929 spurious overflow exception on underflow.
34930
5ac3ea17
MP
349312012-04-29 Marek Polacek <polacek@redhat.com>
34932
34933 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34934 (__fortify_function): New macro.
34935 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34936 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34937 __extern_always_inline.
34938 * libio/bits/stdio2.h: Likewise.
34939 * libio/bits/stdio.h: Likewise.
34940 * string/string.h: Likewise.
34941 * string/bits/string3.h: Likewise.
34942 * include/stdio.h: Likewise.
34943 * stdlib/bits/stdlib.h: Likewise.
34944 * stdlib/stdlib.h: Likewise.
34945 * rt/bits/mqueue2.h: Likewise.
34946 * rt/mqueue.h: Likewise.
34947 * posix/bits/unistd.h: Likewise.
34948 * posix/unistd.h: Likewise.
34949 * io/bits/poll2.h: Likewise.
34950 * io/bits/fcntl2.h: Likewise.
34951 * io/fcntl.h: Likewise.
34952 * io/sys/poll.h: Likewise.
34953 * misc/bits/syslog.h: Likewise.
34954 * misc/bits/syslog-ldbl.h: Likewise.
34955 * misc/sys/syslog.h: Likewise.
34956 * socket/bits/socket2.h: Likewise.
34957 * socket/sys/socket.h: Likewise.
34958 * debug/tst-chk1.c: Likewise.
34959 * wcsmbs/bits/wchar2.h: Likewise.
34960 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34961 * wcsmbs/wchar.h: Likewise.
34962
ecf0ebfb
AJ
349632012-04-29 Andreas Jaeger <aj@suse.de>
34964
34965 * Makerules (tests): Remove enable-check-abi protection.
34966 (check-abi-warn): Remove.
34967 (check-abi-%): Remove check-abi-warn usage.
34968
34969 * configure.in: Remove check-abi configure option.
34970 * configure: Regenerated.
34971 * config.make.in (enable-check-abi): Remove.
34972
6d5c57fa
AS
349732012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34974
24c5d07e 34975 [BZ #14033]
ded5180a
AS
34976 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34977 double functions to double *_finite functions.
34978
7e0d315d
AS
34979 [BZ #13941]
34980 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34981 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34982 LDBL_MIN_EXP.
34983 * stdio-common/Makefile (tests): Add tst-sprintf3.
34984 * stdio-common/tst-sprintf3.c: New file.
34985
6d5c57fa
AS
34986 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34987 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34988
0749ff8b
JM
349892012-04-28 Joseph Myers <joseph@codesourcery.com>
34990
34991 * conform/conformtest.pl: Remove duplicate typed-constant
34992 handling.
34993
8dbd5d7b
DM
349942012-04-28 David S. Miller <davem@davemloft.net>
34995
34996 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34997 (check-abi-%): Remove AWK script prerequisite and explicit
34998 abilist directory.
34999 (check-abi): Rewrite to just diff the symlist with the abilist.
35000 (config-tls, config-abi-config): Delete, no longer used.
35001 (update-abi-%): Remove AWK script and explicit abilist directory.
35002 (update-abi): Rewrite to simply compare and conditionally copy the
35003 symlist and the sysdep abilist file. Remove update-abi-config
35004 checks.
35005 * abilist/ld.abilist: Remove.
35006 * abilist/libBrokenLocale.abilist: Remove.
35007 * abilist/libanl.abilist: Remove.
35008 * abilist/libcrypt.abilist: Remove.
35009 * abilist/libdl.abilist: Remove.
35010 * abilist/librt.abilist: Remove.
35011 * abilist/libthread_db.abilist: Remove.
35012 * abilist/libutil.abilist: Remove.
35013 * scripts/extract-abilist.awk: Remove.
35014 * scripts/merge-abilist.awk: Remove.
35015 * sysdeps/generic/libcidn.abilist: New file.
35016 * sysdeps/generic/libnss_compat.abilist: New file.
35017 * sysdeps/generic/libnss_db.abilist: New file.
35018 * sysdeps/generic/libnss_dns.abilist: New file.
35019 * sysdeps/generic/libnss_files.abilist: New file.
35020 * sysdeps/generic/libnss_hesiod.abilist: New file.
35021 * sysdeps/generic/libnss_nis.abilist: New file.
35022 * sysdeps/generic/libnss_nisplus.abilist: New file.
35023 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35024 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35025 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35026 file.
35027 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35028 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35029 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35030 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35031 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35032 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35033 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35034 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35035 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35036 file.
35037 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35038 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35039 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35040 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35041 file.
35042 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35043 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35044 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35045 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35046 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35047 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35048 file.
35049 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35050 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35051 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35052 file.
35053 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35055 New file.
35056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35057 New file.
35058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35059 New file.
35060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35061 New file.
35062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35063 New file.
35064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35065 New file.
35066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35067 New file.
35068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35069 New file.
35070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35071 New file.
35072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35073 New file.
35074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35075 New file.
35076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35077 New file.
35078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35079 New file.
35080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35081 file.
35082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35083 New file.
35084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35085 New file.
35086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35087 file.
35088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35089 New file.
35090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35091 New file.
35092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35093 file.
35094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35095 New file.
35096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35097 New file.
35098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35099 New file.
35100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35101 New file.
35102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35103 New file.
35104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35105 New file.
35106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35108 file.
35109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35110 New file.
35111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35112 file.
35113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35114 file.
35115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35116 file.
35117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35118 file.
35119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35120 file.
35121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35122 New file.
35123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35124 file.
35125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35126 file.
35127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35128 New file.
35129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35130 file.
35131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35133 file.
35134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35135 New file.
35136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35137 file.
35138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35139 file.
35140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35141 file.
35142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35143 file.
35144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35145 file.
35146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35147 New file.
35148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35149 file.
35150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35151 file.
35152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35153 New file.
35154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35155 file.
35156 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35157 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35158 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35159 file.
35160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35161 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35162 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35163 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35164 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35165 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35166 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35167 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35168 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35169 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35172 file.
35173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35174 New file.
35175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35176 file.
35177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35178 file.
35179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35180 file.
35181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35182 file.
35183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35184 file.
35185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35186 New file.
35187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35188 New file.
35189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35190 file.
35191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35192 New file.
35193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35194 file.
35195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35197 file.
35198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35199 New file.
35200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35201 file.
35202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35203 file.
35204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35205 file.
35206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35207 file.
35208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35209 file.
35210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35211 New file.
35212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35213 New file.
35214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35215 file.
35216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35217 New file.
35218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35219 file.
35220
41d73a1b
JM
352212012-04-28 Joseph Myers <joseph@codesourcery.com>
35222
35223 * conform/conformtest.pl: Fix typo in handling typed-constant from
35224 allow-header.
35225
28aeeda4
JM
352262012-04-27 Joseph Myers <joseph@codesourcery.com>
35227
adae8f5e
JM
35228 * README: Cut down references to pre-2.6 Linux kernels and
35229 Linuxthreads. Update lists of configurations in libc and ports
35230 and sort alphabetically. Say "or newer" with Linux kernel version
35231 requirements.
35232
28aeeda4
JM
35233 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35234
a462cb63
RA
352352012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35236
35237 [BZ #887]
35238 * math/libm-test.inc (logb_test_downward): New test to expose
35239 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35240 rounding mode.
35241
6ad3493e
JM
352422012-04-27 Joseph Myers <joseph@codesourcery.com>
35243
35244 [BZ #14027]
35245 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35246 to be done.
35247 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35248 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35249
2ce4f015
JM
352502012-04-26 Joseph Myers <joseph@codesourcery.com>
35251
5aeb141a
JM
35252 * sysdeps/unix/i386/brk.S: Remove file.
35253 * sysdeps/unix/i386/dl-brk.S: Likewise.
35254 * sysdeps/unix/i386/pipe.S: Likewise.
35255 * sysdeps/unix/i386/sigreturn.S: Likewise.
35256 * sysdeps/unix/i386/syscall.S: Likewise.
35257 * sysdeps/unix/i386/vfork.S: Likewise.
35258 * sysdeps/unix/i386/wait.S: Likewise.
35259
7143acae
JM
35260 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35261 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35262
2ce4f015
JM
35263 * configure.in (arm*-none*): Do not allow without
35264 --enable-hacker-mode.
35265 (netbsd*): Remove case setting base_os.
35266 (386bsd*): Likewise.
35267 (freebsd*): Likewise.
35268 (bsdi*): Likewise.
35269 (osf*): Likewise.
35270 (sunos*): Likewise.
35271 (ultrix*): Likewise.
35272 (newsos*): Likewise.
35273 (dynix*): Likewise.
35274 (*bsd*): Likewise.
35275 (sysv*): Likewise.
35276 (isc*): Likewise.
35277 (esix*): Likewise.
35278 (sco*): Likewise.
35279 (minix*): Likewise.
35280 (irix4*): Likewise.
35281 (irix6*): Likewise.
35282 (solaris[2-9]*): Likewise.
35283 (none): Likewise.
35284 * configure: Regenerated.
35285
0ac229c8
AZ
352862012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35287
35288 [BZ #11521]
35289 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35290 overflow or cancellation in calculating denominator.
35291 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35292 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35293 down expression to avoid unexpected rounding in newer GCCs.
35294 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35295
33f244f4
DM
352962012-04-26 David S. Miller <davem@davemloft.net>
35297
35298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35299 long-double compat symbols.
35300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35313
cfa1f3e8
DM
353142012-04-25 David S. Miller <davem@davemloft.net>
35315
35316 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35317 HWCAP_* values only after the memory barriers have been defined.
35318 (atomic_full_barrier): Define.
35319 (atomic_read_barrier): Define.
35320 (atomic_write_barrier): Define.
35321
6e236b92
SP
353222012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35323
35324 * shlib-versions: Add libgcc_s version information.
35325 * sysdeps/generic/libgcc_s.h: Remove.
35326 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35327 libgcc_s.h.
35328 * sysdeps/gnu/unwind-resume.c: Likewise.
35329 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35330
aab39a09
DM
353312012-04-25 David S. Miller <davem@davemloft.net>
35332
35333 * sysdeps/unix/sparc/brk.S: Delete.
35334 * sysdeps/unix/sparc/dl-brk.S: Delete.
35335 * sysdeps/unix/sparc/pipe.S: Delete.
35336 * sysdeps/unix/sparc/sysdep.S: Delete.
35337 * sysdeps/unix/sparc/sysdep.h: Delete.
35338 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
35339 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35340 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35341 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35342 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
35343 (JUMPTARGET): Remove.
35344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35345 sysdeps/unix/sparc/sysdep.h
35346 (ENTRY, END): Remove.
35347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35348
a3cc4f48
JM
353492012-04-25 Joseph Myers <joseph@codesourcery.com>
35350
2ed8cda2
JM
35351 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35352 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35353 -DIS_IN_build.
35354
35d76d59
JM
35355 * timezone/README: Update upstream location and email address for
35356 tzcode and tzdata.
35357 * timezone/zdump.c: Update from tzcode 2012b.
35358 * timezone/zic.c: Likewise.
35359
a3cc4f48
JM
35360 * configure.in (libc_cv_as_needed): Remove test.
35361 * configure: Regenerated.
35362 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35363 conditional definition.
35364 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35365 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35366 * config.make.in (have-as-needed): Remove variable.
35367
ceab42c3
SP
353682012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35369 Paul Pluzhnikov <ppluzhnikov@google.com>
35370
35371 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35372 strings correctly.
35373
3ce2865f
CLT
353742012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35375
35376 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35377 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35378 * sysdeps/sh/strlen.S: Likewise.
35379
f37e0d68
JM
353802012-04-24 Joseph Myers <joseph@codesourcery.com>
35381
ae186e9a
JM
35382 * sysdeps/unix/fork.S: Remove file.
35383 * sysdeps/unix/i386/fork.S: Likewise.
35384 * sysdeps/unix/sparc/fork.S: Likewise.
35385
b96914af
JM
35386 * sysdeps/unix/system.c: Remove file.
35387 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35388
f37e0d68
JM
35389 * sysdeps/unix/getegid.S: Remove file.
35390 * sysdeps/unix/geteuid.S: Likewise.
35391
87ef29ca
RM
353922012-04-24 Roland McGrath <roland@hack.frob.com>
35393
83bcd236
RM
35394 * scripts/check-localplt.awk: New file.
35395 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35396 of diff.
35397 * scripts/data/localplt-generic.data: Add a comment.
35398
87ef29ca
RM
35399 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35400 NODE when __dir_mkfile failed.
35401 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35402 Reported by Ludovic Courtès <ludo@gnu.org>.
35403
e5a6e567
AJ
354042012-04-24 Andreas Jaeger <aj@suse.de>
35405
35406 * Makerules (common-clean): Also remove gen-as-const-headers
35407 files.
35408
c1820385
JM
354092012-04-24 Joseph Myers <joseph@codesourcery.com>
35410
35411 * Makerules (native-compile): Do not change working directory for
35412 build. Use $(OUTPUT_OPTION) in command.
35413 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35414
94e02fc4
AZ
354152012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35416
35417 [BZ #13886]
35418 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35419 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35420 * math/libm-test.inc (floor_test): Add more tests.
35421 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35422
3a533ca3
JM
354232012-04-24 Joseph Myers <joseph@codesourcery.com>
35424
940ab4b3
JM
35425 * sysdeps/unix/getdents.c: Remove file.
35426 * sysdeps/unix/sysv/getdents.c: Likewise.
35427 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35428
90e037bd
JM
35429 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35430 sysdeps/unix/mman/syscalls.list.
35431 (mmap): Likewise.
35432 (mprotect): Likewise.
35433 (msync): Likewise.
35434 (munmap): Likewise.
35435 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35436 * sysdeps/unix/mman/syscalls.list: Remove.
35437 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35438
3a533ca3
JM
35439 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35440 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35441 * configure: Regenerated.
35442 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35443 $(libgcc_s_suffix).
35444 * config.make.in (libgcc_s_suffix): Remove variable.
35445
1ad743de
JM
354462012-04-23 Joseph Myers <joseph@codesourcery.com>
35447
4ad451e2
JM
35448 * sysdeps/unix/sysv/gethostname.c: Move to ...
35449 * sysdeps/posix/gethostname.c: ... here.
35450
5e37ce39
JM
35451 * sysdeps/unix/execve.S: Remove file.
35452
1ad743de
JM
35453 * sysdeps/unix/_exit.S: Remove file.
35454
4e681b5b
AJ
354552012-04-23 Andreas Jaeger <aj@suse.de>
35456
35457 [BZ #13739]
35458 * manual/Makefile: Remove make dist support, there's no
35459 need for a stand-alone documentation tar ball.
35460 (TEXI2DVI): Define always, it's not in Makeconfig.
35461 (dist): Removed.
35462 (tar-it): Removed.
35463 (edition): Removed.
35464 (glibc-doc-$(edition).tar): Removed
35465 (%.Z): Removed.
35466 (%.gz): Removed.
35467 (%.uu): Removed.
35468 (ETAGS): Remove, it's in Makeconfig.
35469 (move-if-change): Remove, it's in Makeconfig.
35470
38686a03 354712012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
35472
35473 [BZ #13970]
35474 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35475 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35476 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35477 (strtod_l, strtof_l, strtold_l): Remove __wur.
35478 It is not necessarily an error to ignore strtol's return value.
35479 One can reliably look at the stored endptr to decide whether
35480 the number had valid syntax.
35481
7c0616fa
AJ
354822012-04-21 Andreas Jaeger <aj@suse.de>
35483
803cb6b7 35484 [BZ #13739]
7c0616fa
AJ
35485 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35486
b0fe253f
JM
354872012-04-21 Joseph Myers <joseph@codesourcery.com>
35488
35489 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35490 * sysdeps/unix/sysv/Versions: Remove file.
35491
8280f22d
MT
354922012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35493
35494 [BZ #13927]
35495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35496
75ce411f 354972012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
35498
35499 [BZ #7064]
35500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35501 version from __vm86.
35502
097d59fa
JM
355032012-04-20 Joseph Myers <joseph@codesourcery.com>
35504
a90f3bcb
JM
35505 * sysdeps/unix/common/lxstat.c: Remove file.
35506 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35507
edc7ea78
JM
35508 * sysdeps/unix/sysv/Makefile: Remove file.
35509
cb78c221
JM
35510 * sysdeps/unix/sysv/direct.h: Remove file.
35511
efa6a45f
JM
35512 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35513 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35514 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35515 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35516 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35517 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35518 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35519
9c9f2d0c
JM
35520 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35521
4541c83b
JM
35522 * sysdeps/unix/xmknod.c: Remove file.
35523 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35524
f5d153a0
JM
35525 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35526
aa746595
JM
35527 * sysdeps/unix/sysv/i386/time.S: Remove file.
35528
cce5905e
JM
35529 * sysdeps/unix/fxstat.c: Remove file.
35530 * sysdeps/unix/xstat.c: Likewise.
35531 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35532
37fa3841
JM
35533 * sysdeps/unix/sysv/sigaction.c: Remove file.
35534
ff1962a3
JM
35535 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35536 (sysdep_headers): Remove variable.
35537 [termio.h not in sysdep_headers] (generated): Likewise.
35538 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35539 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35540 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35541 * sysdeps/unix/sysv/tcflow.c: Likewise.
35542 * sysdeps/unix/sysv/tcflush.c: Likewise.
35543 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35544 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35545 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35546 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35547 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35548
e7740d31
JM
35549 * sysdeps/unix/siglist.c: Remove file.
35550
ee06f18b
JM
35551 * sysdeps/unix/getppid.S: Remove file.
35552
097d59fa
JM
35553 * sysdeps/unix/mkdir.c: Remove file.
35554 * sysdeps/unix/rmdir.c: Likewise.
35555
ff3d51ec
AS
355562012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35557
35558 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35559 ERR_MAX value.
35560 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35561 errlist-compat value.
35562
50f81fd7
DM
355632012-04-18 David S. Miller <davem@davemloft.net>
35564
35565 * sysdeps/generic/memcopy.h (reg_char): Delete.
35566 * debug/strcat_chk.c: Use char, not reg_char.
35567 * debug/strcpy_chk.c: Likewise.
35568 * debug/strncat_chk.c: Likewise.
35569 * debug/strncpy_chk.c: Likewise.
35570 * string/memchr.c: Likewise.
35571 * string/memrchr.c: Likewise.
35572 * string/rawmemchr.c: Likewise.
35573 * string/strcat.c: Likewise.
35574 * string/strchr.c: Likewise.
35575 * string/strchrnul.c: Likewise.
35576 * string/strcmp.c: Likewise.
35577 * string/strcpy.c: Likewise.
35578 * string/strncat.c: Likewise.
35579 * string/strncmp.c: Likewise.
35580 * string/strncpy.c: Likewise.
35581
8ff41c46
WS
355822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35583
35584 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35585 __builtin_memcopy is called when src and dest ranges are known to not
35586 overlap.
35587
6b652f46
WS
355882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35589
35590 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35591 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35592 fwd_align_merge macro call.
35593 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35594 bwd_align_merge macro call.
35595 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35596
b282631e
WS
355972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35598
35599 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35600 bwd_align_merge macros.
35601 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35602 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35603 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35604
95aa737c
DM
356052012-04-18 David S. Miller <davem@davemloft.net>
35606
35607 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35608
7a99a614
AJ
356092012-04-18 Andreas Jaeger <aj@suse.de>
35610
35611 [BZ# 6794]
35612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35613 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35614 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35615
35616 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35617 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35618 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35619
35620 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35621 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35622 Adjust for changed ldbl-128 files.
35623
35624 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35625 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35626 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35627
e5270c23
DM
356282012-04-17 David S. Miller <davem@davemloft.net>
35629
35630 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35631
fb5e92c9
AS
356322012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35633
35634 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35635 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35636 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35637 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35638 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35639 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35640
76da7265
AZ
356412012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35642
35643 [BZ #6794]
35644 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35645 * math/libm-test.inc: Add ilogb errno and exception tests.
35646 * math/w_ilogb.c: New file: ilogb wrapper.
35647 * math/w_ilogbf.c: New file: ilogbf wrapper.
35648 * math/w_ilogbl.c: New file: ilogbl wrapper.
35649 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35650 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35651 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35652 exception being thrown with 0.0 as argument.
35653 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35654 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35655 exception being thrown with 0.0 as argument.
35656 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35657 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35658 exception being thrown with 0.0 as argument.
35659 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35660 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35661 exception being thrown with 0.0 as argument.
35662 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35663 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 35664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
35665 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35666 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35667 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35668 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35669 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35670 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35671
0396e69d
PB
356722012-04-17 Petr Baudis <pasky@ucw.cz>
35673
35674 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35675 with altivec.
35676
750b5926
MP
356772012-04-16 Marek Polacek <polacek@redhat.com>
35678
35679 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35680
751728a1
MP
356812012-04-16 Marek Polacek <polacek@redhat.com>
35682
35683 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35684 operands of fdivp instruction.
35685
34a27407
L
356862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35687
35688 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35689 * elf/tst-auditmod3b.c: Likewise.
35690 * elf/tst-auditmod4b.c: Likewise.
35691 * elf/tst-auditmod5b.c: Likewise.
35692 * elf/tst-auditmod6b.c: Likewise.
35693 * elf/tst-auditmod6c.c: Likewise.
35694 * elf/tst-auditmod7b.c: Likewise.
35695 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35696 * sysdeps/x86_64/preconfigure.in: Likewise.
35697 * sysdeps/x86_64/preconfigure: Regenerated.
35698
7e73e17d
L
356992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35700
35701 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35702 __ILP32__.
35703
c7a6ab72
AB
357042012-04-13 Antoine Balestrat <merkil33@gmail.com>
35705
35706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35707 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35708
a9e8e0e0
CL
357092012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35710
35711 [BZ #13973]
35712 * locale/iso-639.def: Fix gl language name. Spotted by
35713 Yaron Shahrabani.
35714
ec98af7d
RM
357152012-04-12 Roland McGrath <roland@hack.frob.com>
35716
35717 [BZ #2074]
35718 * libio/libio.h (__io_write_fn): Update comment.
35719
247c3ede
PB
357202012-04-12 Petr Baudis <pasky@ucw.cz>
35721
35722 [BZ #2074]
35723 * stdio.texi (Hook Functions): The user provided writer function
35724 is not allowed to return -1.
35725
55939d6d
DM
357262012-04-11 David S. Miller <davem@davemloft.net>
35727
35728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35729
90020f5a
MF
357302012-04-11 Mike Frysinger <vapier@gentoo.org>
35731
35732 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35733 Add a leading slash to rtkaio.
35734
288f9098
JM
357352012-04-11 Jim Meyering <meyering@redhat.com>
35736
90020f5a
MF
35737 [BZ #11959]
35738 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35739 It is not necessarily an error to ignore fwrite's return
35740 value. One can reliably use ferror to test for errors after
35741 the fact.
288f9098 35742
4be2b570
L
357432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35744
35745 * bits/types.h (__snseconds_t): New type.
35746 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35747
35748 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35750 (__SNSECONDS_T_TYPE): Likewise.
35751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35752 (__SNSECONDS_T_TYPE): Likewise.
35753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35754 (__SNSECONDS_T_TYPE): Likewise.
35755
288f9098 357562012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
35757
35758 [BZ #2636]
35759 * manual/time.texi (Processor Time): Return type of times is
35760 elapsed real time since an arbitrary point in the past.
35761 (CPU Time): Move CLK_TCK from here...
35762 (Processor Time): ...to here. Correct description.
35763 * manual/conf.texi (Constants for Sysconf): Correct description of
35764 _SC_CLK_TCK.
35765
d7dd4413
DM
357662012-04-10 David S. Miller <davem@davemloft.net>
35767
35768 [BZ #13967]
35769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35770 where the is a gap between DT_REL(A) and DT_JMPREL.
35771
b46068fc
L
357722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35773
35774 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35775 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35776 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35777
73d65cc3
SP
357782012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35779
35780 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35781 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35782 (dl_main): Handle --inhibit-cache.
35783 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35784 _dl_inhibit_cache.
35785 * elf/dl-load.c (_dl_map_object): Use it.
35786 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35787
bcc8d661
JM
357882012-04-09 Joseph Myers <joseph@codesourcery.com>
35789
8f9a2fae
JM
35790 [BZ #13872]
35791 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35792 (__ieee754_powl): Saturate large exponents rather than testing for
35793 overflow of y*log2(x).
35794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35795 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35796 exceptions.
35797
bcc8d661
JM
35798 [BZ #11521]
35799 * math/s_ctan.c: Include <float.h>.
35800 (__ctan): Avoid internal overflow or cancellation in calculating
35801 denominator.
35802 * math/s_ctanf.c: Likewise.
35803 * math/s_ctanl.c: Likewise.
35804 * math/s_ctanh.c: Likewise.
35805 * math/s_ctanhf.c: Likewise.
35806 * math/s_ctanhl.c: Likewise.
35807 * math/libm-test.inc (ctan_test): Add more tests.
35808 (ctanh_test): Likewise.
35809 * sysdeps/i386/fpu/libm-test-ulps: Update.
35810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35811
823fbbb4
AJ
358122012-04-09 Andreas Jaeger <aj@suse.de>
35813
03879793
AJ
35814 [BZ #6894]
35815 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35816 is an optional BSD extension.
35817
823fbbb4
AJ
35818 [BZ #10254]
35819 * manual/stdio.texi (Opening Streams): Document additional fopen
35820 parameters.
35821
8de131cb
RM
358222012-04-09 Roland McGrath <roland@hack.frob.com>
35823
35824 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35825 %eax without telling the compiler.
35826
c0ed9d7d
CD
358272012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35828
35829 [BZ # 13963]
35830 * manual/install.texi: Use sourceware.org.
35831
c483f6b4
JM
358322012-04-09 Joseph Myers <joseph@codesourcery.com>
35833
d7dd9453
JM
35834 [BZ #13873]
35835 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35836 (__ieee754_pow): Generate overflow and underflow using huge*huge
35837 and tiny*tiny rather than just returning constant infinity or zero
35838 for large exponents.
35839 * math/libm-test.inc (pow_test): Require overflow exceptions for
35840 applicable cases of large exponents.
35841
c483f6b4
JM
35842 [BZ #706]
35843 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35844 (__ieee754_pow): Use iterative multiplication algorithm only for
35845 integer exponents with absolute value below 1024. Check for odd
35846 integer exponents when using algorithm for real exponents.
35847 * math/libm-test.inc (pow_test): Add more tests.
35848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35849
d2de7579
JM
358502012-04-08 Joseph Myers <joseph@codesourcery.com>
35851
35852 [BZ #13705]
35853 * math/libm-test.inc (exp_test): Do not allow overflow exception
35854 on underflow test.
35855
f77f1232
AJ
358562012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35857
35858 [BZ #13705]
35859 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35860 instead of __kernel_standard_f.
35861
3884932b
MF
358622012-04-08 Mike Frysinger <vapier@gentoo.org>
35863
35864 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35865 * sysdeps/x86_64/memset_chk.S: Likewise.
35866
54472e9c
AJ
358672012-04-08 Andreas Jaeger <aj@suse.de>
35868
6ab0fbfc
AJ
35869 [BZ #10153]
35870 * manual/startup.texi (Environment Access): Describe return value
35871 for putenv and setenv.
35872
61efba8c
AJ
35873 [BZ #6895]
35874 * manual/filesys.texi (Directory Entries): Add description for
35875 DT_LNK.
35876
95c3f29a
AJ
35877 [BZ #6890]
35878 * manual/filesys.texi (Directory Entries): Clarify that it's file
35879 system not operating system in the description of DT_UNKNOWN.
35880
54472e9c
AJ
35881 [BZ #6578]
35882 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35883
624254b1
SC
358842012-04-08 Stephen Compall <s11@member.fsf.org>
35885
35886 [BZ #6649]
35887 * manual/llio.texi (Opening and Closing Files): Add cross
35888 reference to explain mode argument.
35889
1e4920e0
MF
358902012-04-07 Mike Frysinger <vapier@gentoo.org>
35891
35892 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35893 * sysdeps/x86_64/memset_chk.S: Likewise.
35894
5ed848f3
DM
358952012-04-07 David S. Miller <davem@davemloft.net>
35896
35897 * elf/elf.h (R_SPARC_WDISP10): Define.
35898 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35899 R_SPARC_SIZE32.
35900 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35901 R_SPARC_SIZE64 and R_SPARC_H34.
35902
96154cd8
CD
359032012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35904
35905 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35906 conditions and remove no longer applicable assertion.
35907
9904dc47
L
359082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35909
35910 * bits/byteswap.h: Include <features.h>.
35911 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35912 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35913
f8887d0a
L
359142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35915
35916 * bits/byteswap.h (__bswap_16): Removed.
35917 Include <bits/byteswap-16.h> to get __bswap_16.
35918 * sysdeps/i386/bits/byteswap.h: Likewise.
35919 * sysdeps/s390/bits/byteswap.h: Likewise.
35920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35921 * bits/byteswap-16.h: New file.
35922 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35923 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35924 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35925 * string/Makefile (headers): Add bits/byteswap-16.h.
35926
62470f60
PP
359272012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35928
35929 [BZ #13895]
35930 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35931 extra indirection.
35932 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35933 * nss/tst-nss-static.c: New.
35934
4dad7bab
RM
359352012-04-06 Robert Millan <rmh@gnu.org>
35936
35937 [BZ #6486]
35938 * manual/llio.texi (File Position Primitive): lseek
35939 refers to WHENCE when it really means OFFSET.
35940
e9142a17
AJ
359412012-04-06 Andreas Jaeger <aj@suse.de>
35942
2c040eff
AJ
35943 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35944 strncmp declarations.
35945
e9142a17
AJ
35946 * abilist/libc.abilist: Add __poll and __ppoll.
35947
ff9f1c5f
DM
359482012-04-05 David S. Miller <davem@davemloft.net>
35949
dcd2ae90
DM
35950 * scripts/check-local-headers.sh: Accept a host triplet in the
35951 path matched by the exclude regexp.
35952
993eb054
DM
35953 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35954 definition.
35955 * sysdeps/powerpc/powerpc32/dl-machine.h
35956 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35957 * sysdeps/s390/s390-32/dl-machine.h
35958 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35959 * sysdeps/sparc/sparc32/dl-machine.h
35960 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35961 * sysdeps/sparc/sparc64/dl-machine.h
35962 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35963
ff9f1c5f
DM
35964 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35965 lazy binding.
48e2e132 35966 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
35967 undefined symbol errors.
35968
48e2e132 35969 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
35970 DT_NEEDED entries.
35971
e80d6f94
MM
359722012-04-05 Michael Matz <matz@suse.de>
35973
35974 [BZ #13592]
35975 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35976
349fa79f
AJ
359772012-04-05 Andreas Jaeger <aj@suse.de>
35978
35979 [BZ #13908]
35980 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35981 comment.
35982
f402708f
KK
359832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35984
35985 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35986 which ROUND is no valid rounding mode.
35987
2ecccfc9
KK
359882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35989
35990 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35991 read again.
35992 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35993
8a53f50f
KK
359942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35995
35996 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35997 an exception using FPU order intentionally.
35998
359992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36000
36001 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36002 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36003 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36004 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36005
d653abb7
SJ
360062012-04-05 Simon Josefsson <simon@josefsson.org>
36007
36008 [BZ #12340]
36009 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36010 EINVAL when BUFLEN is too smal.
36011
c3b1bf7d
TS
360122012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36013
36014 [BZ #13553]
36015 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36016 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36017
b1aa60f3
AJ
360182012-04-03 Andreas Jaeger <aj@suse.de>
36019
c3b1bf7d 36020 [BZ #13938]
67f60a26
AJ
36021 * manual/setjmp.texi (System V contexts): Fix sentence.
36022
b1aa60f3
AJ
36023 [BZ #13926]
36024 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36025 New macro for this case.
36026 [!__GNUC__] (__bswap_64): New inline function for this case.
36027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36028 * bits/byteswap.h: Likewise.
36029 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36030 ull, guard with __GLIBC_HAVE_LONG_LONG.
36031
36032 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36033 __GLIBC_HAVE_LONG_LONG.
36034
36035 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36036 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36037
39c59c35
TMQMF
360382012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36039
36040 [BZ #13691]
36041 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36042 inptr and inend, rather than using last_ch.
36043
135ffda8
DM
360442012-04-02 David S. Miller <davem@davemloft.net>
36045
36046 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36047 * stdio-common/printf-parse.h (read_int): Change return type to
36048 'int', return -1 on INT_MAX overflow.
36049 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36050 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36051 overflows INT_MAX. Check for overflow of in-format-string precision
36052 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36053 SIZE_MAX not INT_MAX for integer overflow test.
36054 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36055 skip the construct in the format string but do not record anything.
36056 * stdio-common/bug22.c: Adjust to test both width/prevision
36057 INT_MAX overflow as well as total length INT_MAX overflow. Check
36058 explicitly for proper errno values.
36059
228c019e
TS
360602012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36061
302cadd3
TS
36062 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36063 CHAR_MAX.
36064 * string/test-strcmp.c [! WIDE]: Likewise.
36065 * time/tst-mktime2.c: Likewise for INT_MAX.
36066 * string/test-string.h: #include <sys/param.h> for MIN.
36067
228c019e
TS
36068 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36069 * sysdeps/i386/init-first.c (init): Likewise.
36070 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36071 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36072 * sysdeps/sh/init-first.c (init): Likewise.
36073
cfa633f5
UD
360742012-04-01 Ulrich Drepper <drepper@gmail.com>
36075
36076 * po/ru.po: Update from translation team.
d1635ef8 36077 * po/vi.po: Likewise.
cfa633f5 36078
6cd0a5ea
SP
360792012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36080
36081 * resolv/nss_dns/dns-host.c: Merge copyright years.
36082
4b43400f
LD
360832012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36084
36085 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36086 Optimize memcpy with prefetch if
36087 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36088 src, dst pointers have unequal 16 byte alignments.
36089
48c41d04
SP
360902012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36091
36092 [BZ #13928]
36093 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36094 from a CNAME entry and return the minimum ttl for the query.
36095 (gaih_getanswer_slice): Likewise.
36096
b8dc394d
JL
360972012-03-30 Jeff Law <law@redhat.com>
36098
36099 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36100 due to long keys.
36101 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36102 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36103
2f5a5ed0
JL
36104 * resolv/nss_dns/dns-host.c: Update copyright year.
36105
1d39e359
UD
361062012-03-30 Ulrich Drepper <drepper@gmail.com>
36107
c030f70c 36108 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 36109 requests to save a system call. Fix check that all bytes are sent.
c030f70c 36110
1d39e359
UD
36111 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36112 comments for sendmmsg.
36113
361142012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
36115
36116 [BZ #13691]
36117 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36118 with only 1 character between 0x0041 and 0x01b0.
36119 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36120 * wcsmbs/tst-mbsnrtowcs.c: New file.
36121
20fde227
DM
361222012-03-29 David S. Miller <davem@davemloft.net>
36123
36124 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36125 small copies by hand.
36126
984a4237
JL
361272012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36128
36129 [BZ #13761]
57f41c40
AS
36130 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36131 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36132 group memberships.
984a4237 36133
18c9d62b
DM
361342012-03-28 David S. Miller <davem@davemloft.net>
36135
88d85d4f
DM
36136 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36137 that branches into memcpy.
36138 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36139 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36141 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36143 bits.
36144 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36145 implementation too.
36146 * sysdeps/sparc/mempcpy.S: New file.
36147
e5aa83e1
DM
36148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36149 the IFUNC routine in the libc case.
36150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36151
88570753
DM
36152 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36153 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36154 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36155 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36156 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36157 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36158 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36159 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36160
249d7567
DM
36161 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36162 loop to 256 bytes instead of 64 bytes and fix test signedness.
36163
18c9d62b
DM
36164 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36165 * sysdeps/sparc/sparc32/Makefile: rather than here...
36166 * sysdeps/sparc/sparc64/Makefile: and here.
36167
05f3d1f6
UD
361682012-03-28 Ulrich Drepper <drepper@gmail.com>
36169
36170 * malloc/mallocbug.c: Avoid warnings about unused variables.
36171
86ae07a8
JL
361722012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36173
36174 [BZ #13760]
36175 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36176 in the right place. Discard and retry query if response is
36177 larger than input buffer size.
36178
41bf21a1
JM
361792012-03-28 Joseph Myers <joseph@codesourcery.com>
36180
d6270972
JM
36181 [BZ #369]
36182 [BZ #2678]
36183 [BZ #3866]
36184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36185 x for large integer exponent.
36186 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36187 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36188 sign of result as needed afterwards.
36189 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36190 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36191 result for underflowing pow the same as for overflow.
36192 (__kernel_standard_l): Handle powl overflow and underflow here
36193 rather than calling __kernel_standard.
36194 * math/libm-test.inc (pow_test): Add more tests.
36195
414fca03 36196 [BZ #3868]
41bf21a1
JM
36197 [BZ #13879]
36198 [BZ #13910]
36199 [BZ #13911]
36200 [BZ #13912]
36201 [BZ #13913]
36202 [BZ #13915]
36203 [BZ #13916]
36204 [BZ #13917]
36205 [BZ #13918]
36206 [BZ #13919]
36207 [BZ #13920]
36208 [BZ #13921]
36209 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36210 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36211 (__kernel_standard_l): New function.
36212 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36213 __kernel_standard.
36214 * math/w_acosl.c (__acosl): Likewise.
36215 * math/w_asinl.c (__asinl): Likewise.
36216 * math/w_atan2l.c (__atan2l): Likewise.
36217 * math/w_atanhl.c (__atanhl): Likewise.
36218 * math/w_coshl.c (__coshl): Likewise.
36219 * math/w_exp10l.c (__exp10l): Likewise.
36220 * math/w_exp2l.c (__exp2l): Likewise.
36221 * math/w_fmodl.c (__fmodl): Likewise.
36222 * math/w_hypotl.c (__hypotl): Likewise.
36223 * math/w_j0l.c (__j0l, __y0l): Likewise.
36224 * math/w_j1l.c (__j1l, __y1l): Likewise.
36225 * math/w_jnl.c (__jnl, __ynl): Likewise.
36226 * math/w_lgammal.c (__lgammal): Likewise.
36227 * math/w_log10l.c (__log10l): Likewise.
36228 * math/w_log2l.c (__log2l): Likewise.
36229 * math/w_logl.c (__logl): Likewise.
36230 * math/w_powl.c (__powl): Likewise.
36231 * math/w_remainderl.c (__remainderl): Likewise.
36232 * math/w_scalbl.c (sysv_scalbl): Likewise.
36233 * math/w_sinhl.c (__sinhl): Likewise.
36234 * math/w_sqrtl.c (__sqrtl): Likewise.
36235 * math/w_tgammal.c (__tgammal): Likewise.
36236 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36237 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36238 * math/libm-test.inc (acos_test): Add more tests.
36239 (acosh_test): Likewise.
36240 (asin_test): Likewise.
36241 (atanh_test): Likewise.
36242 (exp_test): Likewise.
36243 (exp10_test): Likewise.
36244 (exp2_test): Likewise.
36245 (expm1_test): Likewise.
36246 (lgamma_test): Likewise.
36247 (log_test): Likewise.
36248 (log10_test): Likewise.
36249 (log1p_test): Likewise.
36250 (log2_test): Likewise.
36251 (pow_test): Do not allow some spurious overflow exceptions.
36252 (sqrt_test): Add more tests.
36253 (tgamma_test): Likewise.
36254 (y0_test): Likewise.
36255 (y1_test): Likewise.
36256 (yn_test): Likewise.
36257
dd62fda6
AB
362582012-03-27 Anton Blanchard <anton@samba.org>
36259
36260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36261 MAP_HUGETLB.
36262 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36264 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36265
1e3cdfda
AJ
362662012-03-27 David S. Miller <davem@davemloft.net>
36267
b855ab85
DM
36268 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36269
1e3cdfda
AJ
36270 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36271 have-as-vis3 check.
36272
362732012-03-27 Andreas Jaeger <aj@suse.de>
36274
36275 * sysdeps/x86_64/elf/configure.in: Moved to ...
36276 * sysdeps/x86_64/configure.in: ... here.
36277 * sysdeps/x86_64/elf/start.S: Moved to ...
36278 * sysdeps/x86_64/start.S: ... here.
36279 * sysdeps/x86_64/elf/configure: Delete.
36280
36281 * sysdeps/x86_64/configure.in: Merge contents from
36282 sysdeps/i386/configure.in (without i686 check).
36283
36284 * sysdeps/i386/elf/Versions: Merge into ...
36285 * sysdeps/i386/Versions: ... this.
36286 * sysdeps/i386/elf/Versions: Delete file.
36287 * sysdeps/i386/elf/start.S: Moved to ...
36288 * sysdeps/i386/start.S: ...here.
36289 * sysdeps/i386/elf/configure.in: Merge into...
36290 * sysdeps/i386/configure.in: ...here.
36291 * sysdeps/i386/elf/configure.in: Delete file.
36292 * sysdeps/i386/elf/configure: Delete file.
36293
36294 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36295 * debug/backtracesyms.c: ... here.
36296 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36297 * debug/backtracesymsfd.c: ... here.
36298 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36299 * sysdeps/generic/ifunc-sel.h: ... here.
36300
36301 * sysdeps/unix/i386/start.c: Delete file.
36302 * sysdeps/unix/sparc/start.c: Delete file.
36303 * sysdeps/unix/start.c: Delete file.
36304
36305 * sysdeps/sh/elf/configure.in: Moved to ...
36306 * sysdeps/sh/configure.in: ... here.
36307 * sysdeps/sh/elf/start.S: Moved to ...
36308 * sysdeps/sh/start.S: ... here.
36309 * sysdeps/sh/elf/configure: Delete file.
36310
36311 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36312 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36313 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36314 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36315 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36316 * sysdeps/powerpc/powerpc64/start.S: here.
36317 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36318 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36319 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36320 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36321 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36322
36323 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36324 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36325 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36326 * sysdeps/powerpc/powerpc32/start.S: ... here.
36327 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36328 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36329 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36330
36331 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36332 * sysdeps/powerpc/ifunc-sel.h: ... here.
36333 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36334 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36335
36336 * sysdeps/sparc/elf/configure.in: Moved to ...
36337 * sysdeps/sparc/configure.in: ... here.
36338 * sysdeps/sparc/elf/configure: Delete file.
36339 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36340 * sysdeps/sparc/sparc32/start.S: ... here.
36341 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36342 * sysdeps/sparc/sparc64/start.S: ... here.
36343 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36344 * sysdeps/sparc/sparc32/Makefile: ... this.
36345 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36346 * sysdeps/sparc/sparc64/Makefile: ... this.
36347
36348 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36349 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36350 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36351 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36352 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36353 * sysdeps/s390/s390-32/setjmp.S: ... here.
36354 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36355 * sysdeps/s390/s390-32/configure.in: ... here.
36356 * sysdeps/s390/s390-32/elf/configure: Delete file.
36357 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36358 * sysdeps/s390/s390-32/start.S: ... here.
36359
36360 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36361 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36362 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36363 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36364 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36365 * sysdeps/s390/s390-64/setjmp.S: ... here.
36366 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36367 * sysdeps/s390/s390-64/configure.in: ... here
36368 * sysdeps/s390/s390-64/elf/configure: Delete file.
36369 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36370 * sysdeps/s390/s390-64/start.S: ... here.
36371 * sysdeps/s390/s390-64/elf/configure: Delete.
36372
36373 * configure.in: Remove support for elf directories in sysdeps.
36374
36375 * configure: Regenerated.
36376 * sysdeps/i386/configure: Regenerated.
36377 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36378 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36379 * sysdeps/s390/s390-32/configure: Regenerated.
36380 * sysdeps/s390/s390-64/configure: Regenerated.
36381 * sysdeps/sh/configure: Regenerated.
36382 * sysdeps/sparc/configure: Regenerated.
36383 * sysdeps/x86_64/configure: Regenerated.
36384
a3f61311
AS
363852012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36386
c876e002
AS
36387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36388
a3f61311
AS
36389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36390 denormal result into account.
36391
ac4c54f0
RM
363922012-03-25 Roland McGrath <roland@hack.frob.com>
36393
36394 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36395 Reported by Allan McRae <allan@archlinux.org>.
36396
6a9b9c02
JL
363972012-03-23 Jeff Law <law@redhat.com>
36398
36399 * nss/getnssent.c (__nss_getent): Fix typo.
36400
4c42a0c1
DM
364012012-03-23 David S. Miller <davem@davemloft.net>
36402
36403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36404
1532c7ac
L
364052012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36406
36407 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36408 to pad to uint64_t for each field.
36409 (dl_tls_index): Replace unsigned long with uint64_t.
36410
3ff42526
PP
364112012-03-23 Daniel Jacobowitz <dmj@google.com>
36412 Paul Pluzhnikov <ppluzhnikov@google.com>
36413
36414 [BZ #6528]
36415 * grp/Makefile (otherlibs): Don't set it.
36416 * inet/Makefile (otherlibs): Likewise.
36417 * login/Makefile (otherlibs): Likewise.
36418 * nscd/Makefile (otherlibs): Likewise.
36419 * posix/Makefile (otherlibs): Likewise.
36420 * pwd/Makefile (otherlibs): Likewise.
36421 * rt/Makefile (otherlibs): Likewise.
36422 * sunrpc/Makefile (otherlibs): Likewise.
36423 * nss/Makefile (otherlibs): Likewise.
36424 Add libnss_files to routines and static-only-routines.
36425 ($(objpfx)getent): Remove rule.
36426 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36427 static-only-routines.
36428
7c69cd14
JM
364292012-03-22 Joseph Myers <joseph@codesourcery.com>
36430
36431 [BZ #13892]
36432 * math/s_cexp.c: Include <float.h>.
36433 (__cexp): Handle exp result overflowing not necessarily
36434 overflowing both real and imaginary parts of result.
36435 * math/s_cexpf.c: Likewise.
36436 * math/s_cexpl.c: Likewise.
36437 * math/libm-test.inc (cexp_test): Add more tests.
36438 * sysdeps/i386/fpu/libm-test-ulps: Update.
36439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36440
81b035fe
L
364412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36442
36443 * include/link.h (ELFW): New macro.
36444 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36445 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36446
1da7940c
L
364472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36448
36449 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36450 with uint64_t.
36451
b749dbb9
L
364522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36453
36454 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36455 declaration.
36456 (struct La_x32_retval): Likewise.
36457
2ff87f3f
L
364582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36459
36460 * sysdeps/x86_64/preconfigure.in: New file.
36461 * sysdeps/x86_64/preconfigure: New generated file.
36462
c0df8e69
JM
364632012-03-22 Joseph Myers <joseph@codesourcery.com>
36464
48e44791
JM
36465 [BZ #13824]
36466 * math/e_exp2l.c: Include <float.h>.
36467 (__ieee754_exp2l): Handle overflow and underflow cases
36468 separately. Only pass fractional part of argument to
36469 __ieee754_expl.
36470 * math/libm-test.inc (exp2_test): Add more tests.
36471
c0df8e69
JM
36472 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36473 negating x to take absolute value.
36474 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36475 Likewise.
36476 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36477 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36478 Likewise.
36479 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36480 computing low part if x was negated.
36481 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36482
c8e43ba7
L
364832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36484
36485 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36486 la_x32_gnu_pltexit.
36487 (pltexit): Cast int_retval to ptrdiff_t.
36488 * elf/tst-auditmod3b.c: Likewise.
36489 * elf/tst-auditmod4b.c: Likewise.
36490 * elf/tst-auditmod5b.c: Likewise.
36491 * elf/tst-auditmod6b.c: Likewise.
36492 * elf/tst-auditmod6c.c: Likewise.
36493 * elf/tst-auditmod7b.c: Likewise.
36494
36495 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36496 and x32_gnu_pltexit.
36497
36498 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36499 __ELF_NATIVE_CLASS.
36500 (La_x32_regs): New macro.
36501 (La_x32_retval): Likewise.
36502 (la_x32_gnu_pltenter): New function prototype.
36503 (la_x32_gnu_pltexit): Likewise.
36504
7998fa78
AS
365052012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36506
dcb33988
AS
36507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36508 exponent.
36509
233fc563
AS
36510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36511
7998fa78
AS
36512 * configure.in (libc_cv_cc_nofma): Check for option to disable
36513 generation of FMA instructions.
36514 * configure: Regenerate.
36515 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36516 * sysdeps/ieee754/dbl-64/Makefile: New file.
36517 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36518 Remove brandred-fma4.
36519 (CFLAGS-brandred-fma4.c): Remove.
36520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36522 define.
36523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36524 define.
36525
8e95c99a
L
365262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36527
36528 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36529 LLONG_MAX != LONG_MAX.
36530 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36531 (_fitoa_word): Likewise.
36532 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36533 LLONG_MAX != LONG_MAX.
36534 * stdio-common/_itowa.h: Include <_itoa.h>.
36535 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36536 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36537 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36538 only if not defined.
36539 (_ITOA_WORD_TYPE): Likewise.
36540 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36541 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36542
6f4db457
DM
365432012-03-21 David S. Miller <davem@davemloft.net>
36544
36545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36546
7785fe5a
L
365472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36548
36549 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36550 of x86_64 when setting libc_cv_slibdir, libdir and
36551 libc_cv_localedir.
36552 * sysdeps/unix/sysv/linux/configure: Regenerated.
36553
4535cd55
JM
365542012-03-21 Joseph Myers <joseph@codesourcery.com>
36555
36556 * manual/lang.texi (Old Varargs): Remove section.
36557 (How Variadic): Update menu.
36558 (va_start): Do not mention varargs.h.
36559
17228132
TS
365602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36561 Joseph Myers <joseph@codesourcery.com>
36562
36563 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36564 link test.
36565 * configure: Regenerated.
36566
8149f976
TS
365672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36568
05f3d1f6
UD
36569 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36570 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36571 conformtest.pl
8149f976 36572
1a4ac776
JM
365732012-03-21 Joseph Myers <joseph@codesourcery.com>
36574
be22ce65
JM
36575 * NOTES: Remove.
36576 * Makefile (files-for-dist): Remove NOTES.
36577 (NOTES): Remove rule.
36578 * README: Don't refer to NOTES.
36579 * manual/creature.texi: Don't include macros.texi.
36580 * manual/intro.texi (creature.texi): Remove comment referring to
36581 NOTES.
36582
40b601fb
JM
36583 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36584 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36585 * configure: Regenerated.
36586 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36587 LIBC_TRY_CC_OPTION.
36588 (libc_cv_as_i686): Likewise.
36589 (libc_cv_cc_avx): Likewise.
36590 (libc_cv_cc_sse2avx): Likewise.
36591 (libc_cv_cc_fma4): Likewise.
36592 (libc_cv_cc_novzeroupper): Likewise.
36593 * sysdeps/i386/configure: Regenerated.
36594
1a4ac776
JM
36595 [BZ #13883]
36596 * sysdeps/i386/fpu/s_cexp.S: Remove.
36597 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36598 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36599 * math/libm-test.inc (cexp_test): Add more tests.
36600 * sysdeps/i386/fpu/libm-test-ulps: Update.
36601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36602
a458e7fe
AM
366032012-03-21 Allan McRae <allan@archlinux.org>
36604
36605 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36606
0cb7efc5
JM
366072012-03-21 Joseph Myers <joseph@codesourcery.com>
36608
36609 [BZ #13871]
36610 * math/w_exp2.c: Do not include <float.h>.
36611 (o_threshold, u_threshold): Remove.
36612 (__exp2): Calculate result before checking finiteness and calling
36613 __kernel_standard.
36614 * math/w_exp2f.c: Likewise.
36615 * math/w_exp2l.c: Likewise.
36616 * math/libm-test.inc (exp2_test): Require overflow exception for
36617 1e6 input.
2460d3aa
JM
36618
36619 [BZ #3866]
36620 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36621 range of signed 64-bit integers before using fistpll. Remove
36622 checks for whether integers fit in mantissa bits.
36623 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36624 the range of signed 32-bit integers before using fistpl. Remove
36625 checks for whether integers fit in mantissa bits.
36626 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36627 (__ieee754_powl): Test for y outside the range of signed 64-bit
36628 integers before using fistpll. Reduce 64-bit values to 63-bit
36629 ones as needed.
36630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36631 divide-by-zero is raised for zero to large negative powers.
36632 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36633 (__ieee754_powl): Test for y outside the range of signed 64-bit
36634 integers before using fistpll. Reduce 64-bit values to 63-bit
36635 ones as needed.
36636 * math/libm-test.inc (pow_test): Add more tests.
36637
eb96ffb0
L
366382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36639
36640 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36641 <stdio-common/_itoa.h>.
36642 * debug/segfault.c: Likewise.
36643 * elf/dl-cache.c: Likewise.
36644 * elf/dl-minimal.c: Likewise.
36645 * elf/dl-misc.c: Likewise.
36646 * elf/dl-sysdep.c: Likewise.
36647 * elf/dl-version.c: Likewise.
36648 * elf/rtld.c: Likewise.
36649 * hurd/hurdsock.c: Likewise.
36650 * hurd/lookup-retry.c: Likewise.
36651 * malloc/malloc.c: Likewise.
36652 * malloc/mtrace.c: Likewise.
36653 * nscd/nscd_getgr_r.c: Likewise.
36654 * nscd/nscd_getpw_r.c: Likewise.
36655 * nscd/nscd_getserv_r.c: Likewise.
36656 * posix/getopt_init.c: Likewise.
36657 * posix/wordexp.c: Likewise.
36658 * stdio-common/_itoa.c: Likewise.
36659 * stdio-common/printf_fphex.c: Likewise.
36660 * stdio-common/vfprintf.c: Likewise.
36661 * string/_strerror.c: Likewise.
36662 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36663 * sysdeps/i386/i686/hp-timing.h: Likewise.
36664 * sysdeps/mach/_strerror.c: Likewise.
36665 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36666 * sysdeps/mach/hurd/sethostid.c: Likewise.
36667 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36668 * sysdeps/mach/xpg-strerror.c: Likewise.
36669 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36670 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36671 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36672 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36673 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36674 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36675 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36676 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36677 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36678 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36679 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36680 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36681 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36682 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36683 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36684 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36685 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36686 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36687 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36688 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36689 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36690
36691 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36692
36693 * stdio-common/_itoa.h: Moved to ...
36694 * sysdeps/generic/_itoa.h: Here.
36695
36696 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36697
36698 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36699 instead of "_itoa.h" and "_itowa.h".
36700 * stdio-common/vfprintf.: Likewise.
36701
d1af992d
L
367022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36703
36704 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36705 <bits/wordsize.h>.
36706 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36707 (__signbit): Likwise.
36708 (llrintf): Likwise.
36709 (llrint): Likwise.
36710
114883e0
L
367112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36712
36713 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36714 __WORDSIZE != 64.
36715
c135cc1b
JM
367162012-03-20 Joseph Myers <joseph@codesourcery.com>
36717
36718 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36719 OVERFLOW_EXCEPTION_OK.
36720 * math/libm-test.inc ("Philosophy"): Update comment about
36721 exception testing.
36722 (OVERFLOW_EXCEPTION): Define.
36723 (OVERFLOW_EXCEPTION_OK): Likewise.
36724 (INVALID_EXCEPTION_OK): Renumber.
36725 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36726 (IGNORE_ZERO_INF_SIGN): Likewise.
36727 (test_exceptions): Handle FE_OVERFLOW.
36728 (exp10_test): Expect overflow exceptions.
36729 (exp2_test): Likewise.
36730 (expm1_test): Likewise.
36731 (nextafter_test): Likewise.
36732 (pow_test): Likewise.
36733 (scalbn_test): Likewise.
36734 (scalbln_test): Likewise.
36735
95443d88
L
367362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36737
36738 * sysdeps/x86_64/bits/atomic.h
36739 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36740 64bit integer.
36741 (atomic_exchange_acq): Likewise.
36742 (__arch_exchange_and_add_body): Likewise.
36743 (__arch_add_body): Likewise.
36744 (atomic_add_negative): Likewise.
36745 (atomic_add_zero): Likewise.
36746
490df6c4
L
367472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36748
c2722551 36749 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
36750 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36751
5e52b189
L
367522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36753
36754 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36755 Check __x86_64__ instead of __WORDSIZE.
36756
a9879d4c
L
367572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36758
36759 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36760
5df98260
DM
367612012-03-19 David S. Miller <davem@davemloft.net>
36762
e1497744
DM
36763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36764
5df98260
DM
36765 * sysdeps/sparc/fpu/fenv_private.h: New file.
36766 * sysdeps/sparc/fpu/math_private.h: Use it.
36767 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36768 Remove.
57f41c40 36769 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
36770 (libc_feholdexcept_setroundl): Remove.
36771 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36772 Remove.
36773 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36774 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36775
b4c35121
L
367762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36777
36778 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36779 int64_t instead of long int.
36780 (INSERT_WORDS64): Likwise.
36781
56965fd7
L
367822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36783
36784 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36785 _Unwind_GetCFA return to _Unwind_Ptr first.
36786
83d1aec8
JM
367872012-03-19 Joseph Myers <joseph@codesourcery.com>
36788
1897ad44
JM
36789 [BZ #13629]
36790 * math/s_clog.c: Include <float.h>.
36791 (__clog): Scale large or subnormal inputs.
36792 * math/s_clogf.c: Likewise.
36793 * math/s_clogl.c: Likewise.
36794 * math/s_clog10.c: Include <float.h>.
36795 (M_LOG10_2): Define.
36796 (__clog10): Scale large or subnormal inputs.
36797 * math/s_clog10f.c: Likewise.
36798 * math/s_clog10l.c: Likewise.
36799 * math/libm-test.inc (clog_test): Add more tests.
36800 (clog10_test): Likewise.
36801 * sysdeps/i386/fpu/libm-test-ulps: Update.
36802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36803
7726d6a9
JM
36804 [BZ #11451]
36805 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36806 x and y.
36807 * math/libm-test.inc (atan2_test): Add another test.
36808
83d1aec8
JM
36809 * Makerules (common-objdir-compile): Remove.
36810 * sysdeps/unix/Makefile (config-generated): Do not add
36811 $(unix-generated) to variable.
36812 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36813 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36814 Remove rule.
36815 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36816 Likewise.
36817 [generic bits/local_lim.h] (before-compile): Do not append to
36818 variable.
36819 [generic bits/local_lim.h] (common-generated): Likewise.
36820 [generic sys/param.h] (before-compile): Do not append to variable.
36821 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36822 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36823 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36824 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36825 include.
36826 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36827 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36828 [generic sys/param.h] ($(addprefix
36829 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36830 [generic sys/param.h] (common-generated): Do not append to
36831 variable.
36832 [generic sys/param.h] (sysdep_headers): Likewise.
36833 [generic bits/errno.h] (before-compile): Do not append to
36834 variable.
36835 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36836 rule.
36837 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36838 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36839 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36840 [generic bits/errno.h] (common-generated): Do not append to
36841 variable.
36842 [generic bits/ioctls.h] (before-compile): Do not append to
36843 variable.
36844 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36845 rule.
36846 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36847 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36848 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36849 rule.
36850 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36851 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36852 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36853 [generic bits/ioctls.h] (common-generated): Do not append to
36854 variable.
36855 [generic sys/syscall.h] (syscall.h): Remove variable.
36856 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36857 rule.
36858 [generic sys/syscall.h] (before-compile): Do not append to
36859 variable.
36860 [generic sys/syscall.h] (common-generated): Likewise.
36861 * sysdeps/unix/errnos-tmpl.c: Remove file.
36862 * sysdeps/unix/errnos.awk: Likewise.
36863 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36864 * sysdeps/unix/ioctls.awk: Likewise.
36865 * sysdeps/unix/mk-local_lim.c: Likewise.
36866 * sysdeps/unix/snarf-ioctls: Likewise.
36867
4851a949
RH
368682012-03-19 Richard Henderson <rth@twiddle.net>
36869
bd37f2ee
RH
36870 * sysdeps/i386/fpu/fenv_private.h: New file.
36871 * sysdeps/i386/fpu/math_private.h: Use it.
36872 (math_opt_barrier, math_force_eval): Remove.
36873 (libc_feholdexcept_setround_53bit): Remove.
36874 (libc_feupdateenv_53bit): Remove.
36875 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36876 (math_opt_barrier, math_force_eval): Remove.
36877 (libc_feholdexcept): Remove.
36878 (libc_feholdexcept_setround): Remove.
36879 (libc_fetestexcept, libc_fesetenv): Remove.
36880 (libc_feupdateenv_test): Remove.
36881 (libc_feupdateenv, libc_feholdsetround): Remove.
36882 (libc_feresetround): Remove.
36883
d0adc922
RH
36884 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36885 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36886
0fe0f1f8
RH
36887 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36888 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36889 (libc_feupdateenv_testl): New.
36890 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36891 (libc_feupdateenv_testf): New.
36892 (libc_feupdateenv): Use libc_feupdateenv_test.
36893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36894 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36895
eb92c487
RH
36896 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36897 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36898 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36899 (libc_feresetround_noex): New.
36900 (libc_feresetround_noexf): New.
36901 (libc_feresetround_noexl): New.
36902 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36903 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36904 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36905 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36906 SET_RESTORE_ROUND.
36907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36909 (__cos): Likewise.
36910 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36911 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36912 SET_RESTORE_ROUND_NOEX.
36913 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36914 SET_RESTORE_ROUND_NOEXF.
36915 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36916 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36917 (libc_feholdsetroundf): New.
36918 (libc_feresetround, libc_feresetroundf): New.
36919
7d2e8012
RH
36920 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36921 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36922 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36923
b4dabbb4
RH
36924 * sysdeps/generic/math_private.h: Include <fenv.h>.
36925 (default_libc_feholdexcept): New.
36926 (default_libc_feholdexcept_setround): New.
36927 (default_libc_fesetenv, default_libc_feupdateenv): New.
36928 (libc_feholdexcept): Only define if undefined.
36929 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36930 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36931 (libc_feholdexcept_setroundl): Likewise.
36932 (libc_feholdexcept_setround_53bit): Likewise.
36933 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36934 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36935 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36936 (libc_feupdateenv_53bit): Likewise.
36937 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36938 (libc_feholdexcept): Convert from macro to inline function.
36939 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36940 (libc_fesetenv, libc_feupdateenv): Likewise.
36941
4851a949
RH
36942 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36943 not previously defined.
36944 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36945 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36946 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36947 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36948 * sysdeps/ieee754/flt-32/math_private.h: New file.
36949 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36950 math_private.h below SET_FLOAT_WORD.
36951 (__isnan, __isinf_ns, __finite): Remove.
36952 (__isnanf, __isinf_nsf, __finitef): Remove.
36953
e79d442e
AS
369542012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36955
36956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36957
90b80344
DM
369582012-03-17 David S. Miller <davem@davemloft.net>
36959
36960 [BZ #6471]
36961 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36962 for 2.16.
36963
edc21804
DM
369642012-03-16 David S. Miller <davem@davemloft.net>
36965
77e927af
DM
36966 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36967 warnings.
36968
374976dd
DM
36969 [BZ #6471]
36970 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36971 properly.
36972 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36973 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36974 sysdep_routines when subdir is sysvipc.
36975 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36976 __getshmlba helper.
36977
edc21804
DM
36978 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36979
473c3ef3
L
369802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36981
36982 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36983 [__LP64__].
36984
eb0f39b6
L
369852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36986
36987 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36988 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36989 (__lround): Renamed to ...
36990 (__llround): This. Replace long int with long long int.
36991 Define lround functions as aliases of llround functions.
36992 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36993
6b6cd74b
L
369942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36995
36996 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36997 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36998 adresses to uintptr_t. Replace "long int" and "unsigned long
36999 int" with "greg_t" on va_arg.
37000
f1a77b01
L
370012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37002
37003 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37004 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37005
37006 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37007 Move e_machine check before EI_CLASS check. Handle x32
37008 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37009 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37010 SKIP_EM_IA_64 and include
37011 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37012
37013 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37014 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37015 (add_system_dir): New macro.
37016
37017 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37018 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37019
11b90b9f
JM
370202012-03-16 Joseph Myers <joseph@codesourcery.com>
37021
c36e1d23
JM
37022 [BZ #2551]
37023 [BZ #2552]
37024 [BZ #2553]
37025 [BZ #2554]
37026 [BZ #2562]
37027 [BZ #2563]
37028 [BZ #2565]
37029 [BZ #2566]
37030 [BZ #2576]
37031 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37032 (y0): Likewise.
37033 * math/w_j0f.c (j0f): Likewise.
37034 (y0f): Likewise.
37035 * math/w_j0l.c (__j0l): Likewise.
37036 (__y0l): Likewise.
37037 * math/w_j1.c (j1): Likewise.
37038 (y1): Likewise.
37039 * math/w_j1f.c (j1f): Likewise.
37040 (y1f): Likewise.
37041 * math/w_j1l.c (__j1l): Likewise.
37042 (__y1l): Likewise.
37043 * math/w_jn.c (jn): Likewise.
37044 (yn): Likewise.
37045 * math/w_jnf.c (jnf): Likewise.
37046 (ynf): Likewise.
37047 * math/w_jnl.c (__jnl): Likewise.
37048 (__ynl): Likewise.
37049 * math/libm-test.inc (j0_test): Add more tests.
37050 (j1_test): Likewise.
37051 (jn_test): Likewise. Add trailing semicolon to existing test.
37052 (y0_test): Likewise.
37053 (y1_test): Likewise.
37054 * sysdeps/i386/fpu/libm-test-ulps: Update.
37055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37056
11b90b9f
JM
37057 [BZ #13851]
37058 [BZ #13854]
37059 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37060 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37061 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37062 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37063 (__tanl): Set errno for infinite argument.
37064 * sysdeps/i386/fpu/mptan.c: Remove.
37065 * sysdeps/i386/fpu/s_tan.S: Likewise.
37066 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37067 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37068 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37069 * math/libm-test.inc (tan_test): Add more tests and enable more
37070 tests for double and long double.
37071 * sysdeps/i386/fpu/libm-test-ulps: Update.
37072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37073
6a1bd2a1
JK
370742012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37075
37076 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37077 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37078
10a803e0
RM
370792012-03-16 Roland McGrath <roland@hack.frob.com>
37080
37081 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37082 * configure.in: Use it for both main tree and add-ons.
37083 * configure: Regenerated.
37084
f196c7f7
L
370852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37086
37087 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37088
8848d99d
JM
370892012-03-16 Joseph Myers <joseph@codesourcery.com>
37090
96cbe7f4
JM
37091 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37092 in comment.
37093
8848d99d
JM
37094 [BZ #13851]
37095 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37096 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37097 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37100 infinite argument.
37101 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37103 != 0 for prec == 2.
37104 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37105 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37106 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37107 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37108 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37109 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37110 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37111 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37112 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37113 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37114 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37115 * math/libm-test.inc (cos_test): Add more tests and enable more
37116 tests for long double.
37117 (sin_test): Likewise.
37118 (sincos_test): Likewise.
37119 * sysdeps/i386/fpu/libm-test-ulps: Update.
37120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37121
dd7f4703
DM
371222012-03-16 David S. Miller <davem@davemloft.net>
37123
37124 * sysdeps/sparc/fpu/math_private.h: New file.
37125
006f1daa
DM
371262012-03-15 David S. Miller <davem@davemloft.net>
37127
c0c83bc8
DM
37128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37129 file.
e6a62e18 37130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
37131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37132 file.
e6a62e18
DM
37133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37138 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37139 sysdep routines.
37140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37141
88cb87d9
DM
37142 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37143 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37144
006f1daa 37145 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
37146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37147 sparc-ifunc.h
006f1daa 37148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
37149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37150 Likewise.
37151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37152 Likewise.
006f1daa
DM
37153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
37156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37157 Likewise.
006f1daa
DM
37158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
37162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37163 Likewise.
37164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37165 Likewise.
006f1daa
DM
37166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37190
11e0098e
AS
371912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37192
37193 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37194 scaling.
37195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37196
e85b09d0
AJ
371972012-03-15 Andreas Jaeger <aj@suse.de>
37198
37199 [BZ #13852]
37200 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37201 ieee754/flt-32 implementation for sin, cos and sincos.
37202 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37203 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37204 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37205 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37206 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37207 ieee754/flt-32 implementation for tan.
37208
37209 * math/libm-test.inc (cos_test): Enable some large input tests for
37210 float as well
37211 (sin_test): Likewise.
37212 (sincos_test): Likewise.
37213 (tan_test): Add tests for large input.
37214
37215 * sysdeps/i386/fpu/libm-test-ulps: Update.
37216
81c64153
AJ
372172012-03-15 Andreas Jaeger <aj@suse.de>
37218
37219 [BZ #13658]
37220 * math/libm-test.inc (cos_test): Add more test cases.
37221 (sin_test): Likewise.
37222 (sincos_test): Likewise.
37223
7bbfa5c6
AJ
372242012-03-15 Andreas Jaeger <aj@suse.de>
37225
37226 [BZ #13837]
37227 * math/libm-test.inc (cos_test): Add a test case for large input
37228 value.
37229 (sin_test): Likewise.
37230 (sincos_test): Likewise.
37231
57f41c40
AS
372322012-03-15 Andreas Jaeger <aj@suse.de>
37233 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
37234
37235 [BZ #13658]
0671f479 37236 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
37237 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37238 * sysdeps/i386/fpu/branred.c: Likewise.
37239 * sysdeps/i386/fpu/dosincos.c: Likewise.
37240 * sysdeps/i386/fpu/mpa.c: Likewise.
37241 * sysdeps/i386/fpu/s_cos.S: Likewise.
37242 * sysdeps/i386/fpu/s_sin.S: Likewise.
37243 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37244 * sysdeps/i386/fpu/sincos32.c: Likewise.
37245
37246 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37247 Define.
37248 (libc_feupdateenv_53bit): Define.
37249 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37250 Define.
37251 (libc_feupdateenv_53bit): Define.
37252
37253 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37254 53 bit (without extend i386 double precision).
37255
37256 * math/libm-test.inc (sincos_test): Add tests for large input.
37257 (sin): Likewise.
37258 (cos): Likewise.
37259
37260 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37261
9cad04ea
AS
372622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37263
37264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37265
f7062b9a
DM
372662012-03-15 David S. Miller <davem@davemloft.net>
37267
37268 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37269 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37270 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37271 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
37283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37284 file.
f7062b9a 37285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
37286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37287 file.
f7062b9a 37288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
37289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37290 file.
f7062b9a 37291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
37292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37293 file.
f7062b9a
DM
37294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37295 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37296 fmin/fmax sysdep routines.
37297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37298
7bd951ff
DM
372992012-03-14 David S. Miller <davem@davemloft.net>
37300
559398ab
DM
37301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37330 routines.
37331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37332 file.
559398ab 37333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
37334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37335 file.
559398ab 37336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
37337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37338 file.
559398ab 37339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
37340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37341 file.
559398ab 37342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
37343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37344 file.
559398ab 37345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
37346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37347 file.
37348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37349 file.
37350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37351 file.
37352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37353 file.
37354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37355 New file.
37356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37357 file.
37358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37359 file.
559398ab 37360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
37361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37362 file.
559398ab 37363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37365 file.
559398ab 37366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
37367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37368 file.
559398ab 37369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
37370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37371 VIS3 routines.
559398ab
DM
37372
37373 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37374 New file.
37375
5a1c1e32
DM
37376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37377
eae47a36
DM
37378 * sysdeps/sparc/configure.in: New file.
37379 * sysdeps/sparc/configure: Generate.
37380 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37381 * configure: Regenerate.
37382 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37383 * config.make.in (have-as-vis3): New.
37384 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37385 available use -Av9d instead of -Av9a.
37386 * sysdeps/sparc/sparc64/Makefile: Likewise.
37387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
37388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37389 New file.
37390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37391 file.
37392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37393 New file.
37394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37395 file.
eae47a36
DM
37396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37401
c0c83bc8
DM
37402 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37403 fzeros/fnegs to load 0x80000000 into a float register instead of
37404 using the stack.
7bd951ff
DM
37405 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37406
bd951ccb
JM
374072012-03-14 Joseph Myers <joseph@codesourcery.com>
37408
37409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37410 bits/syscall.h.
37411 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37412 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37413 ($(inst_includedir)/bits/syscall.h): Remove rule.
37414 ($(objpfx)bits/syscall.d): Include instead of
37415 $(objpfx)syscall-list.d.
37416 (generated): Change syscall-list.h and syscall-list.d to
37417 bits/syscall.h and bits/syscall.d.
37418
bb4e6db2
RM
374192012-03-14 Roland McGrath <roland@hack.frob.com>
37420
37421 [BZ #13846]
37422 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37423
aa4a2ae1
JM
374242012-03-14 Joseph Myers <joseph@codesourcery.com>
37425
e456826d
JM
37426 [BZ #13841]
37427 * math/s_csqrt.c: Include <float.h>.
37428 (__csqrt): Scale large or subnormal inputs.
37429 * math/s_csqrtf.c: Likewise.
37430 * math/s_csqrtl.c: Likewise.
37431 * math/libm-test.inc (csqrt_test): Add more tests.
37432 * sysdeps/i386/fpu/libm-test-ulps: Update.
37433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37434
aa4a2ae1
JM
37435 [BZ #13840]
37436 * math/libm-test.inc (hypot_test): Add more tests.
37437
7c10fd35
DM
374382012-03-13 David S. Miller <davem@davemloft.net>
37439
37440 [BZ #13840]
37441 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37442 double-precision for the calculation instead of scaling.
37443
f453b98b
JM
374442012-03-13 Joseph Myers <joseph@codesourcery.com>
37445
37446 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37447 manipulate bits before adding and subtracting TWO52[sx].
37448 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37450 Likewise.
37451 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37452
09a3453f
DM
374532012-03-13 David S. Miller <davem@davemloft.net>
37454
8e59da90
DM
37455 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37456 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37458 rtld-global-offsets.h
37459 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37460
2a8ab7f2
DM
37461 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37462 large parameters.
37463
10f62770
DM
37464 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37465
5f0bdb18
DM
37466 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37467 'err' in the ifdef scope in which it is actually used.
37468
09a3453f
DM
37469 * nss/nss_db/db-init.c: Include string.h
37470
b4b2eb5e
DM
374712012-03-12 David S. Miller <davem@davemloft.net>
37472
98bb2f1c
DM
37473 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37474 masking out of the most significant byte of random value used.
37475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37476 Fix coding style in previous change.
37477
b4b2eb5e
DM
37478 * sysdeps/unix/sysv/linux/kernel-features.h
37479 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37480 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37481 expression.
37482 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37483 later.
37484
6e226b09
DM
374852012-03-11 David S. Miller <davem@davemloft.net>
37486
a1bcbd40
DM
37487 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37488 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37490 for 'resultvar' otherwise things get truncated on 64-bit.
37491
cb9d6174
DM
37492 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37493 Fix masking out of the most significant byte of random value used.
37494
6e226b09
DM
37495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37496
058c132d
AS
374972012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37498
37499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37500
2d2cd515
DM
375012012-03-09 David S. Miller <davem@davemloft.net>
37502
37503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37504 variables with appropriate CPP guards.
57f41c40
AS
37505 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37506 from the frame pointer, not the stack pointer. Correct layout
37507 comments. Fix test on resulting framesize and the management of
37508 the outregs buffer for pltexit. Preserve floating point return
37509 values across _dl_call_pltexit call.
2d2cd515
DM
37510 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37511 framesize and the management of the outregs buffer for pltexit.
37512 Preserve floating point return values across _dl_call_pltexit
37513 call.
57f41c40
AS
37514 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37515 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37516 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
37517 (print_exit): Fix format string for return register value.
37518
9a07f9d0
JM
375192012-03-10 Joseph Myers <joseph@codesourcery.com>
37520
37521 * sunrpc/Makefile (others): Add rpcgen.
37522 ($(objpfx)rpcgen): Remove special build rule and dependency on
37523 libc.
37524 * sunrpc/rpcgen.c: New file.
37525
547b5e30
PE
375262012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37527
c524201a
PE
37528 [BZ #13673]
37529 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37530 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37531 * sysdeps/i386/crti.S: Likewise.
37532 * sysdeps/i386/crtn.S: Likewise.
37533 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37534 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37535 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37536 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37537 * sysdeps/sh/crti.S: Likewise.
37538 * sysdeps/sh/crtn.S: Likewise.
37539 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37540
7b6235f2
PE
37541 [BZ #13673]
37542 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37543 with URL.
37544 * locale/programs/locfile-kw.gperf: Likewise.
37545 * locale/programs/charmap-kw.h: Regenerated.
37546 * locale/programs/locfile-kw.h: Likewise.
37547
547b5e30
PE
37548 [BZ #13673]
37549 * intl/plural.y: Replace FSF snail mail address with URL.
37550 * intl/plural.c: Regenerated.
37551
5f0a5dae
RH
375522012-03-09 Richard Henderson <rth@twiddle.net>
37553
37554 * include/math_private.h: Remove file.
37555 * math/math_private.h: Move file ...
37556 * sysdeps/generic/math_private.h: ... here.
37557
b8c03620
RH
37558 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37559 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37560 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37561
4e234f5d 37562 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
37563 and <math_private.h>.
37564 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37565 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37566 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37567 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37568 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37585 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37615 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37648 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37651 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37652 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37653 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37655 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37656 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37657 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37658 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37659 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37660 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37661 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37662 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37663 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37664 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37665 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37666 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37667 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37668 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37669 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37670 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37671 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37672 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37673 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37674 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37675 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37676 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37677 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37678 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37679 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37680 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37681 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37682 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37683 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37684 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37685 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37686 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37687 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37688 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37689 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37690 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37691 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37692 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37693 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37694 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37695 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37696 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37697 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37698 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37699 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37700 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37701 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37702 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37703 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37704 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37705 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37706 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37707 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37708 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37709 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37710 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37711 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37712 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37713 * sysdeps/ieee754/k_standard.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37836 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37846 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37853 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37862 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37863 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37864 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37868 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37869 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37870 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37874 * sysdeps/ieee754/s_lib_version.c: Likewise.
37875 * sysdeps/ieee754/s_matherr.c: Likewise.
37876 * sysdeps/ieee754/s_signgam.c: Likewise.
37877 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37879 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37880 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37881 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37882 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37883 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37884 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37885 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37886 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37887 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37888 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37889 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37890 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37891 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37892 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37893 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37894 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 37898
1991fa03
JM
378992012-03-09 Joseph Myers <joseph@codesourcery.com>
37900
37901 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37902 * sunrpc/rpc_main.c: Likewise.
37903 * sunrpc/rpc_svcout.c: Likewise.
37904
60d6f5a6
DM
379052012-03-09 David S. Miller <davem@davemloft.net>
37906
37907 * include/math_private.h: New file.
37908
4962050e
JM
379092012-03-09 Joseph Myers <joseph@codesourcery.com>
37910
02a6f887
JM
37911 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37912 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37913 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37914 from <bits/socket_type.h>.
37915 (enum __socket_type): Don't define here.
37916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37918 bits/socket_type.h.
37919
c6e013c1
JM
37920 [BZ #13566]
37921 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37922 checking __USE_GNU.
37923
4962050e
JM
37924 * Makerules ($(inst_includedir)/%.h): New rule.
37925 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37926 (install-others): Remove variable setting.
37927 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37928
38842f45
RH
379292012-03-08 Richard Henderson <rth@twiddle.net>
37930
67bb6da6
RH
37931 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37932 from macro to inline function; merge with the
37933 !__LIBC_INTERNAL_MATH_INLINES version.
37934 (__ieee754_sqrtf): Likewise.
37935
15194b4b
RH
37936 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37937 to inline function.
37938 (__rintf, __floor, __floorf): Likewise.
37939
64e21ede
RH
37940 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37941 macro to inline function.
37942 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37943
38842f45
RH
37944 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37945 not <math/math_private.h>.
37946
c64bf5fe
DM
379472012-03-08 David S. Miller <davem@davemloft.net>
37948
37949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37950 copyright year.
37951 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37952
82d86f28
TS
379532012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37954
37955 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37956 normalization.
37957 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37958 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37959
aea5d727
UD
379602012-03-08 Ulrich Drepper <drepper@gmail.com>
37961
37962 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37963 be defined individually, they must be defined as a block. Define
37964 S for printing a string instead of hidint the different by using a
37965 macro for adding the 'l'.
37966 * stdio-common/tst-fphex-wide.c: Adjust.
37967
70bca0a3
MP
379682012-03-07 Marek Polacek <polacek@redhat.com>
37969
37970 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37971
65b81130
MP
379722012-03-08 Marek Polacek <polacek@redhat.com>
37973
37974 [BZ #13806]
37975 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37976 * stdio-common/tst-fphex.c: Define a few macros to make the
37977 test reusable. Use them.
37978 * stdio-common/tst-fphex-wide.c: New file.
37979
07037eeb
JM
379802012-03-08 Joseph Myers <joseph@codesourcery.com>
37981
a7a93d50
JM
37982 [BZ #6911]
37983 * manual/macros.texi (gnusystems): New macro.
37984 (nongnusystems): Likewise.
37985 (gnulinuxhurdsystems): Likewise.
37986 (gnuhurdsystems): Likewise..
37987 (gnulinuxsystems): Likewise.
37988 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37989 variants of the GNU system, not "GNU system".
37990 * manual/conf.texi: Likewise.
37991 * manual/errno.texi: Likewise. Update example of errno macro
37992 expansion.
37993 * manual/filesys.texi: Likewise.
37994 (getumask): Document as specific to GNU/Hurd.
37995 * manual/install.texi: Likewise. Reword some references to
37996 GNU/Linux.
37997 * manual/intro.texi: Likewise.
37998 * manual/io.texi: Likewise.
37999 (File Name Portability): Detail which constraints are inapplicable
38000 to all GNU systems and which are only inapplicable to GNU/Hurd.
38001 * manual/job.texi: Likewise.
38002 * manual/llio.texi: Likewise.
38003 (O_NOCTTY): Document as present on GNU/Linux.
38004 * manual/maint.texi: Likewise.
38005 * manual/memory.texi: Likewise.
38006 * manual/pattern.texi: Likewise.
38007 * manual/pipe.texi: Likewise.
38008 * manual/process.texi: Likewise.
38009 * manual/resource.texi: Likewise.
38010 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38011 child on GNU/Hurd.
38012 * manual/setjmp.texi: Likewise.
38013 * manual/signal.texi: Likewise.
38014 * manual/startup.texi: Likewise.
38015 * manual/stdio.texi: Likewise.
38016 * manual/terminal.texi: Likewise.
38017 (ONLCR): Document as POSIX.
38018 (OXTABS): Document availability on GNU/Linux as XTABS.
38019 (ONOEOT): Document availability separately from other bits.
38020 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38021 * manual/time.texi: Likewise.
38022 * manual/users.texi: Likewise.
38023 * INSTALL: Regenerated.
38024 * sysdeps/gnu/errlist.c: Regenerated.
38025
07037eeb
JM
38026 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38027 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38028 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38029 puts.
38030 * configure: Regenerated.
38031
d1d3431a
JM
380322012-03-07 Joseph Myers <joseph@codesourcery.com>
38033
af6a1e37
JM
38034 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38035 default includes instead of AC_HEADER_CHECK.
38036 * sysdeps/i386/configure: Regenerated.
38037
d1d3431a
JM
38038 [BZ #10716]
38039 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38040 * math/s_cacoshf.c (__cacoshf): Likewise.
38041 * math/s_cacoshl.c (__cacoshl): Likewise.
38042 * math/s_casinh.c (__casinh): Set signs of result from argument.
38043 * math/s_casinhf.c (__casinhf): Likewise.
38044 * math/s_casinhl.c (__casinhl): Likewise.
38045 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38046 (casinh_test): Add more tests.
38047 * sysdeps/i386/fpu/libm-test-ulps: Update.
38048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38049
482ff4da
UD
380502012-03-07 Ulrich Drepper <drepper@gmail.com>
38051
872fda05
UD
38052 * po/zh_TW.po: Update from translation team.
38053
a4300c7a
UD
38054 * login/Makefile (distribute): Remove variable.
38055 * catgets/Makefile: Likewise.
38056 * mach/Makefile: Likewise.
38057 * malloc/Makefile: Likewise.
38058 * misc/Makefile: Likewise.
38059 * iconv/Makefile: Likewise.
38060 * nscd/Makefile: Likewise.
38061 * hurd/Makefile: Likewise.
38062 * manual/Makefile: Likewise.
38063 * locale/Makefile: Likewise.
38064 * intl/Makefile: Likewise.
38065 * conform/Makefile: Likewise.
38066 * nss/Makefile: Likewise.
38067 * time/Makefile: Likewise.
38068 * soft-fp/Makefile: Likewise.
38069 * dirent/Makefile: Likewise.
38070 * gmon/Makefile: Likewise.
38071 * po/Makefile: Likewise.
38072 * rt/Makefile: Likewise.
38073 * socket/Makefile: Likewise.
38074 * math/Makefile: Likewise.
38075 * signal/Makefile: Likewise.
38076 * debug/Makefile: Likewise.
38077 * elf/Makefile: Likewise.
38078 * timezone/Makefile: Likewise.
38079 * stdlib/Makefile: Likewise.
38080 * iconvdata/Makefile: Likewise.
38081 * sunrpc/Makefile: Likewise.
38082 * io/Makefile: Likewise.
38083 * argp/Makefile: Likewise.
38084 * inet/Makefile: Likewise.
38085 * hesiod/Makefile: Likewise.
38086 * grp/Makefile: Likewise.
38087 * csu/Makefile: Likewise.
38088 * wctype/Makefile: Likewise.
38089 * crypt/Makefile: Likewise.
38090 * libio/Makefile: Likewise.
38091 * string/Makefile: Likewise.
38092 * nis/Makefile: Likewise.
38093 * resolv/Makefile: Likewise.
38094 * stdio-common/Makefile: Likewise.
38095 * wcsmbs/Makefile: Likewise.
38096 * dlfcn/Makefile: Likewise.
38097 * posix/Makefile: Likewise.
38098
3b7c4e74 38099 [BZ #6959]
482ff4da
UD
38100 * timezone/Makefile: Don't install timezone files, just the programs
38101 and scripts.
38102
f72ed77d
UD
381032012-03-06 Ulrich Drepper <drepper@gmail.com>
38104
a000466f
UD
38105 * nss/databases.def: Add missing gshadow entry.
38106
f72ed77d
UD
38107 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38108
a53b7a4e
MP
381092012-03-06 Marek Polacek <polacek@redhat.com>
38110
38111 [BZ #13726]
38112 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38113 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38114 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38115 * stdio-common/tst-long-dbl-fphex.c: New file.
38116
e9258400
DM
381172012-03-06 David S. Miller <davem@davemloft.net>
38118
38119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38120 (set_obp_int): New function.
38121 (get_obp_int): New function.
38122 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
38123 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38124 Avoid unused variable warnings on 'val' and use builtin_expect.
38125 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38126 __builtin_expect.
e9258400
DM
38127 (INLINE_CLONE_SYSCALL): Likewise.
38128
3bd2c723
DM
381292012-03-05 David S. Miller <davem@davemloft.net>
38130
38131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38132
bbb78d03
AS
381332012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38134
884c5db4
AS
38135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38136
bbb78d03
AS
38137 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38138 only for |x| >= 40.
38139 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38140
1c9f702a 381412012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
38142
38143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38144 Replace gettimeofday with __vdso_gettimeofday.
38145
7be16f82
RM
38146 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38147 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38148 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
38149
38150 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38151 time with __vdso_time.
38152
ed58a00f
JM
381532012-03-05 Joseph Myers <joseph@codesourcery.com>
38154
38155 * manual/lang.texi (size_t): Note types to which size_t may be
38156 equivalent with the GNU C Library, but do not describe when
38157 differences between them are significant.
38158
30ee4ced
AJ
381592012-03-05 Andreas Jaeger <aj@suse.de>
38160
38161 * sysdeps/i386/fpu/libm-test-ulps: Update.
38162
b7cd39e8
JM
381632012-03-05 Joseph Myers <joseph@codesourcery.com>
38164
38165 [BZ #3976]
38166 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38167 (__ieee754_pow): Save and restore rounding mode and use
38168 round-to-nearest for main computations.
38169 * math/libm-test.inc (pow_test_tonearest): New function.
38170 (pow_test_towardzero): Likewise.
38171 (pow_test_downward): Likewise.
38172 (pow_test_upward): Likewise.
38173 (main): Call the new functions.
38174 * sysdeps/i386/fpu/libm-test-ulps: Update.
38175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
38176
38177 [BZ #3976]
38178 * math/libm-test.inc (cosh_test_tonearest): New function.
38179 (cosh_test_towardzero): Likewise.
38180 (cosh_test_downward): Likewise.
38181 (cosh_test_upward): Likewise.
38182 (sinh_test_tonearest): Likewise.
38183 (sinh_test_towardzero): Likewise.
38184 (sinh_test_downward): Likewise.
38185 (sinh_test_upward): Likewise.
38186 (main): Call the new functions.
38187 * sysdeps/i386/fpu/libm-test-ulps: Update.
38188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38189
6c6a98c9
TV
381902012-03-05 Tom de Vries <tom@codesourcery.com>
38191
38192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38193 default stack guard is set in last bytes.
38194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38195
21bb2d2e 381962012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 38197
21bb2d2e 38198 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 38199
21bb2d2e
AJ
38200 [BZ #13656]
38201 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38202 possibly allocate from heap instead of stack.
38203 * stdio-common/bug-vfprintf-nargs.c: New file.
38204 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 38205
c6922934
AS
382062012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38207
38208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38209
bc957d53
MP
382102012-03-03 Marek Polacek <polacek@redhat.com>
38211
38212 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38213 * math/math_private.h: Likewise.
38214 * stdlib/tst-strtod.c: Likewise.
38215 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38216 * sysdeps/x86_64/bits/atomic.h: Likewise.
38217
6358490d
DM
382182012-03-02 David S. Miller <davem@davemloft.net>
38219
38220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38224 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38225 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38226 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38227 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38228
01ae168d
RM
382292012-03-02 Roland McGrath <roland@hack.frob.com>
38230
d9a17c07
RM
38231 [BZ #13792]
38232 * manual/examples/README: New file, says the example source files
38233 can be used under GPL>=2.
38234 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38235 line containing just "*/".
38236 * manual/examples/add.c: Add copyright header (GPL>=2).
38237 * manual/examples/argp-ex1.c: Likewise.
38238 * manual/examples/argp-ex2.c: Likewise.
38239 * manual/examples/argp-ex3.c: Likewise.
38240 * manual/examples/argp-ex4.c: Likewise.
38241 * manual/examples/atexit.c: Likewise.
38242 * manual/examples/db.c: Likewise.
38243 * manual/examples/dir.c: Likewise.
38244 * manual/examples/dir2.c: Likewise.
38245 * manual/examples/execinfo.c: Likewise.
38246 * manual/examples/filecli.c: Likewise.
38247 * manual/examples/filesrv.c: Likewise.
38248 * manual/examples/fmtmsgexpl.c: Likewise.
38249 * manual/examples/genpass.c: Likewise.
38250 * manual/examples/inetcli.c: Likewise.
38251 * manual/examples/inetsrv.c: Likewise.
38252 * manual/examples/isockad.c: Likewise.
38253 * manual/examples/longopt.c: Likewise.
38254 * manual/examples/memopen.c: Likewise.
38255 * manual/examples/memstrm.c: Likewise.
38256 * manual/examples/mkfsock.c: Likewise.
38257 * manual/examples/mkisock.c: Likewise.
38258 * manual/examples/mygetpass.c: Likewise.
38259 * manual/examples/pipe.c: Likewise.
38260 * manual/examples/popen.c: Likewise.
38261 * manual/examples/rprintf.c: Likewise.
38262 * manual/examples/search.c: Likewise.
38263 * manual/examples/select.c: Likewise.
38264 * manual/examples/setjmp.c: Likewise.
38265 * manual/examples/sigh1.c: Likewise.
38266 * manual/examples/sigusr.c: Likewise.
38267 * manual/examples/stpcpy.c: Likewise.
38268 * manual/examples/strdupa.c: Likewise.
38269 * manual/examples/strftim.c: Likewise.
38270 * manual/examples/strncat.c: Likewise.
38271 * manual/examples/subopt.c: Likewise.
38272 * manual/examples/swapcontext.c: Likewise.
38273 * manual/examples/termios.c: Likewise.
38274 * manual/examples/testopt.c: Likewise.
38275 * manual/examples/testpass.c: Likewise.
38276 * manual/examples/timeval_subtract.c: Likewise.
38277
01ae168d
RM
38278 [BZ #13792]
38279 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38280 function to ...
38281 * manual/timeval_subtract.c.texi: ... here, new file.
38282
49efa33d
DM
382832012-03-02 David S. Miller <davem@davemloft.net>
38284
38285 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38286
28afd92d
JM
382872012-03-02 Joseph Myers <joseph@codesourcery.com>
38288
804360ed
JM
38289 [BZ #3976]
38290 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38291 (__sin): Save and restore rounding mode and use round-to-nearest
38292 for all computations.
38293 (__cos): Save and restore rounding mode and use round-to-nearest
38294 for all computations.
38295 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38296 <fenv.h>.
38297 (tan): Save and restore rounding mode and use round-to-nearest for
38298 all computations.
38299 * math/libm-test.inc (cos_test_tonearest): New function.
38300 (cos_test_towardzero): Likewise.
38301 (cos_test_downward): Likewise.
38302 (cos_test_upward): Likewise.
38303 (sin_test_tonearest): Likewise.
38304 (sin_test_towardzero): Likewise.
38305 (sin_test_downward): Likewise.
38306 (sin_test_upward): Likewise.
38307 (tan_test_tonearest): Likewise.
38308 (tan_test_towardzero): Likewise.
38309 (tan_test_downward): Likewise.
38310 (tan_test_upward): Likewise.
38311 (main): Call the new functions.
38312 * sysdeps/i386/fpu/libm-test-ulps: Update.
38313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38314
a6d06d7b
JM
38315 [BZ #10135]
38316 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38317 small n, then large n, before computing and testing k+n.
38318 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38320 Likewise.
38321 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38322 Likewise.
38323 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38324 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38325 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38326 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38329 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38331 * math/libm-test.inc (scalbn_test): Add more tests.
38332 (scalbln_test): Likewise.
38333
07e12bb3
JM
38334 * manual/filesys.texi (mode_t): Describe constraints on size and
38335 signedness, not exact equivalence to a particular type.
38336 (ino_t): Likewise.
38337 (ino64_t): Likewise.
38338 (dev_t): Likewise.
38339 (nlink_t): Likewise.
38340 (blkcnt_t): Likewise.
38341 (blkcnt64_t): Likewise.
38342 * manual/llio.texi (off_t): Likewise.
38343
28afd92d
JM
38344 [BZ #3976]
38345 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38346 (__ieee754_exp): Save and restore rounding mode and use
38347 round-to-nearest for all computations.
38348 * math/libm-test.inc (exp_test_tonearest): New function.
38349 (exp_test_towardzero): Likewise.
38350 (exp_test_downward): Likewise.
38351 (exp_test_upward): Likewise.
38352 (main): Call the new functions.
38353 * sysdeps/i386/fpu/libm-test-ulps: Update.
38354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38355
b1eeb65d
CD
383562012-03-01 Chris Demetriou <cgd@google.com>
38357
38358 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38359 have predictable order.
38360
53362a4b
DM
383612012-03-01 David S. Miller <davem@davemloft.net>
38362
3c969083
DM
38363 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38364
759707de
DM
38365 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38366 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38367 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38368 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38369
dfdb8ff2
DM
38370 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38371 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38372 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38374 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38375 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38376 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38377 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38378 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38379
ead89f96
DM
38380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38381
7f66bd07
DM
38382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38383 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38384 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38385
53362a4b
DM
38386 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38387 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38388 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38389 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38390 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38393 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38394 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38395 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38396 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38399 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38400 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38402 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38403 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38404 * sysdeps/sparc/elf/configure: Regenerated.
38405
7b1902cb
JM
384062012-03-01 Joseph Myers <joseph@codesourcery.com>
38407
bec039bc
JM
38408 * configure.in (AS, LD): Require binutils 2.20 or later.
38409 * configure: Regenerated.
38410 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38411 as required minimum version.
38412 * INSTALL: Regenerated.
38413
7b1902cb
JM
38414 [BZ #2541]
38415 [BZ #4108]
38416 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38417 before squaring exponent.
38418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38419 bottom long double and 27 bits of top long double before squaring
38420 exponent.
38421 * math/libm-test.inc (erfc_test): Add more tests.
38422 * sysdeps/i386/fpu/libm-test-ulps: Update.
38423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38425
f775c276
KT
384262012-03-01 Kai Tietz <ktietz@redhat.com>
38427
38428 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38429 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38430 containing bit-fields.
38431 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38432 * soft-fp/single.h (_FP_UNION_S): Likewise.
38433 * soft-fp/double.h (_FP_UNION_D): Likewise.
38434
5b8a4d4a
JM
384352012-02-29 Joseph Myers <joseph@codesourcery.com>
38436
0bab47b6
JM
38437 [BZ #13786]
38438 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38439 not include ../strcmp.S.
38440 [USE_AS_STRNCASECMP_L]: Likewise.
38441 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38442 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38443 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38444 (__strncasecmp_l_ia32): Define as alias to
38445 __strncasecmp_l_nonascii.
38446
0fcad3e2
JM
38447 [BZ #5794]
38448 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38449 * sysdeps/i386/fpu/libm-test-ulps: Update.
38450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38451
5b8a4d4a
JM
38452 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38454
8fdceb2e
JL
384552012-02-29 Jeff Law <law@redhat.com>
38456
38457 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38458 out of bounds read.
38459
1f393a11
MP
384602012-02-29 Marek Polacek <polacek@redhat.com>
38461
38462 [BZ #13706]
38463 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38464 * elf/Makefile: Add rules to run tst-unused-dep.out.
38465
8847f037
DM
384662012-02-28 David S. Miller <davem@davemloft.net>
38467
38468 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38469 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38470 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38472 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38473 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38474
169d7f11
JM
384752012-02-29 Joseph Myers <joseph@codesourcery.com>
38476
38477 * math/libm-test.inc (llround_test): Move one test from
38478 lround_test. Use TEST_f_L in moved test.
38479 (lround_test): Move misplaced test to llround_test. Add testcase
38480 from bug 2561.
38481
39adf059
UD
384822012-02-28 Ulrich Drepper <drepper@gmail.com>
38483
38484 * sysdeps/x86_64/fpu/e_expf.S: New file.
38485 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38486
71b5d1c5
SB
384872012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38488
38489 [BZ #13637]
38490 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38491 of remain_len that may cause incomplete multi-byte character and
38492 false match.
38493 * posix/bug-regex33.c: New file.
38494 * posix/Makefile (tests): Add bug-regex33.
38495
1f77f049
JM
384962012-02-28 Joseph Myers <joseph@codesourcery.com>
38497
38498 * manual/macros.texi: New file.
38499 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38500 * manual/libc.texinfo: Include macros.texi.
38501 * manual/creatute.texi: Likewise.
38502 * manual/install.texi: Likewise.
38503 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38504 @glibcadj{} in references to the GNU C Library.
38505 * manual/charset.texi: Likewise.
38506 * manual/conf.texi: Likewise.
38507 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38508 when not using those macros.
38509 * manual/creature.texi: Likewise.
38510 * manual/crypt.texi: Likewise.
38511 * manual/errno.texi: Likewise.
38512 * manual/filesys.texi: Likewise.
38513 * manual/header.texi: Likewise.
38514 * manual/install.texi: Likewise.
38515 * manual/intro.texi: Likewise.
38516 * manual/io.texi: Likewise.
38517 * manual/job.texi: Likewise.
38518 * manual/lang.texi: Likewise.
38519 * manual/libc.texiinfo: Likewise.
38520 * manual/llio.texi: Likewise.
38521 * manual/locale.texi: Likewise.
38522 * manual/maint.texi: Likewise.
38523 * manual/math.texi: Likewise.
38524 * manual/memory.texi: Likewise.
38525 * manual/message.texi: Likewise.
38526 * manual/nss.texi: Likewise.
38527 * manual/pattern.texi: Likewise.
38528 * manual/process.texi: Likewise.
38529 * manual/resource.texi: Likewise.
38530 * manual/search.texi: Likewise.
38531 * manual/setjmp.texi: Likewise.
38532 * manual/signal.texi: Likewise.
38533 * manual/socket.texi: Likewise.
38534 * manual/startup.texi: Likewise.
38535 * manual/stdio.texi: Likewise.
38536 * manual/string.texi: Likewise.
38537 * manual/sysinfo.texi: Likewise.
38538 * manual/syslog.texi: Likewise.
38539 * manual/terminal.texi: Likewise.
38540 * manual/time.texi: Likewise.
38541 * manual/users.texi: Likewise.
38542 * INSTALL: Regenerated.
38543 * NOTES: Regenerated.
d40c5d54 38544 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 38545
450bf206
AS
385462012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38547
38548 * include/dirent.h: Include <dirstream.h> before
38549 <dirent/dirent.h>.
38550
741a235b
DM
385512012-02-28 David S. Miller <davem@davemloft.net>
38552
38553 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38554 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38555 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38556 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38557
d6b5aa58
DM
385582012-02-27 David S. Miller <davem@davemloft.net>
38559
1aff59a3
DM
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38562 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38563 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38564
d6b5aa58
DM
38565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38566 frame pointer instead of stack pointer relative arg slot.
38567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38568 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38569 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38570
433f48bf
CD
385712012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38572
38573 [BZ #3992]
38574 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38575
d674b76d
DM
385762012-02-27 David S. Miller <davem@davemloft.net>
38577
38578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38584 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38585 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38586
0e7727f7
JM
385872012-02-27 Joseph Myers <joseph@codesourcery.com>
38588
38589 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38590 later. Allow versions 5-9.
43be4ca2 38591 * configure: Regenerated.
0e7727f7
JM
38592 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38593 required minimum version and 4.6 as recommended version. Do not
38594 mention bugs in GCC 2.7 and 2.8.
43be4ca2 38595 * INSTALL: Regenerated.
0e7727f7 38596
a78bc654
DM
385972012-02-27 David S. Miller <davem@davemloft.net>
38598
428d5830
DM
38599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38605 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38606 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38607
a78bc654
DM
38608 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38609 manipulate bits before adding and subtracting TWO112[sx].
38610 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38611
4579f81c
RM
386122012-02-27 Roland McGrath <roland@hack.frob.com>
38613
36c8acb4
RM
38614 [BZ #13775]
38615 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38616 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38617 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38618 being in POSIX, because they are in 1003.1-2008.
38619
84ad622b
RM
38620 * rt/tst-aio.c: Include <fcntl.h>.
38621 * rt/tst-aio7.c: Likewise.
38622 * rt/tst-aio64.c: Likewise.
38623
4579f81c
RM
38624 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38625
abd923db
JM
386262012-02-27 Joseph Myers <joseph@codesourcery.com>
38627
38628 * manual/install.texi (--with-headers): Describe headers as
38629 interface headers, not private headers.
38630 (Specific advice for GNU/Linux systems): Describe use of headers
38631 from "make headers_install", not private headers from older
38632 kernels.
43be4ca2 38633 * INSTALL: Regenerated.
abd923db
JM
38634 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38635 Change to 2.6.19.
38636 * sysdeps/unix/sysv/linux/configure: Regenerated.
38637
6664049b
JM
38638 * manual/llio.texi (fclean): Remove documentation.
38639
bb8b6697
JM
38640 * manual/Makefile (libc-texi-generated): New variable. Include
38641 version.texi.
38642 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38643 $(libc-texi-generated), not duplicated list of files.
38644 (version.texi, stamp-version): New rules.
38645 (realclean): Remove $(libc-texi-generated), not individual files
38646 from that list. Do not remove dir-add.texinfo.
38647 * manual/libc.texinfo: Comment out uses of edition numbers and
38648 references to printed manual. Remove last-updated dates.
38649 (EDITION): Comment out.
38650 (ISBN): Likewise.
38651 (VERSION, UPDATED): Remove.
38652 (version.texi): Include.
38653
12e5c3b9
AS
386542012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38655
38656 * sysdeps/posix/spawni.c: Include <signal.h>.
38657 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38658 * sysdeps/pthread/aio_fsync.c: Likewise.
38659
4efeffc1 386602012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 38661
ba63ba08
UD
38662 * conform/Makefile (tests): Run only when not cross-compiling and
38663 when fast-check is not defined.
38664
d94a4670
UD
38665 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38666 * conform/data/limits.h-data: Fixes for POSIX2008.
38667 * conform/run-conformtest.sh: Run all tests.
38668 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38669 headers.
38670 * include/bits/dlfcn.h: Likewise.
38671 * include/langinfo.h: Likewise.
38672 * include/monetary.h: Likewise.
38673 * include/sys/poll.h: Likewise.
38674
38675 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38676 for __USE_GNU.
38677 * posix/spawn.h: Define __need_sigset_t.
38678 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38679 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38680 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38681 to get sigevent_t only.
38682 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38683 only for __USE_GNU.
38684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38685 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38686 process_vm_writev only for __USE_GNU.
38687 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
38688
38689 * conform/Makefile: For now ignore errors from run-conformtest.
38690 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38691 POSIX to avoid namespace pollution. Don't prepend headers.
38692 * conform/data/aio.h-data: Fixes for POSIX testing.
38693 * conform/data/fcntl.h-data: Likewise.
38694 * conform/data/glob.h-data: Likewise.
38695 * conform/data/grp.h-data: Likewise.
38696 * conform/data/pthread.h-data: Likewise.
38697 * conform/data/pwd.h-data: Likewise.
38698 * conform/data/signal.h-data: Likewise.
38699 * conform/data/spawn.h-data: Likewise.
38700 * conform/data/stdio.h-data: Likewise.
38701 * conform/data/stdlib.h-data: Likewise.
38702 * conform/data/stropts.h-data: Likewise.
38703 * conform/data/sys/mman.h-data: Likewise.
38704 * conform/data/sys/stat.h-data: Likewise.
38705 * conform/data/sys/types.h-data: Likewise.
38706 * conform/data/sys/wait.h-data: Likewise.
38707 * conform/data/time.h-data: Likewise.
38708 * conform/data/unistd.h-data: Likewise.
38709 * conform/data/utime.h-data: Likewise.
38710
38711 * io/sys/stat.h: fchmod was always in POSIX.
38712 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38713 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38714 * rt/aio.h: Define __need_timespec before including <time.h>.
38715 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38716 struct. Add forward declaration of pthread_attr_t and use it in
38717 sigevent.
38718 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38719 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38720 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38721 always remove CLK_TCK definition.
38722
c20105c3
AS
387232012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38724
38725 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38726
7a270350
UD
387272012-02-25 Ulrich Drepper <drepper@gmail.com>
38728
31341567
UD
38729 * conform/run-conformtest.sh: New file.
38730 * conform/Makefile: Run run-conformtest for tests.
38731 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38732 support.
38733
38734 * conform/data/uchar.h-data: New file.
38735 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38736 * conform/data/arpa/inet.h-data: Likewise.
38737 * conform/data/assert.h-data: Likewise.
38738 * conform/data/complex.h-data: Likewise.
38739 * conform/data/cpio.h-data: Likewise.
38740 * conform/data/ctype.h-data: Likewise.
38741 * conform/data/dirent.h-data: Likewise.
38742 * conform/data/dlfcn.h-data: Likewise.
38743 * conform/data/errno.h-data: Likewise.
38744 * conform/data/fcntl.h-data: Likewise.
38745 * conform/data/float.h-data: Likewise.
38746 * conform/data/fmtmsg.h-data: Likewise.
38747 * conform/data/fnmatch.h-data: Likewise.
38748 * conform/data/ftw.h-data: Likewise.
38749 * conform/data/glob.h-data: Likewise.
38750 * conform/data/grp.h-data: Likewise.
38751 * conform/data/iconv.h-data: Likewise.
38752 * conform/data/inttypes.h-data: Likewise.
38753 * conform/data/langinfo.h-data: Likewise.
38754 * conform/data/libgen.h-data: Likewise.
38755 * conform/data/limits.h-data: Likewise.
38756 * conform/data/locale.h-data: Likewise.
38757 * conform/data/math.h-data: Likewise.
38758 * conform/data/monetary.h-data: Likewise.
38759 * conform/data/mqueue.h-data: Likewise.
38760 * conform/data/ndbm.h-data: Likewise.
38761 * conform/data/net/if.h-data: Likewise.
38762 * conform/data/netdb.h-data: Likewise.
38763 * conform/data/netinet/in.h-data: Likewise.
38764 * conform/data/nl_types.h-data: Likewise.
38765 * conform/data/poll.h-data: Likewise.
38766 * conform/data/pthread.h-data: Likewise.
38767 * conform/data/pwd.h-data: Likewise.
38768 * conform/data/regex.h-data: Likewise.
38769 * conform/data/sched.h-data: Likewise.
38770 * conform/data/search.h-data: Likewise.
38771 * conform/data/semaphore.h-data: Likewise.
38772 * conform/data/setjmp.h-data: Likewise.
38773 * conform/data/signal.h-data: Likewise.
38774 * conform/data/spawn.h-data: Likewise.
38775 * conform/data/stdarg.h-data: Likewise.
38776 * conform/data/stdio.h-data: Likewise.
38777 * conform/data/stdlib.h-data: Likewise.
38778 * conform/data/string.h-data: Likewise.
38779 * conform/data/strings.h-data: Likewise.
38780 * conform/data/stropts.h-data: Likewise.
38781 * conform/data/sys/ipc.h-data: Likewise.
38782 * conform/data/sys/mman.h-data: Likewise.
38783 * conform/data/sys/msg.h-data: Likewise.
38784 * conform/data/sys/resource.h-data: Likewise.
38785 * conform/data/sys/select.h-data: Likewise.
38786 * conform/data/sys/sem.h-data: Likewise.
38787 * conform/data/sys/shm.h-data: Likewise.
38788 * conform/data/sys/socket.h-data: Likewise.
38789 * conform/data/sys/stat.h-data: Likewise.
38790 * conform/data/sys/statvfs.h-data: Likewise.
38791 * conform/data/sys/time.h-data: Likewise.
38792 * conform/data/sys/timeb.h-data: Likewise.
38793 * conform/data/sys/times.h-data: Likewise.
38794 * conform/data/sys/types.h-data: Likewise.
38795 * conform/data/sys/uio.h-data: Likewise.
38796 * conform/data/sys/un.h-data: Likewise.
38797 * conform/data/sys/utsname.h-data: Likewise.
38798 * conform/data/sys/wait.h-data: Likewise.
38799 * conform/data/syslog.h-data: Likewise.
38800 * conform/data/tar.h-data: Likewise.
38801 * conform/data/termios.h-data: Likewise.
38802 * conform/data/utime.h-data: Likewise.
38803 * conform/data/utmpx.h-data: Likewise.
38804 * conform/data/varargs.h-data: Likewise.
38805 * conform/data/wchar.h-data: Likewise.
38806 * conform/data/wctype.h-data: Likewise.
38807 * conform/data/wordexp.h-data: Likewise.
38808
38809 * include/stropts.h: New file.
38810 * include/uchar.h: New file.
38811 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38812 * include/assert.h: Likewise.
38813 * include/ctype.h: Likewise.
38814 * include/dirent.h: Likewise.
38815 * include/dlfcn.h: Likewise.
38816 * include/fcntl.h: Likewise.
38817 * include/fnmatch.h: Likewise.
38818 * include/glob.h: Likewise.
38819 * include/grp.h: Likewise.
38820 * include/libio.h: Likewise.
38821 * include/locale.h: Likewise.
38822 * include/math.h: Likewise.
38823 * include/net/if.h: Likewise.
38824 * include/netdb.h: Likewise.
38825 * include/netinet/in.h: Likewise.
38826 * include/pthread.h: Likewise.
38827 * include/pwd.h: Likewise.
38828 * include/regex.h: Likewise.
38829 * include/sched.h: Likewise.
38830 * include/search.h: Likewise.
38831 * include/setjmp.h: Likewise.
38832 * include/signal.h: Likewise.
38833 * include/stdio.h: Likewise.
38834 * include/stdlib.h: Likewise.
38835 * include/string.h: Likewise.
38836 * include/sys/cdefs.h: Likewise.
38837 * include/sys/mman.h: Likewise.
38838 * include/sys/msg.h: Likewise.
38839 * include/sys/resource.h: Likewise.
38840 * include/sys/select.h: Likewise.
38841 * include/sys/socket.h: Likewise.
38842 * include/sys/stat.h: Likewise.
38843 * include/sys/statvfs.h: Likewise.
38844 * include/sys/time.h: Likewise.
38845 * include/sys/times.h: Likewise.
38846 * include/sys/uio.h: Likewise.
38847 * include/sys/utsname.h: Likewise.
38848 * include/sys/wait.h: Likewise.
38849 * include/termios.h: Likewise.
38850 * include/time.h: Likewise.
38851 * include/ulimit.h: Likewise.
38852 * include/unistd.h: Likewise.
38853 * include/utime.h: Likewise.
38854 * include/wchar.h: Likewise.
38855 * include/wctype.h: Likewise.
38856 * include/wordexp.h: Likewise.
38857
38858 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38859
7a270350
UD
38860 * time/time.h: TIME_UTC must be a macro.
38861 Make timespec_get available for ISO C11 only as well.
38862
7724defc
UD
388632012-02-24 Ulrich Drepper <drepper@gmail.com>
38864
38865 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38866 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38867
6b1d1d46
JM
388682012-02-24 Joseph Myers <joseph@codesourcery.com>
38869
38870 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 38871
0f8bbd69
JM
388722012-02-24 Joseph Myers <joseph@codesourcery.com>
38873
38874 * manual/texinfo.tex: Update to version 2012-01-19.16.
38875
66ab80bc
JM
388762012-02-24 Joseph Myers <joseph@codesourcery.com>
38877
38878 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38879
74981cc5
RM
388802012-02-24 Roland McGrath <roland@hack.frob.com>
38881
ee968201
RM
38882 [BZ #13738]
38883 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38884 * manual/fdl-1.3.texi: New file.
38885 * manual/fdl-1.1.texi: File removed.
38886
74981cc5
RM
38887 [BZ #13738]
38888 * manual/libc.texinfo (FDL_VERSION): New @set.
38889 Use it for mention of FDL in cover text.
38890 (Documentation License): Use it in @include file name.
38891
7bb764bc
JM
388922012-02-22 Joseph Myers <joseph@codesourcery.com>
38893 Roland McGrath <roland@hack.frob.com>
38894
38895 [BZ #5461]
57f41c40
AS
38896 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38897 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
38898 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38899 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38900 name.
38901 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38902
6cbeae47
JM
389032012-02-22 Joseph Myers <joseph@codesourcery.com>
38904
38905 [BZ #2547]
38906 [BZ #11365]
38907 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38908 manipulate bits before adding and subtracting TWO23[sx].
38909 * math/libm-test.inc (nearbyint_test): Add more tests.
38910
fe45ce09
JM
389112012-02-22 Joseph Myers <joseph@codesourcery.com>
38912
38913 [BZ #2548]
38914 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38915 bits before adding and subtracting TWO23[sx].
38916 * math/libm-test.inc (rint_test): Add more tests.
38917 (rint_test_tonearest): Likewise.
38918 (rint_test_towardzero): Likewise.
38919 (rint_test_downward): Likewise.
38920 (rint_test_upward: Likewise.
38921
ff3b3d82
JM
389222012-02-22 Joseph Myers <joseph@codesourcery.com>
38923
38924 [BZ #10110]
38925 * include/stdc-predef.h: New file. Extracted from features.h.
38926 * include/features.h: Include stdc-predef.h.
38927 * Makefile (headers): Add stdc-predef.h.
38928 * CONFORMANCE (Compiler limitations): Update.
38929
ef0aab35
JM
389302012-02-22 Joseph Myers <joseph@codesourcery.com>
38931
38932 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38933
58639409
DM
389342012-02-21 David S. Miller <davem@davemloft.net>
38935
38936 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38937 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38938
c0e70b25
DM
389392012-02-20 David S. Miller <davem@davemloft.net>
38940
38941 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38942 using a normal save/restore sequence, rather than allocating a
38943 dummy stack frame just to store a frame pointer and restore.
38944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38945
fb06851d
JM
389462012-02-21 Joseph Myers <joseph@codesourcery.com>
38947
38948 * manual/install.texi: Fix stray word in line-wrapped comment.
38949
7a8b71c3
DM
389502012-02-20 David S. Miller <davem@davemloft.net>
38951
d510c123
DM
38952 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38953 both binutils and gcc support GOTDATA.
38954
0722d7c2
DM
38955 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38956 "rd %pc" in the PIC register setup sequences.
38957
3d2b3019
DM
38958 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38959 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38960 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38961 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38962 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38964 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38967 (SYSCALL_ERROR_HANDLER): Likewise.
38968 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38969 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38971 (SYSCALL_ERROR_HANDLER): Likewise.
38972
c80098a9
DM
38973 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38974 (HAVE_GCC_GOTDATA): New.
38975 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38976 relocation support in both binutils and gcc.
38977 * sysdeps/sparc/elf/configure: Regenerate.
38978
3a2545a0
DM
38979 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38980 * sysdeps/sparc/sparc32/elf/configure: Delete.
38981 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38982 * sysdeps/sparc/sparc64/elf/configure: Delete.
38983 * sysdeps/sparc/elf/configure.in: New file.
38984 * sysdeps/sparc/elf/configure: Generate.
38985
7a8b71c3
DM
38986 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38987 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38988 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38989 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38990 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38991
f1e86fca
JM
389922012-02-21 Joseph Myers <joseph@codesourcery.com>
38993
38994 * manual/install.texi: Do not mention specific glibc version
38995 numbers.
38996 * manual/libc.texinfo (VERSION, UPDATED): Update.
38997 (@copying): Use @copyright{} and range of years.
38998
0e7dfaef
JM
389992012-02-21 Joseph Myers <joseph@codesourcery.com>
39000
39001 [BZ #13695]
39002 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39003 [crti.S not in sysdirs] (generated): Do not append.
39004 [crti.S not in sysdirs] (omit-deps): Likewise.
39005 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39006 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39007 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39008 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39009 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39010 Likewise.
39011 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39012 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39013 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39014 * csu/defs.awk: Remove file.
39015 * sysdeps/generic/initfini.c: Likewise.
39016 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39017 variable.
39018 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39019 Likewise.
39020
599af3ca
JM
390212012-02-20 Joseph Myers <joseph@codesourcery.com>
39022
39023 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39024 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39025 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39027 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39028 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39029 <bits/epoll.h>.
39030 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39031 (__EPOLL_PACKED): Define to empty if not defined by
39032 <bits/epoll.h>.
39033 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39035 bits/epoll.h.
39036
0e499750
JM
390372012-02-20 Joseph Myers <joseph@codesourcery.com>
39038
39039 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39040 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39041 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39042 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39043 <bits/timerfd.h>.
39044 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39046 bits/timerfd.h.
39047
5ad91f6e
JM
390482012-02-20 Joseph Myers <joseph@codesourcery.com>
39049
39050 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39051 in C locale.
39052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39053 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39054 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39056
06b99b02
AJ
390572012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39058
39059 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39060 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39061
7638c0fd
AS
390622012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39063
39064 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39065 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39066 defined.
39067 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39068 Likewise.
39069 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39070 entry for 2.16.
39071
92221550
AJ
390722012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39073
39074 * math/w_acos.c: Use non-signaling floating-point comparisons.
39075 * math/w_acosf.c: Likewise.
39076 * math/w_acosh.c: Likewise.
39077 * math/w_acoshf.c: Likewise.
39078 * math/w_acoshl.c: Likewise.
39079 * math/w_acosl.c: Likewise.
39080 * math/w_asin.c: Likewise.
39081 * math/w_asinf.c: Likewise.
39082 * math/w_asinl.c: Likewise.
39083 * math/w_atanh.c: Likewise.
39084 * math/w_atanhf.c: Likewise.
39085 * math/w_atanhl.c: Likewise.
39086 * math/w_exp2.c: Likewise.
39087 * math/w_exp2f.c: Likewise.
39088 * math/w_exp2l.c: Likewise.
39089 * math/w_j0.c: Likewise.
39090 * math/w_j0f.c: Likewise.
39091 * math/w_j0l.c: Likewise.
39092 * math/w_j1.c: Likewise.
39093 * math/w_j1f.c: Likewise.
39094 * math/w_j1l.c: Likewise.
39095 * math/w_jn.c: Likewise.
39096 * math/w_jnf.c: Likewise.
39097 * math/w_log.c: Likewise.
39098 * math/w_log10.c: Likewise.
39099 * math/w_log10f.c: Likewise.
39100 * math/w_log10l.c: Likewise.
39101 * math/w_log2.c: Likewise.
39102 * math/w_log2f.c: Likewise.
39103 * math/w_log2l.c: Likewise.
39104 * math/w_logf.c: Likewise.
39105 * math/w_logl.c: Likewise.
39106 * math/w_sqrt.c: Likewise.
39107 * math/w_sqrtf.c: Likewise.
39108 * math/w_sqrtl.c: Likewise.
39109 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39110 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39112 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39113 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39114
ebaf36eb
JM
391152012-02-19 Joseph Myers <joseph@codesourcery.com>
39116
39117 [BZ #9739]
39118 * manual/string.texi (strnlen): Use correct parameter name in
39119 equivalent expression.
39120
71c254a6
JM
391212012-02-19 Joseph Myers <joseph@codesourcery.com>
39122
39123 [BZ #11174]
39124 * manual/users.texi (seteuid): Consistently use neweuid for
39125 argument name.
39126
16d2c631
JM
391272012-02-19 Joseph Myers <joseph@codesourcery.com>
39128
39129 [BZ #13704]
39130 * manual/nss.texi (Services in the NSS configuration): Correct
39131 list of services in example configuration file.
39132
cd837b09
NB
391332012-02-19 Nick Bowler <nbowler@draconx.ca>
39134
39135 [BZ #11322]
39136 * manual/arith.texi: Remove statements about negative zero
39137 behaving identically to zero.
39138
02c4bbad
JM
391392012-02-18 Joseph Myers <joseph@codesourcery.com>
39140
39141 [BZ #5993]
39142 * manual/install.texi: Do not document upgrading from libc5.
39143
366842e7
JM
391442012-02-18 Joseph Myers <joseph@codesourcery.com>
39145
39146 [BZ #4596]
39147 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39148
dd54084d
DM
391492012-02-18 David S. Miller <davem@davemloft.net>
39150
39151 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39152 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39153 %o7 across the call.
39154 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39155 instead.
39156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39157 SETUP_PIC_REG_LEAF.
39158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39159 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39160 * sysdeps/sparc/crtn.S: Likewise.
39161
2bcc53a3
UD
391622012-02-17 Ulrich Drepper <drepper@gmail.com>
39163
39164 * aout/Makefile: Remove.
39165
09c093b5
RK
391662012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39167
39168 [BZ #13058]
39169 * manual/examples/argp-ex1.c (main): Format definition in GNU
39170 style.
39171 * manual/examples/argp-ex2.c (main): Likewise.
39172 * manual/examples/argp-ex3.c (main): Likewise.
39173 * manual/examples/argp-ex4.c (main): Likewise.
39174 * manual/examples/longopt.c (main): Use new-style prototype
39175 definition.
39176 * manual/examples/strncat.c (main): Specify return type and use
39177 (void) for arguments.
39178 * manual/examples/subopt.c (main): Use char **argv argument.
39179
2ee633a2
JM
391802012-02-17 Joseph Myers <joseph@codesourcery.com>
39181
39182 [BZ #5077]
39183 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39184 rounding modes.
39185
0520adde
FB
391862012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39187
39188 [BZ #6907]
39189 * manual/string.texi (strchr): Change when strchrnul is
39190 recommended.
39191
3f4081cd
DGM
391922012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39193
39194 [BZ #174]
39195 * manual/locale.texi (setlocale): Document LOCPATH.
39196
d1b10e78
JM
391972012-02-17 Joseph Myers <joseph@codesourcery.com>
39198
39199 [BZ #10210]
39200 * manual/process.texi (execle): Move @dots{} before last argument.
39201
79c6869c
PB
392022012-02-17 Paul Bolle <pebolle@tiscali.nl>
39203
39204 [BZ #12047]
39205 * manual/charset.texi (Generic Charset Conversion): Fix typo
39206 (LC_TYPE -> LC_CTYPE).
39207
cc6e48bc
NB
392082012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39209
39210 [BZ #5805]
39211 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39212 (scalbnf): Likewise.
39213 (scalbnl): Likewise.
39214 (scalbln): Likewise.
39215 (scalblnf): Likewise.
39216 (scalblnl): Likewise.
39217 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39218 (vwarnx): Likewise.
39219 (verr): Likewise.
39220 (verrx): Likewise.
39221 * manual/filesys.texi (telldir): Use braces around return type.
39222 * manual/llio.texi (mmap): Add space after comma.
39223 (mmap64): Likewise.
39224 * manual/math.texi (jn): Use @var{} on parameter names.
39225 (jnf): Likewise.
39226 (jnl): Likewise.
39227 (yn): Likewise.
39228 (ynf): Likewise.
39229 (ynl): Likewise.
39230 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39231 line.
39232 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39233 "...".
39234 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39235 (sched_get_priority_max): Likewise.
39236 * manual/signal.texi (sigvec): Add space after comma.
39237 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39238 names.
39239 (if_indextoname): Likewise.
39240 (if_freenameindex): Likewise.
39241 (sendto): Use ',' instead of '.' in prototype.
39242 * manual/startup.texi (syscall): Use @dots{} instead of literal
39243 "...".
39244 * manual/stdio.texi (__fpending): Separate initial words of
39245 paragraph from @deftypefun line.
39246 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39247 "...".
39248 (vsyslog): Use @var{} on parameter names.
39249 * manual/terminal.texi (stty): Use @var{} on parameter names.
39250 * manual/users.texi (getutmp): Use @var{} on parameter names.
39251 (getutmpx): Likewise.
39252
5b23062f
JM
392532012-02-17 Joseph Myers <joseph@codesourcery.com>
39254
39255 [BZ #6884]
39256 * manual/stdio.texi (fopen): Fix typos in description of
39257 ",ccs=STRING".
39258
8dee4833
AJ
392592012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39260
39261 [BZ #4026]
39262 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39263 get clock_id definition.
39264
9078ce93
TS
392652012-02-17 Thomas Schwinge <thomas@schwinge.name>
39266
39267 [BZ #4822]
39268 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39269 (madvise): Cast every argument to void on its own.
39270
3835c55f
JM
392712012-02-17 Joseph Myers <joseph@codesourcery.com>
39272
39273 [BZ #9902]
39274 * manual/startup.texi (Exit Status): Fix typo.
39275
35c47e37
JM
392762012-02-17 Joseph Myers <joseph@codesourcery.com>
39277
39278 [BZ #10140]
39279 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39280 * manual/examples/argp-ex2.c: Likewise.
39281 * manual/examples/argp-ex3.c: Likewise.
39282
e3b69ca7
RH
392832012-02-16 Richard Henderson <rth@redhat.com>
39284
39285 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39286 * sysdeps/s390/s390-32/initfini.c: Remove.
39287 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39288 * sysdeps/s390/s390-64/initfini.c: Remove.
39289
df83af67
KK
392902012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39291
39292 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39293 compiler output for sysdeps/generic/initfini.c.
39294 * sysdeps/sh/elf/initfini.c: Remove file.
39295
f63f3380
DM
392962012-02-16 David S. Miller <davem@davemloft.net>
39297
fb59b3a4
DM
39298 [BZ #11494]
39299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39300
f63f3380
DM
39301 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39302 * sysdeps/sparc/crti.S: New file.
39303 * sysdeps/sparc/crtn.S: New file.
39304 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39305 * sysdeps/sparc/sparc64/Makefile: Likewise.
39306
df6a4a4a
MF
393072012-02-15 Mike Frysinger <vapier@gentoo.org>
39308
6dd8f3dc 39309 [BZ #3335]
df6a4a4a
MF
39310 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39311
1cac7236
RM
393122012-02-15 Roland McGrath <roland@hack.frob.com>
39313
d2c736f8
RM
39314 [BZ #4822]
39315 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39316
1cac7236
RM
39317 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39318 (write, read, close): Likewise.
39319 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39320
8e475601
JM
393212012-02-15 Joseph Myers <joseph@codesourcery.com>
39322
39323 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39324 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39325 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39326 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39327 <bits/signalfd.h>.
39328 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39330 bits/signalfd.h.
39331
ed656b40
MP
393322012-02-14 Marek Polacek <polacek@redhat.com>
39333
39334 * sysdeps/x86_64/crti.S: New file.
39335 * sysdeps/x86_64/crtn.S: New file.
39336 * sysdeps/x86_64/elf/initfini.c: Remove file.
39337
2a979d3a
JM
393382012-02-13 Joseph Myers <joseph@codesourcery.com>
39339
39340 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39341 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39342 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39343 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39344 <bits/inotify.h>.
39345 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39347 bits/inotify.h.
39348
2a418ac3
JM
393492012-02-13 Joseph Myers <joseph@codesourcery.com>
39350
39351 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39352 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39353 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39354 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39355 <bits/eventfd.h>.
39356 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39358 bits/eventfd.h.
39359
fb779be7
TS
393602012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39361
e19e83c5
RM
39362 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39363 __feraiseexcept instead of feraiseexcept.
7c35ffed 39364
fb779be7
TS
39365 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39366 nanosleep invocations.
39367 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39368 strings, and add error checking for a nanosleep invocations.
39369
59ba27a6
PE
393702012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39371
39372 Replace FSF snail mail address with URLs, as per GNU coding standards.
39373 Most of the snail mail addresses were wrong anyway, and omitting
39374 them makes the source code easier to maintain. Almost all of the
39375 changes are to license notices and to locale LC_IDENTIFICATION
39376 addresses, except for this one:
39377 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39378 not its snail mail address.
39379
57b957eb
RH
393802012-02-09 Richard Henderson <rth@twiddle.net>
39381
af850b1c
RH
39382 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39383 of kernel-features.h.
39384
57b957eb
RH
39385 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39386
6b73181a
MP
393872012-02-08 Marek Polacek <polacek@redhat.com>
39388
39389 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39390 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39391 * sysdeps/gnu/_G_config.h: Likewise.
39392 * sysdeps/generic/_G_config.h: Likewise.
39393
26ecc33a
AS
393942012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39395
6c6dbc63
AS
39396 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39397 tests.
39398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39399
e216c012
AS
39400 * sysdeps/powerpc/powerpc32/crti.S: New file.
39401 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39402 * sysdeps/powerpc/powerpc64/crti.S: New file.
39403 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39404
26ecc33a
AS
39405 * Makeconfig (have-initfini): Don't set.
39406 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39407 * configure.in (nopic_initfini): Don't substitute.
39408 * config.h.in (HAVE_INITFINI): Don't #undef.
39409 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39410 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39411
3add8e13
JM
394122012-02-08 Joseph Myers <joseph@codesourcery.com>
39413
39414 Support crti.S and crtn.S provided directly by architectures.
39415 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39416 [crti.S in sysdirs] (omit-deps): Likewise.
39417 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39418 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39419 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39420 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39421 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39422 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39423 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39424 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39425 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39426 compiler output for sysdeps/generic/initfini.c.
39427 * sysdeps/i386/elf/Makefile: Remove file.
39428 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39429
a22f12b4
MP
394302012-02-07 Marek Polacek <polacek@redhat.com>
39431
39432 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39433 * sysdeps/gnu/_G_config.h: Likewise.
39434 * sysdeps/mach/hurd/_G_config.h: Likewise.
39435
148cf100
MP
394362012-02-07 Marek Polacek <polacek@redhat.com>
39437
39438 * math/Makefile (tests): Add tst-CMPLX2.
39439 * math/tst-CMPLX2.c: New file.
39440
cfdc0dd7
AS
394412012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39442
84ba42c4
AS
39443 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39444
cfdc0dd7
AS
39445 * math/libm-test.inc (jn_test): Add missing L suffix.
39446
622c86f4
MP
394472012-02-06 Marek Polacek <polacek@redhat.com>
39448
39449 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39450 * sysdeps/i386/fpu/e_powf.S: Likewise.
39451 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39452 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39453 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39454 * sysdeps/i386/fpu/e_pow.S: Likewise.
39455 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39456 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39457 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39458 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39459 * sysdeps/i386/fpu/e_log2.S: Likewise.
39460 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39461 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39462 * sysdeps/i386/fpu/e_powl.S: Likewise.
39463 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39464 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39465 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39466 * sysdeps/i386/fpu/e_logl.S: Likewise.
39467 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39468 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39469 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39470 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39471 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39472 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39473 * sysdeps/i386/fpu/e_log.S: Likewise.
39474 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39475 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39476 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39477 * sysdeps/i386/fpu/e_logf.S: Likewise.
39478 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39480 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39481 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39482 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39483 * sysdeps/i386/fpu/e_log10.S: Likewise.
39484 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39485 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39486 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39487 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39488 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39489 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39490 * sysdeps/i386/asm-syntax.h: Likewise.
39491 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39492 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39493 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39494 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39495 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39496 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39497 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39498 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39499 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39500 * sysdeps/powerpc/sysdep.h: Likewise.
39501 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39502 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39503
d4a54ac6
JM
395042012-02-06 Joseph Myers <joseph@codesourcery.com>
39505
39506 [BZ #411]
39507 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39508
314054ea
JM
395092012-02-06 Joseph Myers <joseph@codesourcery.com>
39510
39511 * sysdeps/i386/sysdep.h: Include <features.h>.
39512 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39513 version.
39514
d8e0ca50
JM
395152012-02-05 Joseph Myers <joseph@codesourcery.com>
39516
39517 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39518 Define.
39519 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39520 LOAD_PIC_REG_STR.
39521
b1da7dd9
JM
395222012-02-03 Joseph Myers <joseph@codesourcery.com>
39523
39524 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39525 (SETUP_PIC_REG): Use GET_PC_THUNK.
39526 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39527 macro.
39528
9a1d9254
JM
395292012-02-03 Joseph Myers <joseph@codesourcery.com>
39530
39531 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39532 for non-PIC compilation.
39533 (SETUP_PIC_REG): Add .p2align directive.
39534 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39535 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39536 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39537 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39538 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39539 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39540 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39542 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39543 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39544 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39545 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39546 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39547 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39548 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39549 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39550 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39551 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39552 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39553 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39554 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39556 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39557 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39558 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39560 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39561 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39562 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39563 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39564 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39565 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39566 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39567 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39568 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39569 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39570 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39571 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39572 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39573 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39574 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39575
65dc3b75
JM
395762012-02-03 Joseph Myers <joseph@codesourcery.com>
39577
39578 * math/tst-CMPLX.c: Include <stdio.h>.
39579
d55bf177
JM
395802012-01-31 Joseph Myers <joseph@codesourcery.com>
39581
39582 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39583 float.
39584 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39585 * sysdeps/sparc/bits/mathdef.h: Likewise.
39586
69db4f8f
MP
395872012-01-31 Marek Polacek <polacek@redhat.com>
39588
39589 * libio/libio.h: Don't define _PARAMS.
39590 * locale/programs/config.h: Don't define PARAMS.
39591 * stdlib/strtol_l.c: Likewise.
39592 (__strtol_l): Remove PARAMS from the prototype.
39593
41b81892
UD
395942012-01-31 Ulrich Drepper <drepper@gmail.com>
39595
3b49edc0
UD
39596 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39597 names. Just use the correct names. Remove unnecessary wrapper
39598 functions.
39599 * malloc/arena.c: Likewise.
39600 * malloc/hooks.c: Likewise.
39601
41b81892
UD
39602 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39603 ARENA_TEST says not to. Simplify test for creation of a new arena.
39604 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39605
27a25b6e
UD
396062012-01-30 Ulrich Drepper <drepper@gmail.com>
39607
39608 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39609 into tail calls.
39610 (update_get_addr): New function.
39611 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39612 GET_ADDR_MODULE parameter.
39613
c8a89e7d
JM
396142012-01-30 Joseph Myers <joseph@codesourcery.com>
39615
39616 * crypt/cert.c: Remove __STDC__ conditionals.
39617 * crypt/crypt-entry.c: Likewise.
39618 * crypt/crypt_util.c: Likewise.
39619 * libio/filedoalloc.c: Likewise.
39620 * libio/fileops.c: Likewise.
39621 * libio/genops.c: Likewise.
39622 * libio/iofclose.c: Likewise.
39623 * libio/iofdopen.c: Likewise.
39624 * libio/iofopen.c: Likewise.
39625 * libio/iofopen64.c: Likewise.
39626 * libio/iogetdelim.c: Likewise.
39627 * libio/iopopen.c: Likewise.
39628 * libio/obprintf.c: Likewise.
39629 * libio/oldfileops.c: Likewise.
39630 * libio/oldiofclose.c: Likewise.
39631 * libio/oldiofdopen.c: Likewise.
39632 * libio/oldiofopen.c: Likewise.
39633 * libio/oldiopopen.c: Likewise.
39634 * libio/wfiledoalloc.c: Likewise.
39635 * libio/wgenops.c: Likewise.
39636 * locale/programs/xmalloc.c: Likewise.
39637 * misc/syslog.c: Likewise.
39638 * stdio-common/xbug.c: Likewise.
39639 * string/memchr.c: Likewise.
39640 * string/memcmp.c: Likewise.
39641 * string/memrchr.c: Likewise.
39642 * string/rawmemchr.c: Likewise.
39643 * sysdeps/posix/getcwd.c: Likewise.
39644 * time/strftime_l.c: Likewise.
39645
3b100462
JM
396462012-01-30 Joseph Myers <joseph@codesourcery.com>
39647
39648 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
39649 * config.make.in (config-cflags-sse2avx): Define.
39650 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39651 Fix typo.
39652
607998af
CM
396532012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39654
39655 * scripts/config.guess: Update from upstream config git repository.
39656 * scripts/config.sub: Likewise.
39657
3601428f
CM
396582012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39659
3ac8b282
CM
39660 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39661 (EM_NUM): Update.
39662 (R_TILEPRO_*, R_TILEGX_*): New macros.
39663
e034841e
CM
39664 * scripts/firstversions.awk: Fix bug in version range handling.
39665
540d7568
CM
39666 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39667
3601428f
CM
39668 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39669
463de862
CM
39670 * include/sys/epoll.h: New file.
39671 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39672 libc_hidden_def.
39673
73139a76
UD
396742012-01-28 Ulrich Drepper <drepper@gmail.com>
39675
96bc5b45
UD
39676 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39677 Avoid unnecessary __WORDSIZE == 64 test.
39678 (fmaxf): Use VEX format if possible.
39679 (fmax): Likewise.
39680 (fminf): Likewise.
39681 (fmin): Likewise.
39682
56f6f6a2
UD
39683 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39684 * math/math_private.h: Remove libc_fegetround* and
39685 libc_fesetround*.
39686 * sysdeps/i386/configure.in: Check for -msse2avx.
39687 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39688 also if SSE2AVX is defined.
39689 Remove libc_fegetround* and libc_fesetround*.
39690 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39691 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39692 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39693 of HAS_YMM_USABLE.
39694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39695 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39696 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39698 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39699
73139a76
UD
39700 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39701
d73f93a4
AZ
397022012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39703
39704 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39705 size is not set.
39706 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39707
6ee65ed6
UD
397082012-01-27 Ulrich Drepper <drepper@gmail.com>
39709
39710 [BZ #13618]
39711 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39712 relocation.
39713 * Makeconfig (libm): Define.
39714 * elf/Makefile: Add rules to build and run tst-relsort1.
39715 * elf/tst-relsort1.c: New file.
39716 * elf/tst-relsort1mod1.c: New file.
39717 * elf/tst-relsort1mod2.c: New file.
39718
8db21882
JM
397192012-01-27 Joseph Myers <joseph@codesourcery.com>
39720
39721 * math/s_ldexp.c: Remove __STDC__ conditionals.
39722 * math/s_ldexpf.c: Likewise.
39723 * math/s_ldexpl.c: Likewise.
39724 * math/s_nextafter.c: Likewise.
39725 * math/s_nexttowardf.c: Likewise.
39726 * math/s_significand.c: Likewise.
39727 * math/s_significandf.c: Likewise.
39728 * math/s_significandl.c: Likewise.
39729 * math/w_jnl.c: Likewise.
39730 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39731 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39732 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39733 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39734 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39736 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39739 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39740 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39741 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39742 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39749 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39750 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39751 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39752 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39754 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39755 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39756 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39757 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39758 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39759 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39760 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39761 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39762 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39763 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39764 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39765 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39766 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39767 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39768 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39769 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39770 * sysdeps/ieee754/k_standard.c: Likewise.
39771 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39772 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39773 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39775 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39777 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39780 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39781 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39782 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39784 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39786 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39787 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39789 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39790 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39794 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39796 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39832 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39837 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39843 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39846 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39848 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39850 * sysdeps/ieee754/s_matherr.c: Likewise.
39851 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39852 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39855
965a54a4
JM
398562012-01-26 Joseph Myers <joseph@codesourcery.com>
39857
39858 * crypt/md5.h: Remove __STDC__ conditionals.
39859 * libio/libioP.h: Likewise.
39860 * locale/programs/config.h: Likewise.
39861 * sysdeps/generic/sysdep.h: Likewise.
39862 * sysdeps/i386/asm-syntax.h: Likewise.
39863 * sysdeps/s390/asm-syntax.h: Likewise.
39864 * sysdeps/unix/sysdep.h: Likewise.
39865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39867
7071ad79
JM
398682012-01-26 Joseph Myers <joseph@codesourcery.com>
39869
39870 * libio/libio.h: Remove __STDC__ conditionals.
39871 * malloc/obstack.h: Likewise.
39872 * math/complex.h: Likewise.
39873 * math/math.h: Likewise.
39874 * sysdeps/generic/_G_config.h: Likewise.
39875 * sysdeps/gnu/_G_config.h: Likewise.
39876 * sysdeps/mach/hurd/_G_config.h: Likewise.
39877 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39878 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39879 * sysdeps/sparc/bits/mathdef.h: Likewise.
39880
afc5ed09
UD
398812012-01-26 Ulrich Drepper <drepper@gmail.com>
39882
39883 [BZ #13583]
39884 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 39885 Clean up HAS_* macros.
afc5ed09 39886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
39887 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39888 possible.
39889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39890 HAS_AVX.
39891 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39892 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39893 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39894 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39895 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 39896
bdb6de1d
JM
398972012-01-25 Joseph Myers <joseph@codesourcery.com>
39898
39899 * elf/tst-unique3.cc (gets): Remove declaration.
39900 * elf/tst-unique3lib.cc (gets): Likewise.
39901 * elf/tst-unique3lib2.cc (gets): Likewise.
39902 * elf/tst-unique4.cc (gets): Likewise.
39903
b15549e6
UD
399042012-01-24 Ulrich Drepper <drepper@gmail.com>
39905
39906 * include/stdio.h: Add C++ protection. Add gets declarations and
39907 definitions.
39908 * debug/tst-chk1.c: Don't declare gets here.
39909 * stdio-common/tst-gets.c: Likewise.
39910
a037381f
JM
399112012-01-24 Joseph Myers <joseph@codesourcery.com>
39912
39913 * posix/glob: Remove directory.
39914
f1d4aa75
JM
399152012-01-24 Joseph Myers <joseph@codesourcery.com>
39916
39917 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39918
81c0c964
PT
399192012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39920
39921 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39922 of the non-standard EPFNOSUPPORT.
39923
0ea698ae
ST
399242011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39925
39926 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39927 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39928 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39929
d220b117
UD
399302012-01-21 Ulrich Drepper <drepper@gmail.com>
39931
39932 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39933
3e1aa84e
UD
399342012-01-20 Ulrich Drepper <drepper@gmail.com>
39935
39936 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39937 transient errors.
39938 * nscd/grpcache.c (cache_addgr): Likewise.
39939 * nscd/hstcache.c (cache_addhst): Likewise.
39940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39941 * nscd/pwdcache.c (cache_addpw): Likewise.
39942 * nscd/servicescache.c (cache_addserv): Likewise.
39943
400aa020
UD
399442012-01-16 Ulrich Drepper <drepper@gmail.com>
39945
d77e7869
UD
39946 * malloc/malloc.c: Various cleanups.
39947 * malloc/hooks.c: Likewise.
39948
400aa020
UD
39949 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39950 * stdlib/bug-fmtmsg1.c: New file.
39951
39952 * stdlib/fmtmsg.c (init): Add missing unlock.
39953 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39954
e0a309cf
MP
399552012-01-12 Marek Polacek <polacek@redhat.com>
39956
39957 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39958 and _GNU_SOURCE.
39959
929d11c7
WS
399602012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39961
39962 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39963 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39964 macro to ensure uniqueness of label name.
39965 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39966 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39967
41d0e869
UD
399682012-01-11 Ulrich Drepper <drepper@gmail.com>
39969
0cc5ed3b
UD
39970 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39971
41d0e869
UD
39972 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39973 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39974 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39976
a47a831a
UD
399772012-01-10 Ulrich Drepper <drepper@gmail.com>
39978
daa891c0
UD
39979 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39980
39981 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39982 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39983 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39984
e58ef0f2
UD
39985 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39986
a47a831a 39987 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
39988 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39989 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 39990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
39991
39992 * math/bits/math-finite.h: Add ldexp support.
39993
a0bfc9c7
MP
399942012-01-10 Marek Polacek <polacek@redhat.com>
39995
39996 * locale/programs/localedef.h (show_archive_content): Add noreturn
39997 attribute.
39998
d6e97a1d
UD
399992012-01-09 Ulrich Drepper <drepper@gmail.com>
40000
40001 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40002
d5835c26
UD
400032012-01-08 Ulrich Drepper <drepper@gmail.com>
40004
e5f484c6
UD
40005 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40006
d5835c26
UD
40007 * io/Makefile (headers): Add bits/poll2.h.
40008
d1f741e9
WS
400092011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40010
40011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40012 typo #include statement.
40013
ec09c1c4
UD
400142012-01-08 Ulrich Drepper <drepper@gmail.com>
40015
40016 * include/sys/cdefs.h: Define __attribute_alloc_size.
40017 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40018 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40019 * elf/pldd.c: Likewise.
40020 * iconv/iconv_charmap.c: Likewise.
40021 * iconv/iconvconfig.c: Likewise.
40022 * iconv/strtab.c: Likewise.
40023 * locale/programs/locale.c: Likewise.
40024 * locale/programs/localedef.h: Likewise.
40025 * locale/programs/simple-hash.c: Likewise.
40026 * nscd/nscd.h: Likewise.
40027 * nss/makedb.c: Likewise.
40028 * sysdeps/generic/ldconfig.h: Likewise.
40029 * locale/programs/localedef.c: Remove xmalloc prototype.
40030 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40031
20b38e03
PP
400322012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40033
40034 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40035 appropriate.
40036
a0da5fe1
UD
400372012-01-08 Ulrich Drepper <drepper@gmail.com>
40038
1d5a644a 40039 * math/Makefile (tests): Add tst-CMPLX.
669704fd 40040 * math/tst-CMPLX.c: New file.
1d5a644a 40041
8784a6db
UD
40042 * math/complex.h (CMPLXL): Fix typo.
40043
d9a216c0
UD
40044 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40045 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40046 GLIBC_2.16.
40047 * debug/tst-chk1.c: Add poll and ppoll tests.
40048 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40049 * include/sys/poll.h: Add hidden proto for ppoll.
40050 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40051 * sysdeps/mach/hurd/ppoll.c: Likewise.
40052 * io/ppoll.c: Likewise.
40053 * debug/poll_chk.c: New file.
40054 * debug/ppoll_chk.c: New file.
40055 * include/bits/poll2.h: New file.
40056 * io/bits/poll2.h: New file.
40057
ac097f5c
UD
40058 [BZ #1350]
40059 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40060
2119dcfa
UD
40061 * configure.in: static is always set to yes. Remove.
40062 * config.make.in: Don't set build-static.
40063 * Makeconfig: Remove use of build-static.
40064 * dlfcn/Makefile: Likewise.
40065 * elf/Makefile: Likewise.
40066 * math/Makefile: Likewise.
40067 * misc/Makefile: Likewise.
40068 * nptl/Makefile: Likewise.
40069 * sysdeps/mach/hurd/Makefile: Likewise.
40070
121766a9
UD
40071 * configure.in: PWD_P is not used anymore.
40072 * config.make.in: Remove PWD_P entry.
40073
51a1d39c 40074 * configure.in: Remove last remnants of RANLIB.
8720d066 40075 No need to check for signed size_t anymore.
215f4bdc
UD
40076 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40077 and IA-64.
3857022a 40078 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
40079 * aclocal.m4: Likewise.
40080
d3ed7225
UD
40081 * wcsmbs/mbrtoc16.c: Implement using towc function.
40082 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40083 * wcsmbs/wcsmbsload.c: Likewise.
40084 * iconv/gconv_simple.c: Likewise.
40085 * iconv/gconv_int.h: Likewise.
40086 * iconv/gconv_builtin.h: Likewise.
40087 * iconv/iconv_prog.c: Remove CHAR16 handling.
40088
40089 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40090
40091 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40092
a0da5fe1
UD
40093 * configure.in: Remove --with-elf and --enable-bounded options.
40094 Dont set base_machine for ia64. More non-ELF conditions removed.
40095 Remove testing and setting of leading underscore information.
40096 * config.make.in (build-bounded): Set to no.
40097 * config.h.in: Remove NO_UNDERSCORES entry.
40098 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40099 them.
40100 * csu/start.c: Remove !NO_UNDERSCORE code.
40101 * locale/localeinfo.h: Likewise.
40102 * sysdeps/generic/machine-gmon.h: Likewise.
40103 * sysdeps/generic/sysdep.h: Likewise.
40104 * sysdeps/i386/sysdep.h: Likewise.
40105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40106 * sysdeps/mach/sysdep.h: Likewise.
40107 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40109 * sysdeps/sh/sysdep.h: Likewise.
40110 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40111 * sysdeps/unix/i386/sysdep.S: Likewise.
40112 * sysdeps/unix/sparc/start.c: Likewise.
40113 * sysdeps/unix/sparc/sysdep.S: Likewise.
40114 * sysdeps/unix/sparc/sysdep.h: Likewise.
40115 * sysdeps/unix/start.c: Likewise.
40116 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40117 * sysdeps/x86_64/sysdep.h: Likewise.
40118
df78418a
UD
401192012-01-07 Ulrich Drepper <drepper@gmail.com>
40120
a784e502
UD
40121 [BZ #13553]
40122 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40123 for non-gcc.
40124 * argp/argp-fmtstream.h: Use const instead __const.
40125 * argp/argp.h: Likewise.
40126 * assert/assert.h: Likewise.
40127 * bits/fenv.h: Likewise.
40128 * bits/sched.h: Likewise.
40129 * bits/sigset.h: Likewise.
40130 * bits/sigthread.h: Likewise.
40131 * catgets/nl_types.h: Likewise.
40132 * conform/data/pthread.h-data: Likewise.
40133 * crypt/crypt-private.h: Likewise.
40134 * crypt/crypt.h: Likewise.
40135 * crypt/crypt_util.c: Likewise.
40136 * ctype/ctype.h: Likewise.
40137 * debug/execinfo.h: Likewise.
40138 * debug/mbsnrtowcs_chk.c: Likewise.
40139 * debug/mbsrtowcs_chk.c: Likewise.
40140 * debug/wcsnrtombs_chk.c: Likewise.
40141 * debug/wcsrtombs_chk.c: Likewise.
40142 * debug/wcstombs_chk.c: Likewise.
40143 * dirent/dirent.h: Likewise.
40144 * dlfcn/dlfcn.h: Likewise.
40145 * elf/neededtest4.c: Likewise.
40146 * grp/grp.h: Likewise.
40147 * gshadow/gshadow.h: Likewise.
40148 * iconv/gconv.h: Likewise.
40149 * iconv/gconv_int.h: Likewise.
40150 * iconv/gconv_simple.c: Likewise.
40151 * iconv/iconv.h: Likewise.
40152 * iconv/loop.c: Likewise.
40153 * iconv/skeleton.c: Likewise.
40154 * include/aio.h: Likewise.
40155 * include/aliases.h: Likewise.
40156 * include/argz.h: Likewise.
40157 * include/arpa/inet.h: Likewise.
40158 * include/assert.h: Likewise.
40159 * include/dirent.h: Likewise.
40160 * include/dlfcn.h: Likewise.
40161 * include/execinfo.h: Likewise.
40162 * include/fcntl.h: Likewise.
40163 * include/fenv.h: Likewise.
40164 * include/glob.h: Likewise.
40165 * include/grp.h: Likewise.
40166 * include/libintl.h: Likewise.
40167 * include/mntent.h: Likewise.
40168 * include/netdb.h: Likewise.
40169 * include/pwd.h: Likewise.
40170 * include/rpc/netdb.h: Likewise.
40171 * include/sched.h: Likewise.
40172 * include/search.h: Likewise.
40173 * include/shadow.h: Likewise.
40174 * include/signal.h: Likewise.
40175 * include/stdio.h: Likewise.
40176 * include/stdlib.h: Likewise.
40177 * include/string.h: Likewise.
40178 * include/sys/socket.h: Likewise.
40179 * include/sys/stat.h: Likewise.
40180 * include/sys/statfs.h: Likewise.
40181 * include/sys/statvfs.h: Likewise.
40182 * include/sys/syslog.h: Likewise.
40183 * include/sys/time.h: Likewise.
40184 * include/sys/uio.h: Likewise.
40185 * include/time.h: Likewise.
40186 * include/unistd.h: Likewise.
40187 * include/utmp.h: Likewise.
40188 * include/wchar.h: Likewise.
40189 * include/wctype.h: Likewise.
40190 * inet/aliases.h: Likewise.
40191 * inet/arpa/inet.h: Likewise.
40192 * inet/netinet/ether.h: Likewise.
40193 * inet/netinet/in.h: Likewise.
40194 * intl/libintl.h: Likewise.
40195 * io/bits/fcntl2.h: Likewise.
40196 * io/fcntl.h: Likewise.
40197 * io/ftw.h: Likewise.
40198 * io/sys/poll.h: Likewise.
40199 * io/sys/stat.h: Likewise.
40200 * io/sys/statfs.h: Likewise.
40201 * io/sys/statvfs.h: Likewise.
40202 * io/utime.h: Likewise.
40203 * libio/bits/stdio.h: Likewise.
40204 * libio/bits/stdio2.h: Likewise.
40205 * libio/libio.h: Likewise.
40206 * libio/libioP.h: Likewise.
40207 * libio/stdio.h: Likewise.
40208 * locale/lc-ctype.c: Likewise.
40209 * locale/locale.h: Likewise.
40210 * login/utmp.h: Likewise.
40211 * malloc/arena.c: Likewise.
40212 * malloc/malloc.c: Likewise.
40213 * malloc/malloc.h: Likewise.
40214 * malloc/mcheck.c: Likewise.
40215 * malloc/mtrace.c: Likewise.
40216 * math/bits/mathcalls.h: Likewise.
40217 * math/fenv.h: Likewise.
40218 * math/math_private.h: Likewise.
40219 * misc/bits/error.h: Likewise.
40220 * misc/bits/syslog.h: Likewise.
40221 * misc/err.h: Likewise.
40222 * misc/error.h: Likewise.
40223 * misc/fstab.h: Likewise.
40224 * misc/mntent.h: Likewise.
40225 * misc/regexp.h: Likewise.
40226 * misc/search.h: Likewise.
40227 * misc/sgtty.h: Likewise.
40228 * misc/sys/mman.h: Likewise.
40229 * misc/sys/syslog.h: Likewise.
40230 * misc/sys/uio.h: Likewise.
40231 * misc/sys/xattr.h: Likewise.
40232 * misc/ttyent.h: Likewise.
40233 * nis/rpcsvc/ypclnt.h: Likewise.
40234 * nss/nss.h: Likewise.
40235 * posix/bits/unistd.h: Likewise.
40236 * posix/fnmatch.h: Likewise.
40237 * posix/glob.h: Likewise.
40238 * posix/sched.h: Likewise.
40239 * posix/spawn.h: Likewise.
40240 * posix/sys/wait.h: Likewise.
40241 * posix/unistd.h: Likewise.
40242 * posix/wordexp.h: Likewise.
40243 * pwd/pwd.h: Likewise.
40244 * resolv/netdb.h: Likewise.
40245 * resource/sys/resource.h: Likewise.
40246 * rt/aio.h: Likewise.
40247 * rt/bits/mqueue2.h: Likewise.
40248 * rt/mqueue.h: Likewise.
40249 * shadow/shadow.h: Likewise.
40250 * signal/signal.h: Likewise.
40251 * socket/send.c: Likewise.
40252 * socket/sendto.c: Likewise.
40253 * socket/sys/socket.h: Likewise.
40254 * stdio-common/printf.h: Likewise.
40255 * stdlib/bits/stdlib.h: Likewise.
40256 * stdlib/fmtmsg.h: Likewise.
40257 * stdlib/monetary.h: Likewise.
40258 * stdlib/stdlib.h: Likewise.
40259 * stdlib/ucontext.h: Likewise.
40260 * streams/stropts.h: Likewise.
40261 * string/argz.h: Likewise.
40262 * string/bits/string2.h: Likewise.
40263 * string/string.h: Likewise.
40264 * string/strings.h: Likewise.
40265 * sunrpc/rpc/auth.h: Likewise.
40266 * sunrpc/rpc/auth_des.h: Likewise.
40267 * sunrpc/rpc/clnt.h: Likewise.
40268 * sunrpc/rpc/netdb.h: Likewise.
40269 * sunrpc/rpc/pmap_clnt.h: Likewise.
40270 * sunrpc/rpc/xdr.h: Likewise.
40271 * sysdeps/generic/inttypes.h: Likewise.
40272 * sysdeps/generic/net/if.h: Likewise.
40273 * sysdeps/generic/sys/swap.h: Likewise.
40274 * sysdeps/gnu/net/if.h: Likewise.
40275 * sysdeps/gnu/utmpx.h: Likewise.
40276 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40277 * sysdeps/i386/i486/bits/string.h: Likewise.
40278 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40279 * sysdeps/s390/bits/string.h: Likewise.
40280 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40281 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40282 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40283 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40284 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40285 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40286 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40287 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40288 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40289 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40290 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40291 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40292 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40293 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40294 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40295 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40296 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40298 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40300 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40301 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40302 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40303 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40304 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40305 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40306 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40307 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40308 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40309 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40310 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40311 * sysvipc/sys/ipc.h: Likewise.
40312 * sysvipc/sys/msg.h: Likewise.
40313 * sysvipc/sys/sem.h: Likewise.
40314 * sysvipc/sys/shm.h: Likewise.
40315 * termios/termios.h: Likewise.
40316 * time/sys/time.h: Likewise.
40317 * time/time.h: Likewise.
40318 * wcsmbs/bits/wchar2.h: Likewise.
40319 * wcsmbs/uchar.h: Likewise.
40320 * wcsmbs/wchar.h: Likewise.
40321 * wctype/wctype.h: Likewise.
40322
0269750c
UD
40323 [BZ #13551]
40324 * Makeconfig: Remove all but ELF support including AIX support.
40325 * Makerules: Likewise.
40326 * config.h.in: Likewise.
40327 * config.make.in: Likewise.
40328 * configure: Likewise.
40329 * configure.in: Likewise.
40330 * csu/Makefile: Likewise.
40331 * csu/version.c: Likewise.
40332 * debug/Makefile: Likewise.
40333 * dlfcn/Makefile: Likewise.
40334 * elf/Makefile: Likewise.
40335 * extra-lib.mk: Likewise.
40336 * iconv/Makefile: Likewise.
40337 * include/libc-symbols.h: Likewise.
40338 * include/shlib-compat.h: Likewise.
40339 * resolv/Makefile: Likewise.
40340 * resolv/res_libc.c: Likewise.
40341 * rt/Makefile: Likewise.
40342 * sysdeps/i386/asm-syntax.h: Likewise.
40343 * sysdeps/i386/sysdep.h: Likewise.
40344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40345 * sysdeps/mach/sysdep.h: Likewise.
40346 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40347 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40348 * sysdeps/s390/asm-syntax.h: Likewise.
40349 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40351 * sysdeps/sh/sysdep.h: Likewise.
40352 * sysdeps/unix/sparc/sysdep.h: Likewise.
40353 * sysdeps/wordsize-32/divdi3.c: Likewise.
40354 * sysdeps/x86_64/sysdep.h: Likewise.
40355
00bbd29b
UD
40356 * argp/Versions: Remove _argp_unlock_xxx.
40357
40358 [BZ #13559]
40359 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40360 * abilist/libBrokenLocale.abilist: Likewise.
40361 * abilist/libanl.abilist: Likewise.
40362 * abilist/libc.abilist: Likewise.
40363 * abilist/libcrypt.abilist: Likewise.
40364 * abilist/libdl.abilist: Likewise.
40365 * abilist/libm.abilist: Likewise.
40366 * abilist/libnsl.abilist: Likewise.
40367 * abilist/libpthread.abilist: Likewise.
40368 * abilist/libresolv.abilist: Likewise.
40369 * abilist/librt.abilist: Likewise.
40370 * abilist/libthread_db.abilist: Likewise.
40371 * abilist/libutil.abilist: Likewise.
40372 * abilist/libnss_db.abilist: New file.
40373
40374 * scripts/abilist.awk: Add support for indirect functions.
40375
a2693a0e
UD
40376 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40377
3f05895f
UD
40378 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40379
ecb6fb48
UD
40380 * shlib-versions: Remove entries for ports architectures.
40381
664f8cb9
UD
40382 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40383 files in ports.
40384 * elf/stackguard-macros.h: Remove support for IA-64.
40385 * elf/tst-auditmod1.c: Likewise.
40386 * sysdeps/generic/ldsodefs.h: Likewise.
40387
7ae81d88
UD
40388 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40389 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40390 configure files.
40391
bdeba135
UD
40392 [BZ #13552]
40393 * configure.in: Remove --enable-omitfp support.
40394 * FAQ.in: Adjust.
40395 * config.make.in: Likewise.
40396 * Makeconfig: Likewise.
40397 * manual/install.texi: Likewise.
40398
d75a0a62
UD
40399 In case anyone cares, the IA-64 architecture could move to ports.
40400 * sysdeps/ia64/*: Removed.
40401 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 40402 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 40403
dcc9756b
UD
40404 [BZ #13555]
40405 * configure.in: Remove entries for unsupported architectures.
40406
d3761ebc 40407 [BZ #13533]
9954432e
UD
40408 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40409 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40410 routines.
40411 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40412 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40413 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40414 fall back to using wcrtomb.
40415 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40416 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40417 renaming.
40418 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40419 * wcsmbs/tst-c16c32-1.c: New file.
40420
40421 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40422 local variable.
40423
c3a87236
UD
40424 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40425
28926a1b
UD
40426 * elf/tst-unique3.cc: Add explicit declaration of gets.
40427 * elf/tst-unique3lib.cc: Likewise.
40428 * elf/tst-unique3lib2.cc: Likewise.
40429 * elf/tst-unique4.cc: Likewise.
40430
df78418a
UD
40431 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40432
8ecd6b2a
JM
404332012-01-06 Joseph Myers <joseph@codesourcery.com>
40434
40435 [BZ #13566]
40436 * assert/assert.h (static_assert): Don't define for C++.
40437 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40438 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40439
9f115170
UD
404402012-01-03 Ulrich Drepper <drepper@gmail.com>
40441
5e0d0300
UD
40442 * iconv/loop.c (single loop): Fix assertion in storing of
40443 remaining bytes.
40444
9f115170
UD
40445 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40446
81fb02b0
UD
404472012-01-01 Ulrich Drepper <drepper@gmail.com>
40448
40449 * posix/getconf.c: Update copyright year.
40450 * nss/getent.c: Likewise.
a316c1f6 40451 * nss/makedb.c: Likewise.
81fb02b0
UD
40452 * iconv/iconvconfig.c: Likewise.
40453 * iconv/iconv_prog.c: Likewise.
40454 * elf/ldconfig.c: Likewise.
a316c1f6
UD
40455 * elf/pldd.c: Likewise.
40456 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
40457 * catgets/gencat.c: Likewise.
40458 * csu/version.c: Likewise.
40459 * elf/ldd.bash.in: Likewise.
40460 * elf/sprof.c (print_version): Likewise.
40461 * locale/programs/locale.c: Likewise.
40462 * locale/programs/localedef.c: Likewise.
a316c1f6 40463 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
40464 * nscd/nscd.c (print_version): Likewise.
40465 * debug/xtrace.sh: Likewise.
40466 * malloc/memusage.sh: Likewise.
40467 * malloc/mtrace.pl: Likewise.
40468 * debug/catchsegv.sh: Likewise.
40469
2ba92745
JJ
404702011-12-30 Jakub Jelinek <jakub@redhat.com>
40471
40472 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40473 pure attribute.
40474
dadebdae
UD
404752011-12-24 Ulrich Drepper <drepper@gmail.com>
40476
d3761ebc 40477 [BZ #13533]
db6af3eb
UD
40478 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40479 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40480 transformations.
40481 * iconv/gconv_int.h: Likewise.
40482 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40483 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40484 from libc for GLIBC_2.16.
40485 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40486 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40487 * wcsmbs/uchar.h: Really define mbstate_t.
40488 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40489 * wcsmbs/c16rtomb.c: New file.
40490 * wcsmbs/mbrtoc16.c: New file.
40491 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40492 for C/POSIX locale.
40493 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40494 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40495
dadebdae
UD
40496 * wcsmbs/wchar.h: Add missing __restrict.
40497
67371b56
UD
404982011-12-23 Ulrich Drepper <drepper@gmail.com>
40499
74033a25
UD
40500 [BZ #13532]
40501 * time/Makefile (routines): Add timespec_get.
40502 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40503 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40504 timespec for ISO C11.
40505 * time/timespec_get.c: New file.
40506 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40507 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40508
380d7e87
UD
40509 [BZ #13531]
40510 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40511 * stdlib/stdlib.h: Declare aligned_alloc.
40512 * Versions.def: Add GLIBC_2.16 for libc.
40513 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40514
4e9e7a35
UD
40515 [BZ 13527]
40516 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40517 ISO C11.
40518
380d7e87 40519 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
40520 code.
40521
03a71829
UD
40522 [BZ #13528]
40523 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40524
839e283e
UD
40525 [BZ #13529]
40526 * assert/assert.h (static_assert): Define.
40527
ce5294e2 40528 * version.h: Update for 2.16 development version.
90fa7312 40529
8d44e150 40530 [BZ #13526]
d7809905
UD
40531 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40532 _ISOC11_SOURCE.
40533
c0da14cd
UD
40534 * version.h (RELEASE): Bump for 2.15 release.
40535 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40536
530a3249
MP
40537 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40538 Patch by Marek Polacek <mpolacek@redhat.com>.
40539
67371b56
UD
40540 * bits/byteswap.h: Protect long long constants with __extension__.
40541 * sysdeps/i386/bits/byteswap.h: Likewise.
40542 * sysdeps/ia64/bits/byteswap.h: Likewise.
40543 * sysdeps/s390/bits/byteswap.h: Likewise.
40544 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40545
15db4de1
LD
405462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40547
40548 [BZ #13540]
bbe315ea
LD
40549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40550 destination buffer.
15db4de1
LD
40551 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40552
2b2596b1
MP
405532011-12-23 Marek Polacek <polacek@redhat.com>
40554
40555 * elf/dl-addr.c (determine_info): Add inline keyword.
40556 * elf/tst-auditmod4b.c (check_avx): Likewise.
40557 * elf/tst-auditmod6b.c (check_avx): Likewise.
40558 * elf/tst-auditmod6c.c (check_avx): Likewise.
40559 * elf/tst-auditmod7b.c (check_avx): Likewise.
40560
70c6c246
UD
405612011-12-23 Ulrich Drepper <drepper@gmail.com>
40562
40563 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40564 !__SSE_MATH__.
40565
c044cf14
LD
405662011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40567
15db4de1 40568 [BZ #13540]
c044cf14
LD
40569 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40570 processing for last bytes.
40571
6b13d9d9
BH
405722011-08-06 Bruno Haible <bruno@clisp.org>
40573
d455f537
BH
40574 [BZ #13061]
40575 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40576 U+0385, not to U+1FEE.
40577
6b13d9d9
BH
40578 [BZ #13062]
40579 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40580 entry for U+00A5 U+0301.
40581
db910efd
UD
405822011-12-22 Ulrich Drepper <drepper@gmail.com>
40583
27deeafc
UD
40584 [BZ #13166]
40585 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40586 buffer for the output is too small.
40587
aed9d171
UD
40588 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40589 optimization.
40590
db910efd
UD
40591 [BZ #13185]
40592 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40593 SSE flags if possible.
40594
2bd779ae
LD
405952011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40596
e7f9dac3 40597 [BZ #13540]
2bd779ae
LD
40598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40599 processing for last bytes.
40600
154bfc16
JM
406012011-12-22 Joseph Myers <joseph@codesourcery.com>
40602
40603 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40604 (syscall-list-default-options, syscall-list-default-condition)
40605 (syscall-list-includes): Define.
40606 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40607 list of ABIs and options and #if conditions for each ABI. Do not
40608 handle common syscalls between ABIs specially.
40609 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40610 Remove.
40611 (syscall-list-variants, syscall-list-32bit-options)
40612 (syscall-list-32bit-condition, syscall-list-64bit-options)
40613 (syscall-list-64bit-condition): Define.
40614 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40615 (syscall-list-variants, syscall-list-32bit-options)
40616 (syscall-list-32bit-condition, syscall-list-64bit-options)
40617 (syscall-list-64bit-condition): Define.
40618 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40619 Remove.
40620 (syscall-list-variants, syscall-list-32bit-options)
40621 (syscall-list-32bit-condition, syscall-list-64bit-options)
40622 (syscall-list-64bit-condition): Define.
40623 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40624 Remove.
40625 (syscall-list-variants, syscall-list-32bit-options)
40626 (syscall-list-32bit-condition, syscall-list-64bit-options)
40627 (syscall-list-64bit-condition): Define.
40628
21eaf3a5
UD
406292011-12-22 Ulrich Drepper <drepper@gmail.com>
40630
16c6f992
UD
40631 * locale/iso-639.def: Add brx entry.
40632
41043168
UD
40633 [BZ #13328]
40634 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40635 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40636
21eaf3a5
UD
40637 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40638 __feraiseexcept_renamed.
40639
e3a851a2
UD
406402011-12-21 Ulrich Drepper <drepper@gmail.com>
40641
4920765e
UD
40642 [BZ #13538]
40643 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40644 EPOLLET with unsigned values.
40645 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40646 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40647
e3a851a2
UD
40648 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40649 to large cancellation.
40650 * math/s_cacoshf.c: Likewise.
40651 * math/s_cacoshl.c: Likewise.
40652
b27e24b8
RK
406532011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40654
40655 [BZ #13305]
aebefeee 40656 [BZ #12786]
b27e24b8
RK
40657 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40658 * math/s_cacoshf.c: Likewise.
40659 * math/s_cacoshl.c: Likewise.
40660
ee190f67
UD
406612011-12-21 Ulrich Drepper <drepper@gmail.com>
40662
40663 [BZ #13439]
40664 * iconv/gconv.h: Define __GCONV_SWAP.
40665 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40666 * iconvdata/utf-16.c: Likewise.
40667 * iconvdata/utf-32.c: Likewise.
40668
707f25df
AS
406692011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40670
40671 [BZ #13524]
40672 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40673 numerator after shifting it by one limb.
40674
d2daaa1e
RÁE
406752011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40676
40677 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40678 under [__USE_EXTERN_INLINES].
40679
a4647e72
UD
406802011-12-17 Ulrich Drepper <drepper@gmail.com>
40681
40682 [BZ #13446]
40683 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40684
f0b264f1
AZ
406852011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40686
40687 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40688 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40689 optimized code.
40690 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40691 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40692 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40693 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40694 for strncasecmp/strncasecmp_l compilation.
40695 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40696 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40697
8ef4f244
MP
406982011-12-08 Marek Polacek <mpolacek@redhat.com>
40699
40700 [BZ #13484]
40701 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40702 of __asm__.
40703
97ac2654
UD
407042011-12-17 Ulrich Drepper <drepper@gmail.com>
40705
40706 [BZ #13506]
40707 * time/tzfile.c (__tzfile_read): Check values from file header.
40708
91d2a845
WS
407092011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40710
40711 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40712 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40713 * powerpc/powerpc32/dl-start.S: Likewise.
40714 * powerpc/powerpc32/elf/start.S: Likewise.
40715 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40716 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40717 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40718 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40719 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40720 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40721 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40722 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40723 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40724 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40725 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40726 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40727 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40728 * powerpc/powerpc32/memset.S: Likewise.
40729 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40730 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40731 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40732 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40733 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40734 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40735 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40736 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40737 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40738 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40739 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40740 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40741 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40742
a1267ba1
AZ
407432011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40744
40745 * math/libm-test.inc: Added more nearbyint tests.
40746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40750
ad8ac1bd
RL
407512011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40752
40753 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40754 FD_CLOEXEC.
40755
1d3e4b61
UD
407562011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40757
40758 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40759 Add wcscpy-ssse3 wcscpy-c.
40760 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40761 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40762 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40763 * sysdeps/x86_64/wcschr.S: New file.
40764 * sysdeps/x86_64/wcsrchr.S: New file.
40765 * string/test-strcmp.c: Remove checking of wcscmp function for
40766 wrong alignments.
40767 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40768 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40769 wcsrchr-sse2 wcsrchr-c.
40770 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40771 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40772 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40773 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40774 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40775 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40776 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40777 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40778 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40779 * wcsmbc/wcschr.c (WCSCHR): New macro.
40780
5b330a2d
UD
407812011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40782
40783 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40784 * wcsmbs/test-wcsrchr.c: New file.
40785 * string/test-strrchr.c: Add wcsrchr support.
40786 (WIDE): New macro.
40787 * wcsmbs/test-wcscpy.c: New file.
40788 * string/test-strcpy.c: Add wcscpy support.
40789 (WIDE): New macro.
26428b7c 40790
f039c043
UD
407912011-12-10 Ulrich Drepper <drepper@gmail.com>
40792
40793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40794 the inner loop.
40795
850fb039
AS
407962011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40797
40798 [BZ #13472]
40799 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40800
4efbd5cb
UD
408012011-12-04 Ulrich Drepper <drepper@gmail.com>
40802
52ff5dd0 40803 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 40804 Minor optimizations.
52ff5dd0 40805
4efbd5cb
UD
40806 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40807 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40808 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40809
8a426e12
UD
408102011-12-03 Ulrich Drepper <drepper@gmail.com>
40811
aff2453d
UD
40812 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40813 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40814 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40815 for gcc to avoid warnings.
40816 * inet/Makefile (tests): Add tst-checks.
40817 * inet/tst-checks.c: New file.
40818
40819 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40820 warning.
40821
40822 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40823 __wmemcmp_sse2.
40824
40825 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40826 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40827
8a426e12
UD
40828 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40829
9bea3473
UD
408302011-12-02 Ulrich Drepper <drepper@gmail.com>
40831
3a965496
UD
40832 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40833 problem.
40834
9bea3473
UD
40835 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40836
f101631b
UD
408372011-11-29 Joseph Myers <joseph@codesourcery.com>
40838
40839 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40840 conditional on GCC version.
40841 (__arch_compare_and_exchange_val_8_acq)
40842 (__arch_compare_and_exchange_val_16_acq)
40843 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40844 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40845 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40846
a98275aa
UD
408472011-12-02 Joseph Myers <joseph@codesourcery.com>
40848
40849 * sysdeps/sh/backtrace.c: New file.
40850
d4cc29a2
AS
408512011-12-02 Andreas Schwab <schwab@redhat.com>
40852
40853 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40854 parenthesis.
40855
6257af2d
AS
408562011-12-01 Andreas Schwab <schwab@redhat.com>
40857
40858 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40859 falling back to utime.
40860
b5f44c1a
AS
408612011-11-30 Andreas Schwab <schwab@redhat.com>
40862
40863 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40864 expectations for float.
40865
f3a6cc0a
AS
408662011-11-29 Andreas Schwab <schwab@redhat.com>
40867
40868 * locale/weight.h (findidx): Add parameter len.
40869 * locale/weightwc.h (findidx): Likewise.
40870 * posix/fnmatch_loop.c (FCT): Adjust caller.
40871 * posix/regcomp.c (build_equiv_class): Likewise.
40872 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40873 * posix/regexec.c (check_node_accept_bytes): Likewise.
40874 * string/strcoll_l.c (STRCOLL): Likewise.
40875 * string/strxfrm_l.c (STRXFRM): Likewise.
40876
9d65ea3a
UD
408772011-11-17 Ulrich Drepper <drepper@gmail.com>
40878
40879 * Makefile.in: Remove CVSOPT handling.
40880 * configure.in: Remove use of AC_REVISION.
40881 * iconvdata/Makefile (distribute): No need to filter out CVS.
40882 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40883 handling.
40884
5583a086
AS
408852011-11-16 Andreas Schwab <schwab@redhat.com>
40886
40887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40888 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40889 [USE_AS_STRNCASECMP_L]: Likewise.
40890 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40891 NO_TLS_DIRECT_SEG_REFS.
40892 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40893 Fix argument offsets for non-PIC.
40894 [USE_AS_STRNCASECMP_L]: Likewise.
40895 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40896 NO_TLS_DIRECT_SEG_REFS.
40897
d62a8200
UD
408982011-11-15 Ulrich Drepper <drepper@gmail.com>
40899
9d65ea3a 40900 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
40901 O_CLOEXEC.
40902 * locale/loadlocale.c (_nl_load_locale): Likewise.
40903
09f93bd3
AS
409042011-11-15 Andreas Schwab <schwab@redhat.com>
40905
446514f9
AS
40906 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40907 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40908 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40909 (SYSCALL_GETTIME): Set errno on error.
40910
09f93bd3
AS
40911 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40912 count references to noai6ai_cached.
40913
312be3f9
UD
409142011-11-15 Ulrich Drepper <drepper@gmail.com>
40915
40916 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40917
40918 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40919 FD_CLOEXEC for /proc/self/maps.
40920
40921 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40922 FD_CLOEXEC for /proc/meminfo.
40923
40924 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40925 gai.conf.
40926
40927 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40928 FD_CLOEXEC for given file.
40929
40930 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40931
40932 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40933 FD_CLOEXEC for /etc/hosts.
40934 (_gethtent): Likewise.
40935
40936 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40937
40938 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40939 cancellation and set FD_CLOEXEC for /etc/netgroup.
40940
40941 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40942 reading /etc/publickey.
40943
40944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40945 allow cancellation when reading /etc/group.
40946
40947 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40948 cancellation.
40949 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40950
40951 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40952 when using data file.
40953
40954 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40955
40956 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40957 (write_nis_obj): Use "c" and "e" in fopen.
40958
40959 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40960
40961 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40962
40963 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40964
40965 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40966
40967 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40968 locale.alias.
40969
40970 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40971
40972 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40973
40974 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40975
40976 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40977 file parsing and set FD_CLOEXEC.
40978
82af0fa8
UD
409792011-11-14 Ulrich Drepper <drepper@gmail.com>
40980
40981 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40982
a5fb313c
AS
409832011-11-14 Andreas Schwab <schwab@redhat.com>
40984
40985 * malloc/arena.c (arena_get2): Don't call reused_arena when
40986 _int_new_arena failed.
40987
6abf3465
UD
409882011-11-14 Ulrich Drepper <drepper@gmail.com>
40989
40990 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40991 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40992 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40993 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40994 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40995 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40996 to compile strcasecmp and strncasecmp.
40997 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40998 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40999
41000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41001
76e3966e
UD
410022011-11-13 Ulrich Drepper <drepper@gmail.com>
41003
41004 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41005 locale-defines.sym to gen-as-const-headers.
41006 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41007 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41009 to compile strcasecmp and strncasecmp.
41010 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41011 strcasecmp_l and strncasecmp_l.
41012 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41013 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41014 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41015 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41016 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41017 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41018 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41019 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41020 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41021 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41022 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41023
ab26144e
UD
410242011-11-12 Ulrich Drepper <drepper@gmail.com>
41025
7edb22ef
UD
41026 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41027 result of SYSDEP_GETTIME_CPU to retval.
41028 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41029 parameter list to macro. Remove trailing semicolon. Adjust users.
41030
9694fc44
UD
41031 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41032 variable.
41033
8ad89ef8
UD
41034 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41035 mantissa words.
41036 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41037
0c822ef9
UD
41038 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41039 from unused variable.
41040
874e0564
UD
41041 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41042 DWARF definitions.
41043 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41044 for assembling.
41045
3a2edc79
UD
41046 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41047 over namespaces.
41048
f3c2577f
UD
41049 * sunrpc/rpc_prot.c (rejected): Fix case value.
41050
294ce126
UD
41051 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41052 unsigned long long int to avoid warnings in shift.
41053
5e2b63c6
UD
41054 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41055 of use of trans.
41056 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41057 variable tmp.
41058
e7f4b08e
UD
41059 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41060 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41061 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41062
ab26144e
UD
41063 * nis/nis_table.c (nis_list): Use variable of correct type for
41064 result of __follow_path call.
41065
8a6d5255
AZ
410662011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41067
41068 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41069 of math functions ceil, trunc, floor, round, and sqrt, when
41070 avaliable on the platform.
41071 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41072 name clash.
41073 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41074 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41075 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41076
aaddc98c
MP
410772011-10-30 Marek Polacek <mpolacek@redhat.com>
41078
41079 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41080 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41081
95b7042b
RM
410822011-11-11 Roland McGrath <roland@hack.frob.com>
41083
41084 * include/unistd.h: Fix __readlink return type.
41085 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41086
57769839
UD
410872011-11-11 Ulrich Drepper <drepper@gmail.com>
41088
41089 * stdlib/ucontext.h: Undo last change for makecontext.
41090
edc5984d
AS
410912011-11-11 Andreas Schwab <schwab@redhat.com>
41092
98591e58
AS
41093 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41094
edc5984d
AS
41095 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41096 * setjmp/setjmp.h: Mark functions as non-leaf.
41097 * setjmp/bits/setjmp2.h: Likewise.
41098 * stdlib/ucontext.h: Likewise.
41099
77cdc054
AS
411002011-11-10 Andreas Schwab <schwab@redhat.com>
41101
41102 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41103 (reused_arena): Don't check arena limit.
41104 (arena_get2): Atomically check arena limit.
41105
fe72eebd
UD
411062011-11-08 Ulrich Drepper <drepper@gmail.com>
41107
5f078c32
UD
41108 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41109 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41110
fe72eebd
UD
41111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41112 instructions.
41113
ae1bc2fa
AS
411142011-11-07 Andreas Schwab <schwab@redhat.com>
41115
7583a88d
AS
41116 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41117 handler when locking.
41118
ae1bc2fa
AS
41119 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41120 Fix size of allocated buffer.
41121
10fb0bfa
AS
411222011-11-04 Andreas Schwab <schwab@redhat.com>
41123
998832a4
AS
41124 [BZ #10103]
41125 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41126 declarations for long double functions.
41127 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41128
10fb0bfa
AS
41129 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41130
3d7ba52b
AS
411312011-11-03 Andreas Schwab <schwab@redhat.com>
41132
a9ae54a1
AS
41133 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41134 installed.
41135
3d7ba52b
AS
41136 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41137 is disabled.
41138
bc8db248
ST
411392011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41140
41141 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41142
45b96dd6
AS
411432011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41144
647776f6
AS
41145 * include/alloca.h (stackinfo_alloca_round): Define.
41146 (extend_alloca): Use it.
41147 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41148 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41149 here.
41150
d91a8b93
AS
41151 * scripts/check-local-headers.sh: Ignore libaudit.h.
41152
45b96dd6
AS
41153 * nscd/Makefile (extra-objs): Make recursively expanded.
41154
432d41ce
UD
411552011-11-01 Ulrich Drepper <drepper@gmail.com>
41156
34372fc6
UD
41157 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41158 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41159
fadb59f8
UD
41160 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41161 * posix/tst-rfc3484-2.c: Likewise.
41162 * posix/tst-rfc3484-3.c: Likewise.
41163
78239589
UD
41164 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41165 process_vm_writev.
41166 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41167 process_vm_writev.
41168 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41169 process_vm_writev from libc using GLIBC_2.15 version.
41170
432d41ce
UD
41171 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41172
02f9c6cf
PP
411732011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41174
41175 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41176 stack usage.
41177
3a2c0242
UD
411782011-10-31 Ulrich Drepper <drepper@gmail.com>
41179
f4ec4833
UD
41180 [BZ #13367]
41181 * nss/getent.c (initgroups_keys): Show error message in case no group
41182 names are given.
41183
3a2c0242
UD
41184 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41185 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41186 __bump_nl_timestamp.
41187 * nscd/connections (nscd_init): When host database is served open
41188 netlink socket and request notification about configuration changes.
41189 (main_loop_poll): Track netlink file descriptor and bump timestamp
41190 in case data becomes available.
41191 (main_loop_epoll): Likewise.
41192 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41193 (database_pers_head): Add extra_data fileds.
41194 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41195 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41196 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41197 Adjust caller.
41198 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41199 in6ai data, call __free_in6ai.
41200 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41201 Add -DHAVE_NETLINK.
41202 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41203 interface information. Reuse previous data if netlink timestamp
41204 is not changed.
41205 (__bump_nl_timestamp): New function.
41206 (__free_in6ai): New function.
41207
636064eb
UD
412082011-10-30 Ulrich Drepper <drepper@gmail.com>
41209
41210 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41211 close_not_cancel_no_status here.
41212 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41213
9beb2334
UD
412142011-10-29 Ulrich Drepper <drepper@gmail.com>
41215
6ef76f3b
UD
41216 [BZ #13276]
41217 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41218 return value.
41219
0ffc4f3e 41220 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
41221 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41222 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41223
cb95113e
UD
412242011-07-03 Andreas Jaeger <aj@suse.de>
41225
41226 [BZ #10709]
41227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41228 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41229 * math/libm-test.inc (sin_test): Add test case.
41230
a1b560ff
UD
412312011-10-29 Ulrich Drepper <drepper@gmail.com>
41232
c9aaface
UD
41233 [BZ #13337]
41234 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41235 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41236
d272e7f1
UD
41237 * elf/chroot_canon.c (chroot_canon): Cleanups.
41238
1bc33071
UD
41239 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41240
1760874d
TJ
41241 [BZ #13335]
41242 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41243 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41244
51d91b18
UD
41245 * string/test-strchr.c: Make usable for strchrnul testing.
41246 * string/test-strchrnul.c: New file.
41247 * string/Makefile (strop-tests): Add strchrnul.
41248
a1b560ff 41249 * po/it.po: Update from translation team.
b611fb81 41250 * po/es.po: Likewise.
a1b560ff 41251
a5b81e1f
UD
412522011-10-28 Ulrich Drepper <drepper@gmail.com>
41253
fd52bc6d
UD
41254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41255 the three constants needed as parameters. Drop the others.
41256 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41257 __m128i_strloadu_tolower.
52e4b9eb
UD
41258 Create and initialize variable zero and use it in all the places
41259 where _mm_setzero_si128 was used.
fd52bc6d 41260
a5b81e1f
UD
41261 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41262 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41263 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41264 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41265 anymore.
41266 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41267 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41268 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41269 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41270 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41271 __mpranred, __mptan.
41272 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41273 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41274 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41275 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41276 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41277 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41279 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41280 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41281
b4343346
AS
412822011-10-28 Andreas Schwab <schwab@redhat.com>
41283
0c92d8a8
AS
41284 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41285 redefine if SHARED.
41286 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41287
b4343346
AS
41288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41289 wide char related routines to wcsmbs subdir.
41290
3871f58f
AS
412912011-10-27 Andreas Schwab <schwab@redhat.com>
41292
41293 [BZ #13344]
41294 * misc/sys/cdefs.h (__THROWNL): Define.
41295 * posix/unistd.h: Use __THREADNL instead of __THREAD
41296 for memory synchronization functions.
41297
94d44d9f
RM
412982011-10-26 Roland McGrath <roland@hack.frob.com>
41299
21b64b15 41300 [BZ #13349]
94d44d9f
RM
41301 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41302 doesn't exist.
41303 * manual/stdio.texi (Obstack Streams): Node removed.
41304
f6ce9294
AS
413052011-10-26 Andreas Schwab <schwab@redhat.com>
41306
80479147
AS
41307 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41308 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41309 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41310
f6ce9294
AS
41311 * math/math_private.h (math_force_eval): Allow non-addressable
41312 arguments.
41313 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41314
618280a1
UD
413152011-10-25 Ulrich Drepper <drepper@gmail.com>
41316
e0016b11
UD
41317 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41318 file is not needed.
41319
41320 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41322 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41323 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41324 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41325 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41326 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41327 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41328 Add AVX variants.
41329 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41330 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41331 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41332 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41333 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41334 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41335 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41336 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41337 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41338 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41339 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41340 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41342 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41343 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41344 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41345 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41346 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41347 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41348
41349 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41350 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41351
618280a1
UD
41352 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41353 place. Use VEX encoding when compiling for AVX.
41354
37822576
AS
413552011-10-25 Andreas Schwab <schwab@redhat.com>
41356
1f1e1947
AS
41357 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41358 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41359
37822576
AS
41360 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41361
31ea014d
UD
413622011-10-25 Ulrich Drepper <drepper@gmail.com>
41363
d7826aa1 41364 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 41365 useless if() expression.
d7826aa1
UD
41366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41367 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41368 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41369 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41372 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41374 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41376 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41377 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41378 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41379 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41380 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41381 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41382 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41383 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41384 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41385
31ea014d
UD
41386 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41387
16437fec
AS
413882011-10-25 Andreas Schwab <schwab@redhat.com>
41389
41390 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41391 condition.
41392 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41393
31d3cc00
UD
413942011-10-25 Ulrich Drepper <drepper@gmail.com>
41395
41396 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41397 .text section. Avoid duplicate constants.
41398 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41400 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41402 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41406 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41407 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41408 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41409 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41410 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41411 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41412 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41413 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41414 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41415 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41418 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41419 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41420 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41421 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41422 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41423 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41424 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41425 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41426 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41427 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41429 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41430 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41431 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41432 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41433 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41434 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41436 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41437 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41438 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41440 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41441 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41442 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41443
58985aa9
UD
414442011-10-24 Ulrich Drepper <drepper@gmail.com>
41445
202c9deb
UD
41446 * sysdeps/x86_64/dla.h: Move to ...
41447 * sysdeps/x86_64/fpu/dla.h: ...here.
41448 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41449 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 41450
af968f62
UD
41451 * config.make.in: Add have-mfma4 entry.
41452 * configure.in: Substitute libc_cv_cc_fma4.
41453 * math/Makefile (dbl-only-routines): Add sincostab.
41454 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41455 Use __sincostab not sincos.
41456 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41457 name is a macro.
41458 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41462 using __copysign.
41463 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41464 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41465 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41466 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41467 and __inv.
41468 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41469 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41470 __copysign.
41471 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41472 define aliases when function name is a macro.
41473 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41474 sysdeps/ieee754/dbl-64/sincos.tbl.
41475 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41476 fma4-enabled routines.
41477 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41478 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41479 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41480 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41481 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41482 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41483 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41485 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41486 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41487 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41488 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41489 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41490 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41491 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41492 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41493 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41494 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41495 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41496 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41497 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41498 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41501 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41503 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41504 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41505 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41507
58985aa9
UD
41508 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41509 rename.
41510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41518
a201fbcf
AS
415192011-10-24 Andreas Schwab <schwab@redhat.com>
41520
41521 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41522
fc2ee42a
LD
415232011-10-23 Ulrich Drepper <drepper@gmail.com>
41524
bb3129bd
UD
41525 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41526
0275fff8
UD
41527 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41528 prediction.
41529 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41530
2fa2ae85
UD
41531 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41532 Remove unused variable magic_bits.
41533 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41534
fc2ee42a
LD
41535 * string/strnlen.c: Define and use STRNLEN macro.
41536 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41537 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41539 * wcsmbs/wcslen.c: Define and use WCSLEN.
41540 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41541 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41542 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41543 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41544 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41545 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41546 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41547
ce7dd29f
LD
415482011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41549
41550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41551 strnlen-sse2-no-bsf.
41552 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41554 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41555 Add strnlen support.
41556 (USE_AS_STRNLEN): New macro.
41557 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41558 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41559 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41560 * sysdeps/x86_64/wcslen.S: New file.
41561
979c70a3
MZ
415622011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41563
41564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41565 XMM-moves are used for copying on small sizes.
41566
2d09f82f
LD
415672011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41568
41569 * wcsmbs/Makefile (strop-tests): Add wcschr.
41570 * wcsmbs/test-wcschr.c: New file.
41571 * string/test-strchr.c: Update.
41572 Add wcschr support.
41573 (WIDE): New macro.
41574
619fccca
LD
415752011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41576
2d09f82f 41577 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
41578 * wcsmbs/test-wcslen.c: New file.
41579 * string/test-strlen.c: Update.
41580 Add wcslen support.
41581 (WIDE): New macro.
41582
09f699ea
UD
415832011-10-23 Ulrich Drepper <drepper@gmail.com>
41584
41585 * po/it.po: Update from translation team.
41586
95584d3b
LD
415872011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41588
41589 * sysdeps/x86_64/wcscmp.S: Update.
41590 Fix wrong comparison semantics.
41591 wcscmp shall use signed comparison not unsigned.
41592 Don't use substraction to avoid overflow bug.
41593 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41594 * wcsmbc/wcscmp.c: Likewise.
41595 * string/test-strcmp.c: Likewise.
41596 Add new tests to check cases with negative values.
41597
c8b3296b
UD
415982011-10-23 Ulrich Drepper <drepper@gmail.com>
41599
41600 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41601 * sysdeps/x86_64/dla.h: ...here. New file.
41602 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41611
246ad57a
AS
416122011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41613
41614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41615 __ynl_finite aliases.
41616
a1a87169
UD
416172011-10-22 Ulrich Drepper <drepper@gmail.com>
41618
0d355eb7
UD
41619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41620
a1a87169
UD
41621 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41622 define DLA_FMA.
41623 [DLA_FMA] (EMULV): Use DLA_FMA.
41624 [DLA_FMA] (MUL12): Use EMULV.
41625 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41626 that are not needed.
41627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41634
ee2aafe0
AS
416352011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41636
41637 * math/s_nan.c: Undef __nan.
41638 * math/s_nanf.c: Undef __nanf.
41639 * math/s_nanl.c: Undef __nanl.
41640 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41641 "math_private.h".
41642
bc62c2fb
UD
416432011-10-22 Ulrich Drepper <drepper@gmail.com>
41644
77425c63
UD
41645 * math/s_catan.c: Add branch predictions.
41646 * math/s_catanf.c: Likewise.
41647 * math/s_catanh.c: Likewise.
41648 * math/s_catanhf.c: Likewise.
41649 * math/s_catanhl.c: Likewise.
41650 * math/s_catanl.c: Likewise.
41651 * math/s_cexp.c: Likewise.
41652 * math/s_cexpf.c: Likewise.
41653 * math/s_cexpl.c: Likewise.
41654 * math/s_clog.c: Likewise.
41655 * math/s_clog10.c: Likewise.
41656 * math/s_clog10f.c: Likewise.
41657 * math/s_clog10l.c: Likewise.
41658 * math/s_clogf.c: Likewise.
41659 * math/s_clogl.c: Likewise.
41660 * math/s_csqrt.c: Likewise.
41661 * math/s_csqrtf.c: Likewise.
41662 * math/s_csqrtl.c: Likewise.
41663 * math/s_ctanf.c: Likewise.
41664 * math/s_ctanh.c: Likewise.
41665 * math/s_ctanhf.c: Likewise.
41666 * math/s_ctanhl.c: Likewise.
41667 * math/s_ctanl.c: Likewise.
41668
bc62c2fb
UD
41669 * math/math_private.h: Define __nan, __nanf, __nanl.
41670 * math/s_cacosh.c: Include <math_private.h>.
41671 * math/s_cacoshl.c: Likewise.
41672 * math/s_casinh.c: Likewise.
41673 * math/s_casinhf.c: Likewise.
41674 * math/s_casinhl.c: Likewise.
41675 * math/s_ccos.c: Rely entire on ccosh.
41676 * math/s_ccosf.c: Rely entire on ccoshf.
41677 * math/s_ccosl.c: Rely entirely on ccoshl.
41678 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41679 Remove tests for FE_INVALID.
41680 * math/s_ccoshf.c: Likewise.
41681 * math/s_ccoshl.c: Likewise.
41682 * math/s_csin.c: Likewise.
41683 * math/s_csinf.c: Likewise.
41684 * math/s_csinh.c Likewise.
41685 * math/s_csinhf.c: Likewise.
41686 * math/s_csinhl.c: Likewise.
41687 * math/s_csinl.c: Likewise.
41688 * math/s_ctan.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41690 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41691 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41692
8ec250a4
UD
416932011-10-21 Ulrich Drepper <drepper@gmail.com>
41694
c196fed8
UD
41695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41696 compilation problems.
41697
8ec250a4
UD
41698 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41699 __builtin_expect.
41700
8d4f46c6
UD
417012011-10-20 Ulrich Drepper <drepper@gmail.com>
41702
ed72b654
UD
41703 * sysdeps/i386/configure.in: Test for -mfma4 option.
41704 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41705 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41706 COMMON_CPUID_INDEX_80000001.
41707 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41708 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41709 use it if FMA3 is not supported.
41710 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41711
8d4f46c6
UD
41712 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41713 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41714
d45c60c2
AS
417152011-10-20 Andreas Schwab <schwab@redhat.com>
41716
41717 [BZ #12892]
41718 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41719 it would create a cycle with a link time dependency.
41720
d9a4d2ab
UD
417212011-10-19 Ulrich Drepper <drepper@gmail.com>
41722
855d1560
UD
41723 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41724 instruction.
41725 * string/Makefile (strop-tests): Add rawmemchr.
41726 * string/test-rawmemchr.c: New file.
41727
d9a4d2ab
UD
41728 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41729 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41730 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41731 when compiling str{,n}casecmp and when AVX is available. Hook up
41732 new optimized code in initializers.
41733
8f3b1ffe
AS
417342011-10-19 Andreas Schwab <schwab@redhat.com>
41735
41736 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41737 __feraiseexcept instead of feraiseexcept.
41738
d38f1dba
UD
417392011-10-18 Ulrich Drepper <drepper@gmail.com>
41740
d9a8d0ab
UD
41741 * math/math_private.h: Define defaults for libc_fetestexcept and
41742 libc_feupdateenv.
41743 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41744 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41745 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41746 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41747 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41748 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41749 libc_fetestexcept and libc_feupdateenv.
41750
4855e3dd
UD
41751 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41752 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41753 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41754 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41755 libc_feholdexcept_setround.
41756
581d30e3
UD
41757 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41758 Add s_nearbyint-c and s_nearbyintf-c.
41759 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41760 nearbyintf inlines.
41761 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41763 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41765
d38f1dba
UD
41766 * math/math_private.h: Define defaults for libc_fegetround,
41767 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41768 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41769 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41770 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41771 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41772 standard functions.
41773 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41774 Remove comments and hacks for old compiler versions.
41775 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41776 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41777 libc_feholdexceptl.
41778
caa6c9d8
AS
417792011-10-18 Andreas Schwab <schwab@redhat.com>
41780
41781 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
41782 (__feraiseexcept_renamed): Add __NTH.
41783 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
41784 namespace violations.
41785
97c066e6
UD
417862011-10-17 Ulrich Drepper <drepper@gmail.com>
41787
99ce7b04
UD
41788 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41789
1004d182
UD
41790 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41791
228a984d
UD
41792 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41793 recently added interfaces.
41794 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41795
c8553a6a
UD
41796 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41797 about macro parameter expansion.
41798
ed22dcf6
UD
41799 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41800 __NO_MATH_INLINES is defined. Cleanups.
41801
41802 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41803 and __floorf is target has SSE4.1.
41804 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41805 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41806 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41807 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41808
b171c137
UD
41809 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41810 name.
41811 (floorf): Likewise.
41812
97c066e6
UD
41813 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41814
629f62ef
AS
418152011-10-17 Andreas Schwab <schwab@redhat.com>
41816
49a43d80
AS
41817 * misc/sys/cdefs.h: Fix last change.
41818
629f62ef
AS
41819 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41820 database lookup.
41821
e453f6cd
UD
418222011-10-16 Ulrich Drepper <drepper@gmail.com>
41823
aa78043a
UD
41824 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41825
ad0f5cad
UD
41826 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41828 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41831 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41832 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41833 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41834 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41835 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41836 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41837 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41838 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41839 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41840 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41841 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41842 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41843 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41844 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41845 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41846 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41847 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41848
41849 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41850 ceil, ceilf, floor, floorf.
41851
41852 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41853 Perform IRELATIVE relocations last.
41854
e453f6cd
UD
41855 * elf/do-rel.h: Add another parameter nrelative, replacing the
41856 local variable with the same name. Change name of the function
41857 to end in Rel or Rela (uppercase).
41858 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41859 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41860 elf_dynamic_do_##reloc function.
41861
fd5bdc09
UD
418622011-10-15 Ulrich Drepper <drepper@gmail.com>
41863
79b195b5
UD
41864 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41865 is sufficient, at least on modern CPUs.
41866
d4a28569
UD
41867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41868
b61099b5
UD
41869 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41870 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41871
bcf01e6d
UD
41872 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41873 __expl_finite.
41874 * math/bits/math-finite.h: Add entries for exp.
41875 * math/e_expl.c: Add __*_finite alias.
41876 * sysdeps/i386/fpu/e_exp.S: Likewise.
41877 * sysdeps/i386/fpu/e_expf.S: Likewise.
41878 * sysdeps/i386/fpu/e_expl.c: Likewise.
41879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41880 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41881 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41882 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41883 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41886
ba1a0d59
UD
41887 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41888 is sufficient, at least on modern CPUs.
41889
fd5bdc09
UD
41890 * ctype/ctype-info.c (__ctype_init): Define.
41891 * include/ctype.h (__ctype_init): Declare.
41892 (__ctype_b_loc): The variable is always initialized.
41893 (__ctype_toupper_loc): Likewise.
41894 (__ctype_tolower_loc): Likewise.
41895 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41896 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41897
7872cfb0
AS
418982011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41899
b468825a
AS
41900 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41901
7872cfb0
AS
41902 * configure.in: Also look in $cxxmachine/include for C++ system
41903 headers.
41904
be13f7bf
LD
419052011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41906
41907 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41908 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41909 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41910 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41912 (USE_AS_WMEMCMP): New macro.
41913 Fixing indents.
41914 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41915 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41916 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41917 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41919 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41920 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41921 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41922 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41923 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41924 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41925 (USE_AS_WMEMCMP): New macro.
41926 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41927 * sysdeps/string/test-memcmp.c: Update.
41928 Fix simple_wmemcmp.
41929 Add new tests.
41930 * wcsmbs/wmemcmp.c: Update.
41931 (WMEMCMP): New macro.
41932 Fix overflow bug.
41933
556a2007
AJ
419342011-10-12 Andreas Jaeger <aj@suse.de>
41935
41936 [BZ #13268]
41937 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41938
538faaa7
UD
419392011-10-15 Ulrich Drepper <drepper@gmail.com>
41940
ab6737ff
UD
41941 * libio/iofwide.c (do_length): Avoid warning.
41942
538faaa7
UD
41943 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41944
396a21b1
UD
419452011-10-14 Ulrich Drepper <drepper@gmail.com>
41946
cdf2901f
UD
41947 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41948
38ad40ce
UD
41949 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41950 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41951 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41952 * sysdeps/i386/i686/fpu/e_log.S: New file.
41953 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41954 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41955
396a21b1
UD
41956 * ctype/ctype.h: Add support for inlined isXXX functions when
41957 compiling C++ code.
41958
6b1f68c9
AS
419592011-10-14 Andreas Schwab <schwab@redhat.com>
41960
349290c0
AS
41961 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41962
6b1f68c9
AS
41963 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41964
f2282d42
RM
419652011-10-13 Roland McGrath <roland@hack.frob.com>
41966
41967 [BZ #13291]
41968 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41969
5298ffa8
AS
419702011-10-13 Andreas Schwab <schwab@redhat.com>
41971
714fad23
AS
41972 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41973 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41974 feraiseexcept.
41975
81dcc7fb
AS
41976 * sysdeps/x86_64/memrchr.S: Check for zero size.
41977
5298ffa8
AS
41978 * string/stratcliff.c: Add memrchr tests.
41979
951fbcec
LD
419802011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41981
41982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41983 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41984 rawmemchr-sse2 rawmemchr-sse2-bsf.
41985 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41986 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41987 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41988 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41989 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41990 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41991 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41992 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41993 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41994 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41995 * string/memrchr.c (MEMRCHR): New macro.
41996
0ac5ae23
UD
419972011-10-12 Ulrich Drepper <drepper@gmail.com>
41998
41999 Add integration with gcc's -ffinite-math-only and optimize wrapper
42000 functions in libm.
42001 * Versions.def: Define GLIBC_2.15 version for libm.
42002 * math/Makefile (headers): Add bits/math-finite.h.
42003 * math/bits/math-finite.h: New file.
42004 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42005 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42006 * math/e_acoshl.c: Add __*_finite alias.
42007 * math/e_acosl.c: Likewise.
42008 * math/e_asinl.c: Likewise.
42009 * math/e_atan2l.c: Likewise.
42010 * math/e_atanhl.c: Likewise.
42011 * math/e_coshl.c: Likewise.
42012 * math/e_exp10.c: Likewise.
42013 * math/e_exp10f.c: Likewise.
42014 * math/e_exp10l.c: Likewise.
42015 * math/e_exp2l.c: Likewise.
42016 * math/e_fmodl.c: Likewise.
42017 * math/e_gammal_r.c: Likewise.
42018 * math/e_hypotl.c: Likewise.
42019 * math/e_j0l.c: Likewise.
42020 * math/e_j1l.c: Likewise.
42021 * math/e_jnl.c: Likewise.
42022 * math/e_lgammal_r.c: Likewise.
42023 * math/e_log10l.c: Likewise.
42024 * math/e_log2l.c: Likewise.
42025 * math/e_logl.c: Likewise.
42026 * math/e_powl.c: Likewise.
42027 * math/e_sinhl.c: Likewise.
42028 * math/e_sqrtl.c: Likewise.
42029 * math/e_scalb.c: Completely rewritten and optimized.
42030 * math/e_scalbf.c: Likewise.
42031 * math/e_scalbl.c: Likewise.
42032 * math/w_acos.c: Likewise.
42033 * math/w_acosf.c: Likewise.
42034 * math/w_acosl.c: Likewise.
42035 * math/w_acosh.c: Likewise.
42036 * math/w_acoshf.c: Likewise.
42037 * math/w_acoshl.c: Likewise.
42038 * math/w_asin.c: Likewise.
42039 * math/w_asinf.c: Likewise.
42040 * math/w_asinl.c: Likewise.
42041 * math/w_atan2.c: Likewise.
42042 * math/w_atan2f.c: Likewise.
42043 * math/w_atan2l.c: Likewise.
42044 * math/w_atanh.c: Likewise.
42045 * math/w_atanhf.c: Likewise.
42046 * math/w_atanhl.c: Likewise.
42047 * math/w_exp10.c: Likewise.
42048 * math/w_exp10f.c: Likewise.
42049 * math/w_exp10l.c: Likewise.
42050 * math/w_fmod.c: Likewise.
42051 * math/w_fmodf.c: Likewise.
42052 * math/w_fmodl.c: Likewise.
42053 * math/w_j0.c: Likewise.
42054 * math/w_j0f.c: Likewise.
42055 * math/w_j0l.c: Likewise.
42056 * math/w_j1.c: Likewise.
42057 * math/w_j1f.c: Likewise.
42058 * math/w_j1l.c: Likewise.
42059 * math/w_jn.c: Likewise.
42060 * math/w_jnf.c: Likewise.
42061 * math/w_log.c: Likewise.
42062 * math/w_logf.c: Likewise.
42063 * math/w_logl.c: Likewise.
42064 * math/w_log10.c: Likewise.
42065 * math/w_log10f.c: Likewise.
42066 * math/w_log10l.c: Likewise.
42067 * math/w_log2.c: Likewise.
42068 * math/w_log2f.c: Likewise.
42069 * math/w_log2l.c: Likewise.
42070 * math/w_pow.c: Likewise.
42071 * math/w_powf.c: Likewise.
42072 * math/w_powl.c: Likewise.
42073 * math/w_remainder.c: Likewise.
42074 * math/w_remainderf.c: Likewise.
42075 * math/w_remainderl.c: Likewise.
42076 * math/w_scalb.c: Likewise.
42077 * math/w_scalbf.c: Likewise.
42078 * math/w_scalbl.c: Likewise.
42079 * math/w_sqrt.c: Likewise.
42080 * math/w_sqrtf.c: Likewise.
42081 * math/w_sqrtl.c: Likewise.
42082 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42083 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42084 used.
42085 * math/math_private.h: Declare __kernel_standard_f.
42086 * math/w_cosh.c: Remove cruft and optimize a bit.
42087 * math/w_coshf.c: Likewise.
42088 * math/w_coshl.c: Likewise.
42089 * math/w_exp2.c: Likewise.
42090 * math/w_exp2f.c: Likewise.
42091 * math/w_exp2l.c: Likewise.
42092 * math/w_hypot.c: Likewise.
42093 * math/w_hypotf.c: Likewise.
42094 * math/w_hypotl.c: Likewise.
42095 * math/w_lgamma.c: Likewise.
42096 * math/w_lgamma_r.c: Likewise.
42097 * math/w_lgammaf.c: Likewise.
42098 * math/w_lgammaf_r.c: Likewise.
42099 * math/w_lgammal.c: Likewise.
42100 * math/w_lgammal_r.c: Likewise.
42101 * math/w_sinh.c: Likewise.
42102 * math/w_sinhf.c: Likewise.
42103 * math/w_sinhl.c: Likewise.
42104 * math/w_tgamma.c: Likewise.
42105 * math/w_tgammaf.c: Likewise.
42106 * math/w_tgammal.c: Likewise.
42107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42109 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42110 Minor optimizations. Pretty printing. Remove cruft.
42111 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42112 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42113 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42114 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42115 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42116 * sysdeps/i386/fpu/e_asin.S: Likewise.
42117 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42118 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42119 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42120 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42121 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42122 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42123 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42124 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42125 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42126 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42127 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42128 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42129 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42130 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42131 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42132 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42133 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42134 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42135 * sysdeps/i386/fpu/e_log.S: Likewise.
42136 * sysdeps/i386/fpu/e_log10.S: Likewise.
42137 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42138 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42139 * sysdeps/i386/fpu/e_log2.S: Likewise.
42140 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42142 * sysdeps/i386/fpu/e_logf.S: Likewise.
42143 * sysdeps/i386/fpu/e_logl.S: Likewise.
42144 * sysdeps/i386/fpu/e_pow.S: Likewise.
42145 * sysdeps/i386/fpu/e_powf.S: Likewise.
42146 * sysdeps/i386/fpu/e_powl.S: Likewise.
42147 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42148 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42149 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42150 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42151 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42152 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42153 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42154 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42155 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42156 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42157 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42159 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42160 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42161 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42163 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42164 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42165 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42166 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42167 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42169 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42170 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42172 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42173 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42176 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42177 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42178 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42179 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42180 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42181 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42182 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42183 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42184 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42185 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42186 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42187 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42188 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42189 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42190 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42191 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42192 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42193 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42194 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42195 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42196 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42197 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42198 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42199 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42201 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42202 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42203 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42205 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42206 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42211 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42212 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42213 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42214 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42215 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42216 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42217 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42218 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42219 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42221 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42222 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42224 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42226 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42227 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42228 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42236 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42237 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42238 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42239 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42241 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42242 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42244 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42247 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42248 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42249 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42250 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42251 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42252 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42253 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42254 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42255 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42256 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42257 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42258 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42259 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42260 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42261 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42262 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42264 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42265 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42266 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42267 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42268 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42269 (__isnanf): Likewise.
42270 (__isinf_ns): Likewise.
42271 (__isinf_nsf): Likewise.
42272 (__finite): Likewise.
42273 (__finitef): Likewise.
42274 (__ieee754_sqrt): Define as macro.
42275 (__ieee754_sqrtf): Define as macro.
42276 (__ieee754_sqrtl): Define as macro.
42277 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42278 inlined copy.
42279 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42280 __FINITE_MATH_ONLY__ consistent.
42281 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42282
12cc2fcd
AS
422832011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42284
a843a204
AS
42285 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42286 of rawmemchr.
42287
12cc2fcd
AS
42288 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42289
c853acd5
UD
422902011-10-09 Ulrich Drepper <drepper@gmail.com>
42291
42292 * po/ja.po: Update from translation team.
42293
c658d255
RM
422942011-10-08 Roland McGrath <roland@hack.frob.com>
42295
110946e4
RM
42296 * locale/programs/locarchive.c (prepare_address_space): New function.
42297 (create_archive, enlarge_archive, open_archive): Use it.
42298
50604220
RM
42299 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42300 inside [SHARED], where it is used.
42301
c658d255
RM
42302 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42303
42304 * nss/getent.c (netgroup_keys): Remove unused variable.
42305 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42306
6a621eb7
UD
423072011-10-08 Ulrich Drepper <drepper@gmail.com>
42308
7edb55ce
UD
42309 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42310 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42312 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42313 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42314 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42315 * math/Makefile (libm-calls): Add s_isinf_ns.
42316 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42317 * math/multc3.c: Likewise.
42318 * math/s_casin.c: Likewise.
42319 * math/s_casinf.c: Likewise.
42320 * math/s_casinl.c: Likewise.
42321 * math/s_ccos.c: Likewise.
42322 * math/s_ccosf.c: Likewise.
42323 * math/s_ccosl.c: Likewise.
42324 * math/s_ctan.c: Likewise.
42325 * math/s_ctanf.c: Likewise.
42326 * math/s_ctanh.c: Likewise.
42327 * math/s_ctanhf.c: Likewise.
42328 * math/s_ctanhl.c: Likewise.
42329 * math/s_ctanl.c: Likewise.
42330 * math/w_fmod.c: Likewise.
42331 * math/w_fmodf.c: Likewise.
42332 * math/w_fmodl.c: Likewise.
42333 * math/w_remainder.c: Likewise.
42334 * math/w_remainderf.c: Likewise.
42335 * math/w_remainderl.c: Likewise.
42336 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42337 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42338 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42339 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42340 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42341 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42342 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42343 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42344
187da0ae
UD
42345 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42346 of the number.
42347 * stdio-common/printf_fphex.c: Likewise.
42348 * stdio-common/printf_size.c: Likewise.
42349
9277c064
UD
42350 * math/e_exp10.c: Include math_private.h using <...> not "...".
42351 * math/e_exp10f.c: Likewise.
42352 * math/e_exp10l.c: Likewise.
42353 * math/e_exp2l.c: Likewise.
42354 * math/e_j0l.c: Likewise.
42355 * math/e_j1l.c: Likewise.
42356 * math/e_jnl.c: Likewise.
42357 * math/e_lgammal_r.c: Likewise.
42358 * math/e_rem_pio2l.c: Likewise.
42359 * math/e_scalb.c: Likewise.
42360 * math/e_scalbf.c: Likewise.
42361 * math/e_scalbl.c: Likewise.
42362 * math/k_cosl.c: Likewise.
42363 * math/k_sinl.c: Likewise.
42364 * math/k_tanl.c: Likewise.
42365 * math/s_cacoshf.c: Likewise.
42366 * math/s_catan.c: Likewise.
42367 * math/s_catanf.c: Likewise.
42368 * math/s_catanh.c: Likewise.
42369 * math/s_catanhf.c: Likewise.
42370 * math/s_catanhl.c: Likewise.
42371 * math/s_catanl.c: Likewise.
42372 * math/s_ccosh.c: Likewise.
42373 * math/s_ccoshf.c: Likewise.
42374 * math/s_ccoshl.c: Likewise.
42375 * math/s_cexp.c: Likewise.
42376 * math/s_cexpf.c: Likewise.
42377 * math/s_cexpl.c: Likewise.
42378 * math/s_clog.c: Likewise.
42379 * math/s_clog10.c: Likewise.
42380 * math/s_clog10f.c: Likewise.
42381 * math/s_clog10l.c: Likewise.
42382 * math/s_clogf.c: Likewise.
42383 * math/s_clogl.c: Likewise.
42384 * math/s_csin.c: Likewise.
42385 * math/s_csinf.c: Likewise.
42386 * math/s_csinh.c: Likewise.
42387 * math/s_csinhf.c: Likewise.
42388 * math/s_csinhl.c: Likewise.
42389 * math/s_csinl.c: Likewise.
42390 * math/s_csqrt.c: Likewise.
42391 * math/s_csqrtf.c: Likewise.
42392 * math/s_csqrtl.c: Likewise.
42393 * math/s_ctan.c: Likewise.
42394 * math/s_ctanf.c: Likewise.
42395 * math/s_ctanh.c: Likewise.
42396 * math/s_ctanhf.c: Likewise.
42397 * math/s_ctanhl.c: Likewise.
42398 * math/s_ctanl.c: Likewise.
42399 * math/s_ldexp.c: Likewise.
42400 * math/s_ldexpf.c: Likewise.
42401 * math/s_ldexpl.c: Likewise.
42402 * math/s_significand.c: Likewise.
42403 * math/s_significandf.c: Likewise.
42404 * math/s_significandl.c: Likewise.
42405 * math/w_acos.c: Likewise.
42406 * math/w_acosf.c: Likewise.
42407 * math/w_acosh.c: Likewise.
42408 * math/w_acoshf.c: Likewise.
42409 * math/w_acoshl.c: Likewise.
42410 * math/w_acosl.c: Likewise.
42411 * math/w_asin.c: Likewise.
42412 * math/w_asinf.c: Likewise.
42413 * math/w_asinl.c: Likewise.
42414 * math/w_atan2.c: Likewise.
42415 * math/w_atan2f.c: Likewise.
42416 * math/w_atan2l.c: Likewise.
42417 * math/w_atanh.c: Likewise.
42418 * math/w_atanhf.c: Likewise.
42419 * math/w_atanhl.c: Likewise.
42420 * math/w_cosh.c: Likewise.
42421 * math/w_coshf.c: Likewise.
42422 * math/w_coshl.c: Likewise.
42423 * math/w_dremf.c: Likewise.
42424 * math/w_exp10.c: Likewise.
42425 * math/w_exp10f.c: Likewise.
42426 * math/w_exp10l.c: Likewise.
42427 * math/w_exp2.c: Likewise.
42428 * math/w_exp2f.c: Likewise.
42429 * math/w_fmod.c: Likewise.
42430 * math/w_fmodf.c: Likewise.
42431 * math/w_fmodl.c: Likewise.
42432 * math/w_hypot.c: Likewise.
42433 * math/w_hypotf.c: Likewise.
42434 * math/w_hypotl.c: Likewise.
42435 * math/w_j0.c: Likewise.
42436 * math/w_j0f.c: Likewise.
42437 * math/w_j0l.c: Likewise.
42438 * math/w_j1.c: Likewise.
42439 * math/w_j1f.c: Likewise.
42440 * math/w_j1l.c: Likewise.
42441 * math/w_jn.c: Likewise.
42442 * math/w_jnf.c: Likewise.
42443 * math/w_jnl.c: Likewise.
42444 * math/w_lgamma.c: Likewise.
42445 * math/w_lgamma_r.c: Likewise.
42446 * math/w_lgammaf.c: Likewise.
42447 * math/w_lgammaf_r.c: Likewise.
42448 * math/w_lgammal.c: Likewise.
42449 * math/w_lgammal_r.c: Likewise.
42450 * math/w_log.c: Likewise.
42451 * math/w_log10.c: Likewise.
42452 * math/w_log10f.c: Likewise.
42453 * math/w_log10l.c: Likewise.
42454 * math/w_log2.c: Likewise.
42455 * math/w_log2f.c: Likewise.
42456 * math/w_log2l.c: Likewise.
42457 * math/w_logf.c: Likewise.
42458 * math/w_logl.c: Likewise.
42459 * math/w_pow.c: Likewise.
42460 * math/w_powf.c: Likewise.
42461 * math/w_powl.c: Likewise.
42462 * math/w_remainder.c: Likewise.
42463 * math/w_remainderf.c: Likewise.
42464 * math/w_remainderl.c: Likewise.
42465 * math/w_scalb.c: Likewise.
42466 * math/w_scalbf.c: Likewise.
42467 * math/w_scalbl.c: Likewise.
42468 * math/w_sinh.c: Likewise.
42469 * math/w_sinhf.c: Likewise.
42470 * math/w_sinhl.c: Likewise.
42471 * math/w_sqrt.c: Likewise.
42472 * math/w_sqrtf.c: Likewise.
42473 * math/w_sqrtl.c: Likewise.
42474 * math/w_tgamma.c: Likewise.
42475 * math/w_tgammaf.c: Likewise.
42476 * math/w_tgammal.c: Likewise.
42477
6a621eb7
UD
42478 * po/ja.po: Update from translation team.
42479
bf582445
AJ
424802011-09-29 Andreas Jaeger <aj@suse.de>
42481
f9efbf3a
AJ
42482 [BZ #13179]
42483 * sunrpc/netname.c (netname2host): Fix logic.
42484
bf582445
AJ
42485 [BZ #6779]
42486 [BZ #6783]
42487 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42488 correctly.
42489 * math/w_remainder.c (__remainder): Likewise.
42490 * math/w_remainderf.c (__remainderf): Likewise.
42491 * math/libm-test.inc (remainder_test): Add test cases.
42492
48693bea
AK
424932011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42494
42495 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42496 sdiv_qrnnd.
42497
42622229
LD
424982011-10-07 Ulrich Drepper <drepper@gmail.com>
42499
42500 * string/test-memcmp.c: Avoid unncessary #defines.
42501 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42502
093ecf92
LD
425032011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42504
42505 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42506 Use new sse2 version for core i3 - i7 as it's faster
42507 than sse42 version.
42508 (bit_Prefer_PMINUB_for_stringop): New.
42509 * sysdeps/x86_64/rawmemchr.S: Update.
42510 Replace with faster SSE2 version.
42511 * sysdeps/x86_64/memrchr.S: New file.
42512 * sysdeps/x86_64/memchr.S: Update.
42513 Replace with faster SSE2 version.
42514
fde56e5c
MP
425152011-09-12 Marek Polacek <mpolacek@redhat.com>
42516
42517 * elf/dl-load.c (lose): Add cast to avoid warning.
42518
21fd49a9
UD
425192011-10-07 Ulrich Drepper <drepper@gmail.com>
42520
5a06e643
UD
42521 * po/ca.po: Update from translation team.
42522
684ae515
UD
42523 * inet/getnetgrent_r.c: Hook up nscd.
42524 * nscd/Makefile (routines): Add nscd_netgroup.
42525 (nscd-modules): Add netgroupcache.
42526 (CFLAGS-netgroupcache.c): Define.
42527 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42528 (cache_search): Add const to second parameter.
42529 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42530 INNETGR.
42531 (dbs): Add netgrdb entry.
42532 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42533 (verify_persistent_db): Handle netgrdb.
42534 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42535 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42536 GETFDNETGR.
42537 (netgroup_response_header): Define.
42538 (innetgroup_response_header): Define.
42539 (datahead): Add netgroup_response_header and innetgroup_response_header
42540 elements.
42541 * nscd/nscd.conf: Add entries for netgroup cache.
42542 * nscd/nscd.h (dbtype): Add netgrdb.
42543 (_PATH_NSCD_NETGROUP_DB): Define.
42544 (netgroup_iov_disabled): Declare.
42545 (xmalloc, xcalloc, xrealloc): Move declarations here.
42546 (cache_search): Adjust prototype.
42547 Add netgroup-related prototypes.
42548 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42549 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42550 (__nscd_innetgr): Declare.
42551 * nscd/selinux.c (perms): Use access_vector_t as element type and
42552 add netgroup-related initializers.
42553 * nscd/netgroupcache.c: New file.
42554 * nscd/nscd_netgroup.c: New file.
42555 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42556 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42557 For four parameters use innetgr.
42558 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42559 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42560 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42561 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42562
21fd49a9
UD
42563 * nscd/connections.c (register_traced_file): Don't register file
42564 for disabled databases.
42565
054c0457
UD
425662011-10-06 Ulrich Drepper <drepper@gmail.com>
42567
32b63198
UD
42568 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42569
054c0457
UD
42570 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42571 from tree and freeing node.
42572
64031225
JO
425732011-09-25 Jiri Olsa <jolsa@redhat.com>
42574
42575 * nss/nsswitch.c (__nss_database_lookup): Handle
42576 nss_parse_service_list out of memory case.
42577
0490345c
JO
425782011-09-15 Jiri Olsa <jolsa@redhat.com>
42579
42580 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42581 out of memory case.
42582
3a62d00d
AS
425832011-10-04 Andreas Schwab <schwab@redhat.com>
42584
42585 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42586 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42587 pass it down.
42588 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42589 elf_machine_rela, elf_machine_lazy_rel.
42590 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42591 (ELF_DYNAMIC_DO_REL): Likewise.
42592 (ELF_DYNAMIC_DO_RELA): Likewise.
42593 (ELF_DYNAMIC_RELOCATE): Likewise.
42594 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42595 to ELF_DYNAMIC_DO_REL.
42596 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42597 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42598 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42599 elf_machine_rela.
42600 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42601 skip_ifunc, don't call ifunc function if non-zero.
42602 (elf_machine_rela): Likewise.
42603 (elf_machine_lazy_rel): Likewise.
42604 (elf_machine_lazy_rela): Likewise.
42605 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42606 (elf_machine_lazy_rel): Likewise.
42607 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42608 Likewise.
42609 (elf_machine_lazy_rel): Likewise.
42610 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42611 Likewise.
42612 (elf_machine_lazy_rel): Likewise.
42613 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42614 (elf_machine_lazy_rel): Likewise.
42615 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42616 (elf_machine_lazy_rel): Likewise.
42617 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42618 (elf_machine_lazy_rel): Likewise.
42619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42620 (elf_machine_lazy_rel): Likewise.
42621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42622 (elf_machine_lazy_rel): Likewise.
42623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42624 (elf_machine_lazy_rel): Likewise.
42625
68577918
UD
426262011-09-28 Ulrich Drepper <drepper@gmail.com>
42627
42628 * nss/nss_files/files-init.c (_nss_files_init): Use static
42629 initialization for all the *_traced_file variables.
42630
68822d74
AS
426312011-09-28 Andreas Schwab <schwab@redhat.com>
42632
42633 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42634
2056100b
RM
426352011-09-27 Roland McGrath <roland@hack.frob.com>
42636
42637 [BZ #13226]
42638 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42639
32c76b63
AS
426402011-09-27 Andreas Schwab <schwab@redhat.com>
42641
42642 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42643 Reread the line before reparsing it.
42644
bf972c9d
AS
426452011-09-26 Andreas Schwab <schwab@redhat.com>
42646
42647 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42648
e057a1b5
JM
426492011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42650 Maxim Kuvyrkov <maxim@codesourcery.com>
42651 Joseph Myers <joseph@codesourcery.com>
42652
42653 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42654 if needed for __stack_chk_guard.
42655
bc7e1c36
RM
426562011-09-19 Roland McGrath <roland@hack.frob.com>
42657
ecb1482f
RM
42658 * sysdeps/posix/spawni.c (script_execute): Always define it.
42659 It will be optimized away if unused.
42660 (maybe_script_execute): New function.
42661 (__spawni): Call it.
42662
bc7e1c36
RM
42663 * Makerules: Don't include tls.make.
42664 (config-tls): Always set to thread.
42665 * tls.make.c: File removed.
42666
1c3b002b
MF
426672011-09-19 Mike Frysinger <vapier@gentoo.org>
42668
42669 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42670 * config.make.in (CPPFLAGS-config): New substituted variable.
42671
2840865d
UD
426722011-09-15 Ulrich Drepper <drepper@gmail.com>
42673
88738eb6
UD
42674 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42675
cbf645a6 42676 [BZ #13192]
2840865d
UD
42677 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42678 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42679
b402e91a
RM
426802011-09-15 Roland McGrath <roland@hack.frob.com>
42681
42682 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42683 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42685 (CALL_FAIL): Likewise.
42686 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42687 (CALL_FAIL): Macro removed.
42688 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42689
4c1a1f71
UD
426902011-09-15 Ulrich Drepper <drepper@gmail.com>
42691
42692 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42693 for __FINITE_MATH_ONLY__ == 1.
42694
edc121be
AS
426952011-09-15 Andreas Schwab <schwab@redhat.com>
42696
42697 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42698 __ieee754_sqrt instead of sqrt.
42699 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42700 __ieee754_sqrtf instead of sqrtf.
42701 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42702 __floorf instead of floorf.
42703 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42704 __floorf, __truncf instead of floorf, truncf.
42705
cd205654
UD
427062011-09-14 Ulrich Drepper <drepper@gmail.com>
42707
ee4d0315
UD
42708 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42709
cd205654
UD
42710 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42711 __extern_always_inline.
42712 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42713 32-bit.
42714
48b67d71
AS
427152011-09-14 Andreas Schwab <schwab@redhat.com>
42716
42717 * elf/rtld.c (dl_main): Also relocate in dependency order when
42718 doing symbol dependency testing.
42719
1ae12c75
AS
427202011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42721
42722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42723 Always define `refsym'.
42724
995a80df
AS
427252011-09-13 Andreas Schwab <schwab@redhat.com>
42726
e529793b
AS
42727 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42728 (__FD_ELT): Renamed from __FDELT.
42729 * misc/bits/select2.h (__FD_ELT): Likewise.
42730 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42731 __FD_MASK instead of __FDELT, __FDMASK.
42732 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42733 Likewise.
42734 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42735 Likewise.
42736
52d4fef8
AS
42737 * elf/Makefile (gen-ldd): Fix pattern.
42738
995a80df
AS
42739 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42740 (init_tls): Likewise.
42741
8682f8b0
UD
427422011-09-12 Ulrich Drepper <drepper@gmail.com>
42743
42744 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42745
de82006d
AS
427462011-09-12 Andreas Schwab <schwab@redhat.com>
42747
a7c8e6a1
AS
42748 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42749 `struct cmsghdr *' instead of `void *'.
42750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42751 Likewise.
42752
0f31fe77
AS
427532011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42754
42755 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42756 if non-absolute.
42757 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42758 ldd_rewrite_script.
0f31fe77 42759
32b4c839
UD
427602011-09-11 Ulrich Drepper <drepper@gmail.com>
42761
83cd1420
UD
42762 * configure.in: Remove --with-tls option.
42763 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42764 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42765 out in case it is missing.
42766 * sysdeps/ia64/elf/configure.in: Likewise.
42767 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42768 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42769 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42770 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42771 * sysdeps/sh/elf/configure.in: Likewise.
42772 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42773 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42774 * sysdeps/x86_64/elf/configure.in: Likewise.
42775 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42776 * sysdeps/mach/hurd/tls.h: Likewise.
42777
633f745d
UD
42778 [BZ #13067]
42779 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42780
f318beb8
UD
42781 [BZ #13090]
42782 * configure.in: Fix use of AC_INIT.
42783
32b4c839
UD
42784 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42785
3ce1f295
UD
427862011-09-10 Ulrich Drepper <drepper@gmail.com>
42787
bb016596
UD
42788 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42789 __set_errno.
8e58439c
UD
42790 * malloc/hooks.c: Likewise.
42791
aebae053 42792 [BZ #11929]
02d46fc4
UD
42793 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42794 variables statically.
42795 (narenas): Initialize.
42796 (list_lock): Initialize.
bb016596
UD
42797 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42798 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
42799 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42800 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42801 Add initializers to main_arena and mp_.
42802 (malloc_state): Remove pagesize member. Change all users to use
42803 GLRO(dl_pagesize).
42804
42805 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42806 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42807 is always initialized.
42808
22a89187
UD
42809 * malloc/malloc.c: Removed unused configurations and dead code.
42810 * malloc/arena.c: Likewise.
42811 * malloc/hooks.c: Likewise.
02d46fc4 42812 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 42813
d063d164
UD
42814 * include/tls.h: Removed. USE___THREAD must always be defined.
42815 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42816 * elf/dl-libc.c: Likewise.
42817 * elf/dl-tsd.c: Likewise.
42818 * include/errno.h: Likewise.
42819 * include/netdb.h: Likewise.
42820 * include/resolv.h: Likewise.
42821 * inet/herrno-loc.c: Likewise.
42822 * inet/herrno.c: Likewise.
42823 * malloc/arena.c: Likewise.
42824 * malloc/hooks.c: Likewise.
42825 * malloc/malloc.c: Likewise.
42826 * resolv/res-state.c: Likewise.
42827 * resolv/res_libc.c: Likewise.
42828 * sysdeps/i386/dl-machine.h: Likewise.
42829 * sysdeps/ia64/dl-machine.h: Likewise.
42830 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42831 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42832 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42833 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42834 * sysdeps/sh/dl-machine.h: Likewise.
42835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42836 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42837 * sysdeps/unix/i386/sysdep.S: Likewise.
42838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42839 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42844 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42848 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42849 * sysdeps/x86_64/dl-machine.h: Likewise.
42850 * tls.make.c: Likewise.
42851
3ce1f295
UD
42852 * configure.in: Remove --with-__thread option. Make tests for
42853 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42854 tls_model attribute fail if no support is available. Remove
42855 USE_IN_LIBIO.
42856 * Makeconfig: Adjust for dropped configure option. All features are
42857 now mandatory.
42858 * Makerules: Likewise.
42859 * Versions.def: Likewise.
42860 * argp/argp-fmtstream.c: Likewise.
42861 * argp/argp-fmtstream.h: Likewise.
42862 * argp/argp-help.c: Likewise.
42863 * assert/assert.c: Likewise.
42864 * config.h.in: Likewise.
42865 * config.make.in: Likewise.
42866 * configure: Likewise.
42867 * configure.in: Likewise.
42868 * csu/Versions: Likewise.
42869 * csu/init.c: Likewise.
42870 * elf/tst-audit2.c: Likewise.
42871 * elf/tst-tls10.c: Likewise.
42872 * elf/tst-tls10.h: Likewise.
42873 * elf/tst-tls11.c: Likewise.
42874 * elf/tst-tls12.c: Likewise.
42875 * elf/tst-tls14.c: Likewise.
42876 * elf/tst-tlsmod11.c: Likewise.
42877 * elf/tst-tlsmod12.c: Likewise.
42878 * elf/tst-tlsmod13.c: Likewise.
42879 * elf/tst-tlsmod13a.c: Likewise.
42880 * elf/tst-tlsmod14a.c: Likewise.
42881 * elf/tst-tlsmod15b.c: Likewise.
42882 * elf/tst-tlsmod16a.c: Likewise.
42883 * elf/tst-tlsmod16b.c: Likewise.
42884 * elf/tst-tlsmod7.c: Likewise.
42885 * elf/tst-tlsmod8.c: Likewise.
42886 * elf/tst-tlsmod9.c: Likewise.
42887 * gmon/gmon.c: Likewise.
42888 * grp/fgetgrent_r.c: Likewise.
42889 * grp/putgrent.c: Likewise.
42890 * hurd/fopenport.c: Likewise.
42891 * include/libc-symbols.h: Likewise.
42892 * include/tls.h: Likewise.
42893 * intl/gettextP.h: Likewise.
42894 * intl/loadinfo.h: Likewise.
42895 * locale/global-locale.c: Likewise.
42896 * locale/localeinfo.h: Likewise.
42897 * mach/devstream.c: Likewise.
42898 * malloc/arena.c: Likewise.
42899 * malloc/set-freeres.c: Likewise.
42900 * misc/err.c: Likewise.
42901 * misc/getttyent.c: Likewise.
42902 * misc/mntent_r.c: Likewise.
42903 * posix/getopt.c: Likewise.
42904 * posix/wordexp.c: Likewise.
42905 * pwd/fgetpwent_r.c: Likewise.
42906 * resolv/Versions: Likewise.
42907 * resolv/res_hconf.c: Likewise.
42908 * shadow/fgetspent_r.c: Likewise.
42909 * shadow/putspent.c: Likewise.
42910 * stdio-common/printf_fphex.c: Likewise.
42911 * stdio-common/tmpfile.c: Likewise.
42912 * stdlib/abort.c: Likewise.
42913 * stdlib/fmtmsg.c: Likewise.
42914 * sunrpc/auth_unix.c: Likewise.
42915 * sunrpc/clnt_perr.c: Likewise.
42916 * sunrpc/clnt_tcp.c: Likewise.
42917 * sunrpc/clnt_udp.c: Likewise.
42918 * sunrpc/clnt_unix.c: Likewise.
42919 * sunrpc/openchild.c: Likewise.
42920 * sunrpc/svc_simple.c: Likewise.
42921 * sunrpc/svc_tcp.c: Likewise.
42922 * sunrpc/svc_udp.c: Likewise.
42923 * sunrpc/svc_unix.c: Likewise.
42924 * sunrpc/xdr.c: Likewise.
42925 * sunrpc/xdr_array.c: Likewise.
42926 * sunrpc/xdr_rec.c: Likewise.
42927 * sunrpc/xdr_ref.c: Likewise.
42928 * sunrpc/xdr_stdio.c: Likewise.
42929
1248c1c4
PB
429302011-09-09 Ulrich Drepper <drepper@gmail.com>
42931
42932 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42933
429342011-07-03 Andreas Jaeger <aj@suse.de>
42935
42936 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42937 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42938 regenerate with gen-libm-tests.pl.
42939
429402010-05-12 Petr Baudis <pasky@suse.cz>
42941
42942 [BZ #11589]
42943 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42944 around j0() zero points by switching to j1().
42945 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42949
f22e1074
UD
429502011-09-09 Ulrich Drepper <drepper@gmail.com>
42951
f19009c1
UD
42952 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42953 instead of 0.
42954 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 42955 instead of 0.
f19009c1
UD
42956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42957 Patch in part by Pavel Roskin <proski@gnu.org>.
42958
3f8cc204
UD
42959 [BZ #13138]
42960 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42961 realloc.
42962 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42963 Free memory block if necessary.
42964
f22e1074
UD
42965 [BZ #12847]
42966 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42967 be NULL. Don't lock in this case.
42968
0a2349f9
RM
429692011-09-09 Roland McGrath <roland@hack.frob.com>
42970
42971 * elf/elf.h (ELFOSABI_GNU): New macro.
42972 (ELFOSABI_LINUX): Define to that.
42973
f3cdd467
DZ
429742011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42975
42976 * string/strncat.c (strncat): Undef the symbol in case it has been
42977 defined in bits/string.h.
42978
74718d13
UD
429792011-09-09 Ulrich Drepper <drepper@gmail.com>
42980
633e9e0f
UD
42981 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42982
0a2349f9 42983 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
42984 link map.
42985
f9924780
AJ
429862011-08-17 Andreas Jaeger <aj@suse.de>
42987
42988 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42989
7f5517aa
PP
429902011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42991 Ian Lance Taylor <iant@google.com>
42992
42993 * math/libm-test.inc (lround_test): New testcase.
42994 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42995
762011fe
UD
429962011-09-08 Ulrich Drepper <drepper@gmail.com>
42997
92963737
UD
42998 * Makefile: Remove support for automatic cvs check-ins.
42999 * Makerules: Likewise.
43000 * config.make.in: Likewise.
43001 * configure.in: Likewise.
43002 * intl/Makefile: Likewise.
43003 * locale/Makefile: Likewise.
43004 * po/Makefile: Likewise.
43005 * posix/Makefile: Likewise.
43006 * sysdeps/gnu/Makefile: Likewise.
43007 * sysdeps/mach/hurd/Makefile: Likewise.
43008 * sysdeps/sparc/sparc32/Makefile: Likewise.
43009
b0727fd8
JS
43010 [BZ #13118]
43011 * posix/Makefile (bug-regex32-ENV): Define.
43012 Patch by John Stanley <jpsinthemix@verizon.net>.
43013
a0f33f99
UD
43014 * misc/Makefile (headers): Add bits/select2.h.
43015 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43016 * misc/bits/select2.h: New file.
43017 * include/bits/select2.h: New file.
43018 * debug/Makefile (routines): Add fdelt_chk.
43019 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43020 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43021 FD_ISSET.
43022 * debug/fdelt_chk.c: New file.
43023
762011fe
UD
43024 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43025 * wcsmbs/test-wmemcmp.c: Likewise.
43026 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 43027 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
43028
430292011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43030
43031 * string/Makefile (strop-tests): Add memcmp.
43032 * string/test-wmemcmp.c: New file.
43033 * string/test-memcmp.c: Add wmemcmp support.
43034
7f513ec8
RM
430352011-09-08 Roland McGrath <roland@hack.frob.com>
43036
0442afb4
RM
43037 [BZ #13153]
43038 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43039 2011-07-19 change.
43040
7f513ec8
RM
43041 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43042 garbage value in a __mach_port_mod_refs call in the cases of the
43043 task-self and thread-self ports.
43044
a12b2239
ST
430452011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43046
43047 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43048
610f9ab4
AS
430492011-09-08 Andreas Schwab <schwab@redhat.com>
43050
7f513ec8 43051 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 43052
48882a1a
LD
430532011-09-07 Ulrich Drepper <drepper@gmail.com>
43054
b49865be
UD
43055 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43056
fdc86bc9
UD
43057 * elf/dl-libc.c (dlerror_run): Pass back error code from
43058 dl_catch_error.
43059
c966526a
UD
43060 [BZ #13123]
43061 * elf/dl-load.c (lose): Free l_origin if it is valid.
43062
48882a1a
LD
43063 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43064 names.
43065 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43068 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43069 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43070 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43071
77a2a8b4
AZ
430722011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43073
43074 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43075 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43076 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43077 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43078 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43079 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43080 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43081 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43082 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43083 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43084
24f579d8
AM
430852011-08-15 Alan Modra <amodra@gmail.com>
43086
43087 [BZ #13092]
43088 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43089 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43090 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43091 ppc_mcount to static-only-routines.
43092 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43093 __mcount_internal.
43094 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43095 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43096
3d4837df
UD
430972011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43098
43099 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43100 for finite and infinity parameters.
43101
22700377
WS
431022011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43103
43104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43105 and add nop instructions for throughput optimization.
43106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43107
5025581e
WS
431082011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43109
43110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43111 aligned copy for power7 with vector-scalar instructions.
43112 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43113
08a300c9
L
431142011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43115
43116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43117 AVX check.
43118
59178ef9
AS
431192011-09-07 Andreas Schwab <schwab@redhat.com>
43120
43121 [BZ #13144]
43122 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43123 last change.
43124
e38ba7ab
UD
431252011-09-07 Ulrich Drepper <drepper@gmail.com>
43126
43127 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43128 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43129 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43130 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43131 clock_gettime.
43132
d53a73ac
UD
431332011-09-06 Ulrich Drepper <drepper@gmail.com>
43134
fc8bffcc
UD
43135 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43136 Forgot to demangle the pointer.
43137
ceaa0c5d
UD
43138 * sysdeps/i386/sysdep.h: Define atom_text_section.
43139 * sysdeps/x86_64/sysdep.h: Likewise.
43140 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43141 section with atom_text_section.
43142 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43143 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43144 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43146 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43147
a77d3c17
UD
43148 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43150 already be defined. Change to take two parameters and don't assign
43151 result to variable. Adjust all users.
43152 Define INTERNAL_GETTIME if not already defined.
43153 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43154 call.
43155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43156 HAVE_CLOCK_GETTIME_VSYSCALL.
43157 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43158
d53a73ac
UD
43159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43160 gettimeofday vsyscall, just use time.
43161
a8f84144
AS
431622011-09-06 Andreas Schwab <schwab@redhat.com>
43163
43164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43165 <errno.h>.
43166
ef606249
UD
431672011-09-06 Ulrich Drepper <drepper@gmail.com>
43168
43169 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43170 syscall on x86-64.
43171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43172 syscall.
43173 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43174 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43175 syscall if possible.
43176
6585cb60
UD
431772011-09-05 Ulrich Drepper <drepper@gmail.com>
43178
43179 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43180 e_ident. Don't pass to find_mapsXX.
43181 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43182
a5f524e4
LD
431832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43184
43185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43186 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43187 * sysdeps/x86_64/multiarch/strchr.S: Update.
43188 Check bit_slow_BSF bit.
43189 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43190 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43191 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43192
554881ef
UD
431932011-09-05 Ulrich Drepper <drepper@gmail.com>
43194
d96de963
UD
43195 [BZ #13134]
43196 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43197 before glibc 2.15.
43198 (tryshell): Define.
43199 (__spawni): Change last parameter to be flag. Test
43200 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43201 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43202 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43203 * posix/spawni.c: Likewise.
43204 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43205 * posix/spawnp.c: Likewise. Change normal version to use
43206 SPAWN_XFLAGS_USE_PATH.
43207 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43208 SPAWN_XFLAGS_TRY_SHELL.
43209
d48e5868
UD
43210 [BZ #13150]
43211 * posix/glob.h: Remove gcc 1.x support.
43212
554881ef
UD
43213 [BZ #13068]
43214 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43215
693fb948
LD
432162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43217
43218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43219 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43220 strrchr-sse2-bsf
43221 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43222 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43223 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43225 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43226 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43227
1b48c537
UD
432282011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43229
49d42c37
UD
43230 * sysdeps/x86_64/wcscmp.S: New file.
43231
1b48c537
UD
43232 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43233 wcscmp-c wcscmp-sse2
43234 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43235 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43236 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43237 * wcsmbs/wcscmp.c: Allow renaming.
43238
15c95c5d
DM
432392011-09-05 David S. Miller <davem@davemloft.net>
43240
43241 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43242 stack slot, rather than the struct return pointer slot.
43243 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43244 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43246 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43247
2f0ad8f3
UD
432482011-09-05 Ulrich Drepper <drepper@gmail.com>
43249
d88ae418
UD
43250 * po/ja.po: Update from translation team.
43251
2f0ad8f3
UD
43252 [BZ #13144]
43253 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43254 kernel in 64-bit binaries.
43255
5f4318d1
DM
432562011-09-01 David S. Miller <davem@davemloft.net>
43257
43258 * elf/elf.h (HWCAP_SPARC_*): Move to..
43259 * sysdeps/sparc/sysdep.h: this new file and add new values.
43260 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43261 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43262 _DL_HWCAP_COUNT to 24.
43263 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43264 entries.
43265 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43266 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43267 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43269 instead of magic constants.
43270 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43271
3ba57516
DM
432722011-08-31 David S. Miller <davem@davemloft.net>
43273
43274 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43276 Reimplement to do errno handling inline.
43277 (SYSCALL_ERROR_HANDLER): New macro.
43278 (__SYSCALL_STRING): Do not do errno handling in asm.
43279 (__CLONE_SYSCALL_STRING): Delete.
43280 (__INTERNAL_SYSCALL_STRING): Delete.
43281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43282 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43283 (PSEUDO): Reimplement to do errno handling inline.
43284 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43285 (SYSCALL_ERROR_HANDLER): New macro.
43286 (__SYSCALL_STRING): Do not do errno handling in asm.
43287 (__CLONE_SYSCALL_STRING): Delete.
43288 (__INTERNAL_SYSCALL_STRING): Delete.
43289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43290 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43291 i386.
43292 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43293 (inline_syscall*): Add 'err' argument.
43294 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43295 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43296 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43297 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43298
43299 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43300 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43301
2bc17433
AS
433022011-08-30 Andreas Schwab <schwab@redhat.com>
43303
43304 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43305
fbeb5f4d
JO
433062011-08-29 Jiri Olsa <jolsa@redhat.com>
43307
43308 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43309 directive.
43310
ad69cc26
DM
433112011-08-24 David S. Miller <davem@davemloft.net>
43312
43313 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43314
39dd69df
AS
433152011-08-24 Andreas Schwab <schwab@redhat.com>
43316
43317 * elf/Makefile: Add rules to build and run unload8 test.
43318 * elf/unload8.c: New file.
43319 * elf/unload8mod1.c: New file.
43320 * elf/unload8mod1x.c: New file.
43321 * elf/unload8mod2.c: New file.
43322 * elf/unload8mod3.c: New file.
43323
43324 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43325 it wasn't used.
43326
2c0b250a
DM
433272011-08-23 David S. Miller <davem@davemloft.net>
43328
43329 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43330 subtract stack bias.
43331 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43332 %sp not %fp in calculations.
43333 (_JMPBUF_UNWINDS_ADJ): Likewise.
43334
22044b48
DM
43335 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43336 (aio_suspend): Call it to force an exception region around the
43337 AIO_MISC_WAIT() invocation.
43338
2cae4995
AS
433392011-08-23 Andreas Schwab <schwab@redhat.com>
43340
43341 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43342 backslash.
43343
873a772e
AJ
433442011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43345
43346 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43347 protection macro.
43348 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43349 and <dl-machine.h>.
43350 (Elf64_FuncDesc): Remove.
43351
25ad0df1
DM
433522011-08-22 David S. Miller <davem@davemloft.net>
43353
43354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43355 sigaltstack check, add missing cfi directives.
43356 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43357 missing cfi directives, and sigaltstack handling.
43358
e888bcbe
AS
433592011-08-16 Andreas Schwab <schwab@redhat.com>
43360
43361 [BZ #11724]
43362 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43363 object is seen twice.
43364 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43365
43366 * elf/Makefile (distribute): Add tst-initorder2.c.
43367 (tests): Add tst-initorder2.
43368 (modules-names): Add tst-initorder2a tst-initorder2b
43369 tst-initorder2c tst-initorder2d. Add rules to build them.
43370 ($(objpfx)tst-initorder2.out): New rule.
43371 * elf/tst-initorder2.c: New file.
43372 * elf/tst-initorder2.exp: New file.
43373
87162f46
AS
433742011-08-22 Andreas Schwab <schwab@redhat.com>
43375
70538b7f
AS
43376 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43377
f55ffe58
AS
43378 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43379 dependencies back to end of function.
43380
87162f46
AS
43381 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43382 $(elfobjdir)/ld.so.
43383
91b392a4
UD
433842011-08-21 Ulrich Drepper <drepper@gmail.com>
43385
43386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43387 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43389 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43390 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43391 of __vdso_gettimeofday.
43392 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43393 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43394 attribute_hidden.
43395 (_libc_vdso_platform_setup): Remove initialization of
43396 __vdso_gettimeofday and __vdso_time.
43397
5c43483f
UD
433982011-08-20 Ulrich Drepper <drepper@gmail.com>
43399
775a77e7
UD
43400 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43401 and fgetc_unlocked.
43402 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43403 getc_unlocked.
89f447ed 43404
49c74ba9
UD
43405 * elf/dl-open.c (add_to_global): Report additions to the global scope
43406 for LD_DEBUG=scopes.
43407 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 43408 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 43409
5c43483f
UD
43410 [BZ #13114]
43411 * stdio-common/Makefile (tests): Add bug24.
43412 * stdio-common/bug24.c: New file.
43413
a101b025
AJ
434142011-08-19 Andreas Jaeger <aj@suse.de>
43415
43416 [BZ #13114]
43417 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43418 non-existant file when using close-on-exec mode.
43419
c88f1766
UD
434202011-08-20 Ulrich Drepper <drepper@gmail.com>
43421
0276a718
UD
43422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43423 the very first instruction.
43424
c88f1766
UD
43425 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43426 the CFI state in the end.
43427 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43428 inclusion of dl-trampoline.h.
43429 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43430
51ccffa0
AS
434312011-08-19 Andreas Schwab <schwab@redhat.com>
43432
94d7165f
AS
43433 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43434 expectations for long double.
43435
51ccffa0
AS
43436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43437 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43438
fd708658 434392011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
43440
43441 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43442 artificual limit depends upon the system page size.
43443
44f0a71e
UD
434442011-08-17 Ulrich Drepper <drepper@gmail.com>
43445
43446 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43447 * resolv/Makefile: Define CFLAGS-libresolv.
43448
8de79a24
AS
434492011-08-17 Andreas Schwab <schwab@redhat.com>
43450
43451 * nss/makedb.c (compute_tables): Make variables used in nested
43452 function static.
43453
27724598
UD
434542011-08-17 Ulrich Drepper <drepper@gmail.com>
43455
c5305d88
UD
43456 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43457 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43458 if buffer was too small.
43459
27724598
UD
43460 * elf/pldd.c (main): Attach to all threads in the process.
43461 Rewrite /proc handling to use *at functions.
43462
076fe015
UD
434632011-08-16 Ulrich Drepper <drepper@gmail.com>
43464
174baab3
UD
43465 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43466 specifies first scope to show.
43467 (dl_open_worker): Update callers. Move printing scope of new
43468 object to before the relocation.
44f0a71e 43469 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
43470 * sysdeps/generic/ldsodefs.h: Update declaration.
43471
076fe015
UD
43472 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43473 string for the scope number.
43474
a60df2c3
UD
434752011-08-14 Ulrich Drepper <drepper@gmail.com>
43476
43477 * nscd/servicescache.c (cache_addserv): Make sure written is always
43478 initialized.
43479
5e4287d1
RM
434802011-08-14 Roland McGrath <roland@hack.frob.com>
43481
85ae0589
RM
43482 * sysdeps/i386/i486/bits/atomic.h
43483 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43484 statement expression, so as to suppress "set but not used" warning.
43485 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43486
69f63097
RM
43487 * string/strncat.c (STRNCAT): Use prototype definition.
43488
675456ef
RM
43489 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43490 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43491 -Iprograms here.
43492 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43493 (localedef-modules): Add localedef.
43494 (locale-modules): Add locale.
43495
5e4287d1
RM
43496 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43497 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43498 to avoid a warning.
43499
9c96ff23
DM
435002011-08-14 David S. Miller <davem@davemloft.net>
43501
43502 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43503 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43504
f9ddf089
UD
435052011-08-13 Ulrich Drepper <drepper@gmail.com>
43506
44f0a71e 43507 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
43508 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43509 * elf/rtld.c (dl_main): Set l_name of vDSO.
43510 Call _dl_show_scope when DL_DEBUG_SCOPES.
43511 (process_dl_debug): Recognize scopes flag and also set it for all.
43512 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43513 Declare _dl_show_scope.
43514
1dc27704
UD
43515 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43516 (do_dlopen): Pass caller_dlopen to dl_open.
43517 (__libc_dlopen_mode): Initialize caller_dlopen.
43518
f9ddf089
UD
43519 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43520 of libc. Make tolower call locale-independent. Optimize a bit by
43521 using isdigit instead of isalnum.
43522 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43523
9ac533d3
UD
435242011-08-12 Ulrich Drepper <drepper@gmail.com>
43525
43526 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43527 was a dependency or dynamically loaded.
43528
89edf2e9
UD
435292011-08-11 Ulrich Drepper <drepper@gmail.com>
43530
8e999d29
UD
43531 * intl/l10nflist.c: Allow architecture-specific pop function.
43532 * sysdeps/x86_64/l10nflist.c: New file.
43533
89edf2e9
UD
43534 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43535 classification.
43536
14d96785
AS
435372011-08-10 Andreas Schwab <schwab@redhat.com>
43538
43539 * include/dirent.h: Add libc_hidden_proto for scandirat and
43540 scandirat64. Don't declare __scandirat64.
43541 * dirent/scandirat.c: Add libc_hidden_def.
43542 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43543 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43544
6761ac04
DM
435452011-08-10 David S. Miller <davem@davemloft.net>
43546
43547 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43548 enum.
43549 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43551 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43552
c55fbd1e
UD
435532011-08-09 Ulrich Drepper <drepper@gmail.com>
43554
43555 * Versions.def [libc]: Add GLIBC_2.15.
43556 * dirent/Makefile (routines): Add scandirat and scandirat64.
43557 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43558 GLIBC_2.15.
43559 * dirent/dirent.h: Declare scandirat and scandirat64.
43560 * dirent/scandirat.c: New file.
43561 * dirent/scandirat64.c: New file.
43562 * sysdeps/wordsize-64/scandirat.c: New file.
43563 * sysdeps/wordsize-64/scandirat64.c: New file.
43564 * dirent/opendir.c: Define opendirat.
43565 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43566 using scandirat.
43567 * dirent/scandir64.c: Adjust for scandir.c change.
43568 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43569 __scandirat64, and __scandir_cancel_handler.
43570 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43571 additional parameter and use openat instead of open (outside of ld.so).
43572 Add new __opendir as wrapper around __opendirat.
43573 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43574 here without requiring old scandirat implementation.
43575
879165f2
UD
435762011-08-08 Ulrich Drepper <drepper@gmail.com>
43577
43578 * dirent/scandir.c (cancel_handler): Renamed to
43579 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43580 defined. Adjust users.
43581 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43582 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43583
cb7e923b
UD
435842011-08-04 Ulrich Drepper <drepper@gmail.com>
43585
16292edd
UD
43586 * string/test-string.h (IMPL): Use __STRING to expand name and then
43587 stringify it.
43588
cb7e923b
UD
43589 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43590 of cleanups.
43591
cff82933
LD
435922011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43593
43594 * string/Makefile: Update.
43595 (strop-tests): Append strncat.
43596 * string/test-wcscmp.c: New file.
43597 New comprehensive test for wcscmp.
43598 * string/test-strcmp.c: Update.
43599 (WIDE): New define.
43600
9be9bfcc
AS
436012011-07-22 Andreas Schwab <schwab@redhat.com>
43602
43603 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43604 line.
43605
2e96f1c7
AS
436062011-07-26 Andreas Schwab <schwab@redhat.com>
43607
43608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43609 encoding to ACE if AI_IDN.
43610
85188888
JJ
436112011-08-01 Jakub Jelinek <jakub@redhat.com>
43612
43613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43614 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43615
5fa16e9b
LD
436162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43617
43618 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43619 Fix overflow bug in strncat.
43620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43621
43622 * string/test-strncat.c: Update.
43623 Add new tests for checking overflow bugs.
43624
436252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43626
43627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43628 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43629 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43630 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43631 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43632 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43633 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43634 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43635 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43636
43637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43638 (USE_AS_STRCAT): Define.
43639 Add strcat and strncat support.
43640 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43641
8c1a459f
AS
436422011-07-25 Andreas Schwab <schwab@redhat.com>
43643
43644 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43645 __n bigger than INT_MAX+1.
43646 (__strncmp_g): Likewise.
43647
bba33c28
UD
436482011-07-23 Ulrich Drepper <drepper@gmail.com>
43649
798be72d
UD
43650 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43651 * libio/stido.h: Likewise.
43652
8accd4dc
UD
43653 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43654 (AF_NFC): Define.
43655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43656 (AF_NFC): Define.
43657
cbff0d96
UD
43658 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43659 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43660 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43661 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43662 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43663
9191c04a
UD
43664 [BZ #13021]
43665 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43666 installed.
43667
bba33c28
UD
43668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43669 typo.
43670 (_dl_x86_64_save_sse): Likewise.
43671
90f139dd
UD
436722011-07-22 Ulrich Drepper <drepper@gmail.com>
43673
1aae088a
UD
43674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43675 OSXSAVE.
43676 (_dl_x86_64_save_sse): Likewise.
43677
8e2045f5
UD
43678 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43679
90f139dd
UD
43680 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43681
1d002f25
AS
436822011-07-21 Andreas Schwab <schwab@redhat.com>
43683
43684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43685 change.
43686 (_dl_x86_64_save_sse): Use correct AVX check.
43687
21137f89
UD
436882011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43689
43690 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43691 bug in strncpy/strncat.
43692 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43693
a65c0b7a
UD
436942011-07-21 Ulrich Drepper <drepper@gmail.com>
43695
43696 * string/tester.c (test_strcat): Add tests for different alignments
43697 of source and destination.
43698 (test_strncat): Likewise.
43699
6986b98a
UD
437002011-07-20 Ulrich Drepper <drepper@gmail.com>
43701
90bb2039
UD
43702 [BZ #12852]
43703 * posix/glob.c (glob): Check passed in values before using them in
43704 expressions to avoid some overflows.
43705 (glob_in_dir): Likewise.
43706
5644ef54
UD
43707 [BZ #13007]
43708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43709 check for AVX enablement so that we don't crash with old kernels and
43710 new hardware.
43711 * elf/tst-audit4.c: Add same checks here.
43712 * elf/tst-audit6.c: Likewise.
43713
43714 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 43715
bfc9dc9b
AS
437162011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43717
43718 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43719
702e64bb
UD
437202011-07-20 Ulrich Drepper <drepper@gmail.com>
43721
43722 * po/cs.po: Update from translation team.
43723 * po/bg.po: Likewise.
43724
295e904f
MP
437252011-07-12 Marek Polacek <mpolacek@redhat.com>
43726
43727 * misc/sys/cdefs.h: Add support for const attribute.
43728 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43729 to gnu_dev_{major,minor,makedev} functions.
43730
3ff94596
MP
437312011-07-20 Marek Polacek <mpolacek@redhat.com>
43732
43733 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43734
28b59fca
AS
437352011-07-20 Andreas Schwab <schwab@redhat.com>
43736
43737 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43738 strlen results.
43739
19df733e
AK
437402011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43741
43742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43743 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43744 register in order to avoid conflicts with the soft frame pointer
43745 being held in r11 when necessary.
43746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43747 (INTERNAL_VSYSCALL_NCS): Likewise.
43748
c8835729
MP
437492011-07-14 Marek Polacek <mpolacek@redhat.com>
43750
43751 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43752 * elf/dl-fini.c (_dl_fini): Adjust caller.
43753 * elf/dl-close.c (_dl_close_worker): Likewise.
43754 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43755
b902330c
MP
437562011-07-15 Marek Polacek <mpolacek@redhat.com>
43757
8991e135
MP
43758 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43759 "aux_cache->nlibs < 0".
43760
b902330c
MP
43761 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43762 in the reload-count case.
43763
99710781
LD
437642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43765
43766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43767 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43768 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43769 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43770 * sysdeps/x86_64/multiarch/strcat.S: New file.
43771 * sysdeps/x86_64/multiarch/strncat.S: New file.
43772 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43773 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43774 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43775 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43777 (USE_AS_STRCAT): Define.
43778 Add strcat and strncat support.
43779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43780 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43781 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43782 * string/strncat.c: Update.
43783 (USE_AS_STRNCAT): Define.
43784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43785 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43786 and i7.
43787 * sysdeps/x86_64/multiarch/init-arch.h
43788 (bit_Prefer_PMINUB_for_stringop): New.
43789 (index_Prefer_PMINUB_for_stringop): Likewise.
43790 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43791 bit_Prefer_PMINUB_for_stringop.
43792
7dc6bd90
UD
437932011-07-19 Ulrich Drepper <drepper@gmail.com>
43794
43795 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43796 buffer64.
43797 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43798 of casting of buffer.
43799 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43800 buffer32 and buffer64.
43801 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43802 writes instead of casting of buffer.
43803 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43804 buffer32.
43805 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43806 casting of buffer.
43807
e0e72284
AS
438082011-07-19 Andreas Schwab <schwab@redhat.com>
43809
43810 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43811
feb1eb0b
UD
438122011-07-19 Ulrich Drepper <drepper@gmail.com>
43813
43814 * nscd/nscd.c (termination_handler): Don't do anything for a database
43815 if it has not yet been initialized.
43816
298711ff
UD
438172011-07-18 Ulrich Drepper <drepper@gmail.com>
43818
43819 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43820
438212011-07-15 Marek Polacek <mpolacek@redhat.com>
43822
43823 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43824
f9d68389
UD
438252011-07-18 Ulrich Drepper <drepper@gmail.com>
43826
43827 * po/nl.po: Update from translation team.
43828 * po/sv.po: Likewise.
43829
db290cf5
RM
438302011-07-16 Roland McGrath <roland@hack.frob.com>
43831
43832 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43833 now disallowed by GCC.
5c550700 43834
fd5e21c7
RM
43835 * configure.in (use-default-link): Default to yes if a test -shared
43836 link meets our qualifications.
43837 * configure: Regenerated.
43838
5c550700
RM
43839 * config.make.in (output-format): New variable.
43840 * configure.in: Check for ld --print-output-format support.
43841 * configure: Regenerated.
43842 * Makerules ($(common-objpfx)format.lds)
43843 [$(output-format) != unknown]: Just use $(output-format),
43844 instead of the linker-script munging.
43845
9fa2c032
RM
438462011-07-14 Roland McGrath <roland@hack.frob.com>
43847
a6928d51
RM
43848 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43849 of $(common-objpfx)shlib.lds.
43850 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43851
661607b3
RM
43852 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43853 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43854
9fa2c032
RM
43855 * configure.in (-z relro check): Adjust test code to add a large
43856 writable data section after it.
43857 * configure: Regenerated.
43858
defe9061
RM
438592011-07-11 Roland McGrath <roland@hack.frob.com>
43860
43861 * configure.in (-z relro check): Fix test code to make the variable
43862 truly const.
43863 * configure: Regenerated.
43864
319b9ad4
UD
438652011-07-11 Ulrich Drepper <drepper@gmail.com>
43866
43867 * nscd/nscd.h (struct traced_file): Define.
43868 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43869 elements. Add traced_files.
43870 (inotify_fd): Declare.
43871 (register_traced_file): Declare.
43872 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43873 (inotify_fd): Export.
43874 (resolv_conf_descr): Remove.
43875 (nscd_init): Move inotify descriptor creation to main.
43876 Don't register files for notification here.
43877 (register_traced_file): New function.
43878 (invalidate_cache): Don't use reset_res to determine whether to call
43879 res_init, go through the list of registered files.
43880 (main_loop_poll): The inotify descriptors are now stored in the
43881 structures for the traced files.
43882 (main_loop_epoll): Likewise
43883 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43884 to __nss_disable_nscd.
43885 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43886 for a database anymore. Check the records for all the registered
43887 files instead.
43888 * nss/Makefile (libnss_files-routines): Add files-init.
43889 (libnss_db-routines): Add db-init.
43890 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43891 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43892 * nss/nss_db/db-init.c: New file.
43893 * nss/nss_files/files-init.c: New file.
43894 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43895 __nss_lookup_function.
43896 (__nss_lookup_function): Call nss_load_library.
43897 (nss_load_all_libraries): New function.
43898 (__nss_disable_nscd): Take parameter with callback function for files
43899 to register. Set is_nscd. Load all the DSOs for the NSS modules
43900 used for the cached services.
43901 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43902 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43903 options for features to all the files in nscd.
43904
43905 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43906
23bee3e8
RM
439072011-07-10 Roland McGrath <roland@hack.frob.com>
43908
43909 * csu/elf-init.c (__libc_csu_init): Comment typo.
43910
46a5b7f0
UD
439112011-07-09 Ulrich Drepper <drepper@gmail.com>
43912
43913 * po/pl.po: Update from translation team.
43914 * po/ja.po: Likewise.
43915 * po/ru.po: Likewise.
43916 * po/ko.po: Likewise.
43917 * po/fr.po: Likewise.
43918
d30cf5bb
RM
439192011-07-09 Roland McGrath <roland@hack.frob.com>
43920
113ddea4
RM
43921 * configure.in (.ctors/.dtors header and trailer check):
43922 Use an empirical test on a built program.
43923 * configure: Regenerated.
43924
574920b4
RM
43925 * configure.in (-z relro check): Use an empirical test on a built DSO.
43926 Detect, but do not require, on ia64.
43927 * configure: Regenerated.
43928
d30cf5bb
RM
43929 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43930 Update tests that use readelf to use $READELF instead.
43931 * configure: Regenerated.
43932
8538fdb3
UD
439332011-07-08 Ulrich Drepper <drepper@gmail.com>
43934
43935 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43936 if the result is not used.
43937
04d08991
AJ
439382011-07-05 Andreas Jaeger <aj@suse.de>
43939
43940 [BZ#9696]
43941 * stdlib/tst-strtod.c: Add testcase.
43942
de283087
AD
439432011-07-07 Ulrich Drepper <drepper@gmail.com>
43944
4e5f31c8 43945 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 43946 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
43947 The latter has a higher limit. Take additional parameter to pass to
43948 the new function.
43949 (__pathconf): Pass file to __statfs_link_max.
43950 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43951 __statfs_link_max.
43952 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43953 __statfs_link_max.
43954
de283087
AD
43955 [BZ #12868]
43956 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43957 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43958 Handle Lustre.
43959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43960 (__statfs_filesize_max): Likewise.
43961 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43962
c75fa153
AJ
439632011-07-05 Andreas Jaeger <aj@suse.de>
43964
43965 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43966
1a544854
UD
439672011-07-06 Marek Polacek <mpolacek@redhat.com>
43968
43969 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43970 `status' variable.
43971 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43972 Likewise.
43973
6f0eec67
UD
439742011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43975
43976 * Makefile (strop-tests): Add strncat.
43977 * string/test-strncat.c: New file.
43978
aae30307
UD
439792011-06-30 Marek Polacek <mpolacek@redhat.com>
43980
43981 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43982
c0cfb5eb
UD
439832011-06-21 Andreas Jaeger <aj@suse.de>
43984
43985 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43986 Copy rule from iconvdata/Makefile.
43987
01636b21
UD
439882011-07-06 Ulrich Drepper <drepper@gmail.com>
43989
43990 [BZ #12922]
43991 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43992 but no long options are defined, just return 'W'.
43993
9895c8bc
UD
439942011-06-22 Marek Polacek <mpolacek@redhat.com>
43995
43996 [BZ #9696]
43997 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43998
5d4cf042
UD
439992011-07-06 Ulrich Drepper <drepper@gmail.com>
44000
44001 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44002 netgroups to read.
960e5535 44003 (innetgr): Likewise.
5d4cf042 44004
751eb97e
RM
440052011-07-05 Roland McGrath <roland@hack.frob.com>
44006
44007 * config.make.in (install_root): Default to $(DESTDIR).
44008
f15f1e45
UD
440092011-07-05 Ulrich Drepper <drepper@gmail.com>
44010
44011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44012
4e34ac6a
RM
440132011-07-02 Roland McGrath <roland@hack.frob.com>
44014
5e9b6af4
RM
44015 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44016
84f9ea0f
RM
44017 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44018 containing directory rather than embedding absolute directory names.
44019
ea5ee9f7
RM
44020 * scripts/check-local-headers.sh: Rewritten using awk.
44021 Match by word, not by line. Print error messages for matches.
44022 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44023
1b74661a
RM
44024 * Makerules [shlib-lds-flags empty]:
44025 ($(common-objpfx)libc_pic.opts): New target.
44026 ($(common-objpfx)libc_pic.os.clean): New target.
44027 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44028
44029 * config.make.in (OBJCOPY): New variable.
44030 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44031 * configure: Regenerated.
44032
f781ef40
RM
44033 * config.make.in (use-default-link): New variable.
44034 * configure.in (use_default_link): Grok --with-default-link to set it.
44035 * configure: Regenerated.
44036 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44037 (shlib-lds, shlib-lds-flags): Define to empty.
44038
2d4fa81e
RM
44039 * Makerules (shlib-lds): New variable.
44040 (shlib-lds-flags): New variable.
44041 (build-shlib, build-moduile, build-module-asneeded): Use it.
44042 ($(common-objpfx)libc.so): Use $(shlib-lds).
44043 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44044 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44045
31fffa6b
RM
44046 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44047 DT_FLAGS/DT_FLAGS_1 with zero flags.
44048
4e34ac6a
RM
44049 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44050 linker script munging.
44051
fcfc776b
UD
440522011-07-02 Ulrich Drepper <drepper@gmail.com>
44053
44054 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44055 as 128-bit value.
44056 * crypt/sha512.c (sha512_process_block): Perform total addition using
44057 128-bit if possible.
44058 (__sha512_finish_ctx): Likewise.
44059 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44060 as 64-bit value.
44061 * crypt/sha256.c (SWAP64): Define.
44062 (sha256_process_block): Perform total addition using 64-bit if
44063 possible.
44064 (__sha256_finish_ctx): Likewise.
44065
99231d9a
UD
440662011-07-01 Ulrich Drepper <drepper@gmail.com>
44067
44068 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44070 * nscd/hstcache.c (cache_addhst): Likewise.
44071 * nscd/grpcache.c (cache_addgr): Likewise.
44072 * nscd/aicache.c (addhstaiX): Likewise
44073 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44074
445b4a53
TK
440752011-07-01 Thorsten Kukuk <kukuk@suse.de>
44076
44077 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44079 * nscd/hstcache.c (cache_addhst): Likewise.
44080 * nscd/grpcache.c (cache_addgr): Likewise.
44081 * nscd/aicache.c (addhstaiX): Likewise
44082
6d4d8e8e
AS
440832011-07-01 Andreas Schwab <schwab@redhat.com>
44084
44085 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44086 domain only when needed.
44087
89f654c5
AS
440882011-06-30 Andreas Schwab <schwab@redhat.com>
44089
44090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44091 is always restored.
44092
cf3b23ff
UD
440932011-06-29 Ulrich Drepper <drepper@gmail.com>
44094
44095 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44096 are re-adding the entry.
44097 * nscd/servicescache.c (cache_addserv): Likewise.
44098
751626f9
AJ
440992011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44100
44101 * sysdeps/generic/dl-irel.h: fix protection against multiple
44102 inclusions.
44103 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44104
9113ea1f
UD
441052011-06-28 Ulrich Drepper <drepper@gmail.com>
44106
5c0b8d90
UD
44107 [BZ #12935]
44108 * malloc/memusage.sh: Fix quoting in message.
44109 * debug/xtrace.sh: Likewise.
44110
9113ea1f
UD
44111 * configure.in: Remove support for --experimental-malloc option, make
44112 it the default.
44113 * config.make.in: Likewise.
44114 * malloc/Makefile: Likewise.
44115
a4172181
AS
441162011-06-27 Andreas Schwab <schwab@redhat.com>
44117
44118 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44119 two-byte characters.
44120
78a7eee7
RM
441212011-06-27 Roland McGrath <roland@hack.frob.com>
44122
62bede13
RM
44123 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44124 AC_CACHE_CHECK invocation.
44125 * configure: Regenerated.
44126
78a7eee7
RM
44127 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44128
5ce33a62
UD
441292011-06-27 Ulrich Drepper <drepper@gmail.com>
44130
034807a9
UD
44131 [BZ #12350]
44132 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44133 bit from old_res_options.
44134
4902da17
UD
44135 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44136
5ce33a62
UD
44137 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44138 value type for setfct.
44139
c2344f56
L
441402011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44141
44142 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44143 __gettimeofday instead of gettimeofday.
44144
68468076
UD
441452011-06-26 Ulrich Drepper <drepper@gmail.com>
44146
44147 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44148
acb0d739
L
441492011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44150
44151 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44152
44153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44154 info.
44155
8912479f
L
441562011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44157
44158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44159 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44160 strcpy-sse2-unaligned strncpy-sse2-unaligned
44161 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44162 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44163 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44164 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44165 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44166 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44167 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44168 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44169 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44170 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44171 (STRCPY): Support SSE2 and SSSE3 versions.
44172
d5495a11
UD
441732011-06-24 Ulrich Drepper <drepper@gmail.com>
44174
44175 [BZ #12874]
44176 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44177 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44178 kernels which artificially limit size of requests.
44179
0b1cbaae
L
441802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44181
44182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44183 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44184 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44185 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44186 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44187 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44188 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44189 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44191 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44192 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44193 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44194 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44195 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44196 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44198 Enable unaligned load optimization for Intel Core i3, i5 and i7
44199 processors.
44200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44201 Define.
44202 (index_Fast_Unaligned_Load): Define.
44203 (HAS_FAST_UNALIGNED_LOAD): Define.
44204
07f494a0
MP
442052011-06-23 Marek Polacek <mpolacek@redhat.com>
44206
44207 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44208
fa3fc0fe
UD
442092011-06-22 Ulrich Drepper <drepper@gmail.com>
44210
44211 [BZ #12907]
44212 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44213 until it is clear that the information is realy needed.
44214 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44215
e12df166
AS
442162011-06-22 Andreas Schwab <schwab@redhat.com>
44217
44218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44219
852eb34d
UD
442202011-06-22 Ulrich Drepper <drepper@gmail.com>
44221
84e2a551
UD
44222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44223 /sys/devices/system/cpu/online if it is usable.
44224
852eb34d
UD
44225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44226 reading the information from the /proc filesystem to once a second.
44227
6e502e19
UD
442282011-06-21 Andreas Jaeger <aj@suse.de>
44229
44230 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44231 NULL after inclusion of kernel headers.
44232
75d39ff2
UD
442332011-06-21 Ulrich Drepper <drepper@gmail.com>
44234
51f9aa6a
UD
44235 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44236 calls to internal_setent.
44237
c0244a9d
UD
44238 [BZ #12885]
44239 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44240 addresses using gethostbyname4_r ignore IPv4 addresses.
44241
c5e3c2ae
UD
44242 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44243 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44244
75d39ff2
UD
44245 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44246
42675c6f
DM
442472011-06-20 David S. Miller <davem@davemloft.net>
44248
44249 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44250 inclusions.
44251 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44252
44253 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44254 (elf_irel): Use it.
44255 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44256 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44257 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44258 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44259 * sysdeps/x86_64/dl-irel.h: Likewise.
44260
44261 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44262 * elf/dl-sym.c: Likewise.
44263
57912a71
UD
442642011-06-15 Ulrich Drepper <drepper@gmail.com>
44265
44266 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44267 need to dereference resplen2.
44268
ee22793d
AS
442692011-06-14 Andreas Schwab <schwab@redhat.com>
44270
44271 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44272
a9e836b0
UD
442732011-06-15 Ulrich Drepper <drepper@gmail.com>
44274
77fb9117
UD
44275 * Makeconfig: Define vardbdir and inst_vardbdir.
44276 * nss/Makefile: Add rules to install db-Makefile.
44277
40c1b22c
UD
44278 * nss/nss_db/db-XXX.c: Cleanup.
44279
9f2da732
UD
44280 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44281 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44282 GLIBC_PRIVATE.
44283 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44284 * nss/makedb.c: Implement -g option to specify that value strings
44285 are generated and should not be added to table iterated over for
44286 get*ent calls.
44287 * nss/nss_db/db-initgroups.c: New file.
44288
82e9a1f7
UD
44289 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44290 interface.
44291
c41af17e
UD
44292 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44293 (internal_getgrouplist): Adjust to name change.
44294 Update use_initgroups_entry if this is not the first call.
44295 * nss/databases.def: Add initgroups entry.
44296
a9e836b0
UD
44297 * nss/makedb.c (compute_tables): Check result of multiple hash table
44298 sizes to minimize maximum chain length.
44299
2666d441
UD
443002011-06-14 Ulrich Drepper <drepper@gmail.com>
44301
44302 * Versions.def: Add entry for libnss_db.
44303 * shlib-versions: Likewise.
44304 * nss/Makefile: Add rules to build libnss_db.
44305 * nss/Versions: Add libnss_db information. Organize libnss_files
44306 entries better.
44307 * nss/db-Makefile: Add gshadow support. Change rules for the new
44308 makedb progra. Some minor improvements to generate smaller files.
44309 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44310 here from...
44311 * nss/makedb.c: ...here.
44312 Improve database format to be smaller and require less memory at
44313 runtime.
44314 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44315 db anymore.
44316 * nss/nss_db/db-netgrp.c: Likewise.
44317 * nss/nss_db/db-open.c: Likewise.
44318 * nss/nss_files/flies-XXX.x: Adjust comments.
44319 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44320 * nss/nss_files/files-grp.c: Likewise.
44321 * nss/nss_files/files-hosts.c: Likewise.
44322 * nss/nss_files/files-network.c: Likewise.
44323 * nss/nss_files/files-proto.c: Likewise.
44324 * nss/nss_files/files-pwd.c: Likewise.
44325 * nss/nss_files/files-rpc.c: Likewise.
44326 * nss/nss_files/files-service.c: Likewise.
44327 * nss/nss_files/files-sgrp.c: Likewise.
44328 * nss/nss_files/files-spwd.c: Likewise.
44329 * nss/nss_db/db-alias.c: Removed.
44330 * nss/nss_db/dummy-db.h: Removed.
44331
9ee76b5a
UD
443322011-06-02 Ulrich Drepper <drepper@gmail.com>
44333
44334 * nss/makedb.c: Rewritten to not use database library.
44335 * nss/Makefile: Update to build new makedb program.
44336
c71ca1f8
AJ
443372011-06-14 Andreas Jaeger <aj@suse.de>
44338
44339 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44340 memset declaration.
44341
3154bfb8
UD
443422011-06-10 Andreas Schwab <schwab@redhat.com>
44343
44344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44345 tmpbuf.
44346
b350afab
RM
443472011-06-10 Roland McGrath <roland@hack.frob.com>
44348
decd4e50
RM
44349 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44350 * elf/Makefile ($(objpfx)ld.so): Likewise.
44351
5615eaf2
RM
44352 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44353 Don't list ld.so twice in dependencies.
44354
44355 * posix/bug-regex31.c: Include <stdlib.h>.
44356
44357 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44358
44359 * nis/nss_compat/compat-spwd.c
44360 (getspent_next_nss_netgr): Remove unused variable.
44361 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44362
44363 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44364 nonmembers" output to use the right array.
44365
44366 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44367
44368 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44369
44370 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44371 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44372 * catgets/gencat.c (read_input_file): Likewise.
44373 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44374
44375 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44376 variable definition inside #if's controlling its use.
44377
44378 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44379
44380 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44381
44382 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44383
44384 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44385 unreachable code.
44386
44387 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44388
b68e08db
RM
44389 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44390 * configure: Regenerated.
44391
b350afab
RM
44392 * Makerules: Revert last change.
44393 * elf/Makefile: Likewise.
44394
28368601
RM
443952011-06-09 Roland McGrath <roland@hack.frob.com>
44396
44397 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44398 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44399 (reloc-link): Likewise.
44400
11988f8f
UD
444012011-06-09 Ulrich Drepper <drepper@gmail.com>
44402
44403 * elf/Makefile: Add rules to build pldd.
44404 * elf/pldd.c: New file.
44405 * elf/pldd-xx.c: New file.
44406
e80fab37
UD
444072011-06-07 Ulrich Drepper <drepper@gmail.com>
44408
44409 * version.h: Update for 2.15 development version.
44410
9b849836
DM
444112011-06-07 David S. Miller <davem@davemloft.net>
44412
44413 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44414 ifuncs.
44415 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44416 elf_machine_lazy_rel): Likewise.
44417 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44418 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44419 elf_machine_lazy_rel): Likewise.
44420 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44421 dl_hwcap via passed in argument.
44422 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44423 Likewise.
44424
5a31b283
AK
444252011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44426
44427 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44428
069e52f8
RM
444292011-06-06 Roland McGrath <roland@hack.frob.com>
44430
44431 [BZ #12849]
44432 * manual/fdl-1.1.texi: New file, verbatim from:
44433 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44434 * manual/lgpl-2.1.texi: New file, verbatim from:
44435 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44436 * manual/Makefile (licenses): New variable, list those new file names.
44437 (texis): Use it.
44438 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44439
44440 * manual/fdl.texi: File removed.
44441 * manual/lesser.texi: File removed.
44442 * manual/libc.texinfo (Copying, Documentation License):
44443 Use new @include file names, put @appendix directive before @include.
44444
f16846a5
JJ
444452011-06-04 Jakub Jelinek <jakub@redhat.com>
44446
44447 [BZ #12841]
44448 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44449 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44450 (mq_open): Add __NTH.
44451
3d29045b
L
444522011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44453
44454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44455 Assume Intel Core i3/i5/i7 processor if AVX is available.
44456
8c297311
UD
444572011-05-31 Ulrich Drepper <drepper@gmail.com>
44458
44459 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44460 typo.
44461
c8fc0c91
UD
444622011-05-31 Andreas Schwab <schwab@redhat.com>
44463
44464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44465 memory. Use alloca_account. Fix memory leak when retrying.
44466
5b27a807
UD
444672011-05-31 Ulrich Drepper <drepper@gmail.com>
44468
356f8bc6
UD
44469 * version.h (RELEASE): Bump for 2.14 release.
44470 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44471
5b27a807
UD
44472 * config.make.in (RANLIB): Remove entry.
44473
01f16ab0
UD
444742011-05-30 Ulrich Drepper <drepper@gmail.com>
44475
41fce8bd
UD
44476 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44477 (libc.pot): Work around missing support for .ksh extension in xgettext.
44478
4769ae77
UD
44479 [BZ #12684]
44480 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44481 if both request failed.
44482 (send_dg): In case of server errors clear resplen or *resplen2.
44483
6b1e7d19
UD
44484 [BZ #12454]
44485 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44486 when there are multiple maps.
44487 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44488 (_dl_fini): Remove test here.
44489
01f16ab0
UD
44490 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44491
b1ebd700
UD
444922011-05-29 Ulrich Drepper <drepper@gmail.com>
44493
7ae22829
UD
44494 [BZ #12350]
44495 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44496 bit from old_res_options.
44497 (gaih_inet): Likewise.
44498
553149f6 44499 [BZ #11099]
18a84741 44500 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
44501 as signed.
44502
652ffab1
UD
44503 * resolv/res_init.c (res_setoptions): Make the code more compact.
44504
16985fd0
UD
44505 [BZ #11558]
44506 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44507 set RES_USEVC.
44508
0464f746
UD
44509 [BZ #11634]
44510 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44511
7d17596c
UD
44512 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44513
cf6bbbd7
UD
44514 [BZ #11781]
44515 * malloc/malloc.h: Declare malloc hook variables as volatile.
44516
13f1ab36
UD
44517 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44518 in last patch.
44519
b1ebd700
UD
44520 [BZ #11799]
44521 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 44522 raise in the comment.
80e2212d
UD
44523 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44524 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44525 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 44526
ce67228d
UD
445272011-05-28 Ulrich Drepper <drepper@gmail.com>
44528
8887a920
UD
44529 [BZ #12811]
44530 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44531 grow the buffers more if it already has to be sufficient.
44532 (build_wcs_upper_buffer): Likewise.
44533 * posix/regexec.c (check_matching): Likewise.
44534 (clean_state_log_if_needed): Likewise.
44535 (extend_buffers): Don't enlarge buffers beyond size of the input
44536 buffer.
44537 Patches mostly by Emil Wojak <emil@wojak.eu>.
44538 * posix/bug-regex32.c: New file.
44539 * posix/Makefile (tests): Add bug-regex32.
44540
4f031072
UD
44541 * locale/findlocale.c (_nl_find_locale): Return right away if
44542 _nl_explode_name failed.
44543 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44544
d0478f0c
UD
44545 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44546
de81b246
UD
44547 * debug/xtrace.sh: Unify messages.
44548 * malloc/memusage.sh: Likewise.
44549
c738465a
UD
44550 [BZ #12813]
44551 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44552 time symbol from vDSO. Substitute with vsyscall if not available.
44553 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44554 __vdso_time.
44555
f1f929d7
UD
44556 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44557 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44558 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44559 Add sendmmsg and internal_sendmmsg.
44560 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44561 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44562 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44563
ce67228d
UD
44564 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44565 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44567
e57420c6
UD
445682011-05-27 Ulrich Drepper <drepper@gmail.com>
44569
a8509ca5
UD
44570 [BZ #12813]
44571 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44572 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44573 available.
44574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44575 __vdso_getcpu.
44576
e57420c6
UD
44577 [BZ #12814]
44578 * iconvdata/Makefile (tests): Add bug-iconv9.
44579 * iconvdata/bug-iconv9.c: New file.
44580
4d07db15
AS
445812011-05-27 Andreas Schwab <schwab@redhat.com>
44582
44583 [BZ #12814]
44584 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44585
ea486f69
JJ
445862011-05-25 Jakub Jelinek <jakub@redhat.com>
44587
44588 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44589 (struct user_regs_struct): Change intcs field back to cs.
44590
6f038433
UD
445912011-05-25 Ulrich Drepper <drepper@gmail.com>
44592
44593 * po/ja.po: Update from translation team.
44594
67f86a25
UD
445952011-05-23 Ulrich Drepper <drepper@gmail.com>
44596
44597 [BZ #12795]
44598 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44599 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44600
def7fbd6
AS
446012011-05-20 Andreas Schwab <schwab@redhat.com>
44602
44603 * stdlib/longlong.h: Update from GCC.
44604
f50ef8f1
AS
446052011-05-23 Andreas Schwab <schwab@redhat.com>
44606
44607 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44608 parameter name.
44609 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44610 Add parameter name.
44611 (__sysconf): Pass it down.
44612
de7ce8f1
UD
446132011-05-22 Ulrich Drepper <drepper@gmail.com>
44614
f2962a71
UD
44615 [BZ #12671]
44616 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44617 some situations.
44618 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44619 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44620 add in in __libc_use_alloca calls. Adjust callers.
44621 (glob): Use malloc in some situations.
44622
de7ce8f1
UD
44623 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44624 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44625 pltexit.
44626
aec84f53
UD
446272011-05-21 Ulrich Drepper <drepper@gmail.com>
44628
05bb4a68
UD
44629 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44630 and CLOCK_BOOTTIME_ALARM.
44631
7ea72f99
UD
44632 [BZ #12782]
44633 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44634 is returned.
44635
7e4afad5
UD
44636 * string/_strerror.c (__strerror_r): Print negative errors as signed
44637 numbers.
44638
8e211fec
UD
44639 [BZ #12777]
44640 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44641 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44642 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44643
f7d82dc9
UD
44644 * configure.in: Fix typo in redirection and correct removal of test
44645 files in two cases.
44646
cc9e536d
UD
44647 [BZ #12788]
44648 * locale/setlocale.c (new_composite_name): Fix test to check for
44649 identical name of all categories.
44650
aec84f53
UD
44651 [BZ #12792]
44652 * libio/filedoalloc.c (local_isatty): New function.
44653 (_IO_file_doallocate): Use local_isatty.
44654 * stdio-common/perror.c (perror): In case a new stream is used
44655 forward the stream error.
44656 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44657 error flag.
44658
78e64fdc
RT
446592011-05-20 Ulrich Drepper <drepper@gmail.com>
44660
34a9094f
UD
44661 [BZ #11869]
44662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44663 alloca.
44664 * include/alloca.h (extend_alloca_account): Define.
44665
78e64fdc
RT
44666 [BZ #11857]
44667 * posix/regex.h: Fix comments with documentation of user-accessible
44668 fields after compilation and describe correct free'ing of pattern
44669 after re_compile_pattern.
44670 Patch by Reuben Thomas <rrt@sc3d.org>.
44671
457bddfc
RA
446722011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44673
44674 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44675 and -mno-altivec to prevent the compiler from using Altivec and/or
44676 VSX instructions when the corresponding registers are not available.
44677
a4527b51
AS
446782011-05-19 Andreas Schwab <schwab@redhat.com>
44679
44680 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44681
ed690b2f
UD
446822011-05-19 Ulrich Drepper <drepper@gmail.com>
44683
44684 * libio/freopen.c (freopen): Use __dup2, not dup2.
44685 * libio/freopen64.c (freopen64): Likewise.
44686
8db73634
L
446872011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44688
44689 [BZ #12775]
44690 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44691 * math/Makefile (tests): Add test-powl.
44692 (CFLAGS-test-powl.c): Define.
44693 * math/test-powl.c: New file.
44694
0a197a9d
L
446952011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44696
44697 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44698
ee30c380
UD
446992011-05-17 Ulrich Drepper <drepper@gmail.com>
44700
44701 [BZ #11837]
44702 * iconvdata/gb18030.c: Update to GB18020-2005.
44703
6ce75379
UD
447042011-05-16 Ulrich Drepper <drepper@gmail.com>
44705
a4b89fd8
AR
44706 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44707 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44708 Patch by Aharon Robbins <arnold@skeeve.com>.
44709
ea389b12
UD
44710 [BZ #11892]
44711 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44712 on the stack.
44713
68a3f91f
UD
44714 [BZ #11895]
44715 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44716 through underflows.
44717
15cc7dd1
UD
44718 [BZ #12766]
44719 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44720 point to strings before performing equality test for error_one_per_line
44721 mode.
44722
f3799213
UD
44723 [BZ #11697]
44724 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44725
d79a9c94
UD
44726 [BZ #11820]
44727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44728 (struct user_fpregs_struct): Avoid __uint*_t types.
44729
56e5eb46
UD
44730 [BZ #6420]
44731 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44732 symbol info. Use it instead of calling _dl_addr locally.
44733 (lock_and_info): New function.
44734 (tr_freehook): Call lock_and_info and pass symbol info as additional
44735 parameter to tr_where.
44736 (tr_mallochook): Likewise.
44737 (tr_reallochook): Likewise.
44738 (tr_memalignhook): Likewise.
44739
6ce75379
UD
44740 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44741 used and couldn't be at all thread-safe.
44742
f8a3b5bf
UD
447432011-05-15 Ulrich Drepper <drepper@gmail.com>
44744
94b7cc37
UD
44745 * libio/freopen.c (freopen): Don't close old file descriptor
44746 before the new one is opened. Instead dup the new file descriptor
44747 to the old one after the new stream is created.
44748 * libio/freopen64.c (freopen64): Likewise.
44749 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44750 * libio/fileops.c (_IO_new_file_close_it): Handle new
44751 _IO_FLAGS2_NOCLOSE flag.
44752 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44753 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44754 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44755 _IO_FLAGS2_NOCLOSE flag.
44756 * include/unistd.h: Add hidden_proto for dup3.
44757 Define __have_dup3.
44758 * io/dup3.c: Define hidden symbol.
44759 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44760
bd25564e
UD
44761 [BZ #7101]
44762 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44763 when an incomplete long option is used.
44764 * posix/tst-getopt_long1.c: New file.
44765 * posix/Makefile (tests): Add tst-getopt_long1.
44766
c84cfef4
UD
44767 [BZ #10138]
44768 * scripts/config.guess: Update from autoconf-2.68.
44769 * scripts/config.sub: Likewise.
44770
3b85df27
UD
44771 [BZ #10157]
44772 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44773 tests into ...
44774 (has_cpuclock): ...this. New function.
44775 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44776 macro here based on has_cpuclock code.
44777
15a856b1
UD
44778 [BZ #10149]
44779 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44780 First byte (not low byte) is now always NUL.
44781 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44782
05f399e6
UD
44783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44784 Use non-cancelable interfaces.
44785
10a52685 44786 [BZ #9809]
94ecc67d
UD
44787 * locale/iso-639.def: Add entry for Sorani.
44788
f8a3b5bf
UD
44789 [BZ #11901]
44790 * include/stdlib.h: Move include protection to the right place.
44791 Define abort_msg_s. Declare __abort_msg with it.
44792 * stdlib/abort.c (__abort_msg): Adjust type.
44793 * assert/assert.c (__assert_fail_base): New function. Majority
44794 of code from __assert_fail. Allocate memory for __abort_msg with
44795 mmap.
44796 (__assert_fail): Now call __assert_fail_base.
44797 * assert/assert-perr.c: Remove bulk of implementation. Use
44798 __assert_fail_base.
44799 * include/assert.hL Declare __assert_fail_base.
44800 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44801 mmap.
44802 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44803
1af4e298
UD
448042011-05-14 Ulrich Drepper <drepper@gmail.com>
44805
f8a3b5bf 44806 [BZ #11952]
d26dfc60
MG
44807 [BZ #12453]
44808 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44809 until all modules are registered in the DTV.
44810 * elf/Makefile: Add rules to build and run tst-tls19.
44811 * elf/tst-tls19.c: New file.
44812 * elf/tst-tls19mod1.c: New file.
44813 * elf/tst-tls19mod2.c: New file.
44814 * elf/tst-tls19mod3.c: New file.
44815 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44816
2fc54d6f
UD
44817 [BZ #12083]
44818 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44819 correctly.
44820
98d76b46
UD
44821 [BZ #12601]
44822 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44823 two-byte sequence errors.
44824 * iconvdata/Makefile (tests): Add bug-iconv8.
44825 * iconvdata/bug-iconv8.c: New file.
44826
da3c19ef
UD
44827 [BZ #12626]
44828 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44829 buf2 definition.
44830
ca408c15
UD
44831 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44832
d6f67f7d
UD
44833 [BZ #12432]
44834 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44835 (dummy_getcfa): New function.
44836 (init): Get _Unwind_GetCFA address, use dummy if not found.
44837 (backtrace_helper): In recursion check, also check whether CFA changes.
44838 (__backtrace): Completely initialize arg.
44839
1af4e298 44840 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
44841 storing incomplete byte sequence in state object. Avoid testing for
44842 guaranteed too small input if we know there is enough data available.
1af4e298 44843
da62f81b
AS
448442011-05-11 Andreas Schwab <schwab@redhat.com>
44845
44846 * Makeconfig (+link-pie): Indent.
44847 * Rules (binaries-pie): Define if $(have-fpie) and
44848 $(build-shared).
44849 (binaries-shared): Also filter out $(binaries-pie).
44850 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44851 * nscd/Makefile (others-pie): Add nscd.
44852 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44853 ($(objpfx)nscd): Remove command override.
44854 * login/Makefile (others-pie): Add pt_chown.
44855 ($(objpfx)pt_chown): Remove command override.
44856 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44857 remove command overrides.
44858
fcabc0f8
UD
448592011-05-13 Ulrich Drepper <drepper@gmail.com>
44860
20030ae6
UD
44861 * libio/tst_putwc.c: Fix error messages.
44862
fcabc0f8
UD
44863 [BZ #12724]
44864 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44865 currently writing and seek to current position when not.
44866 * libio/Makefile (tests): Add bug-fclose1.
44867 * libio/bug-fclose1.c: New file.
44868
320a5dc0
PB
448692011-05-12 Ulrich Drepper <drepper@gmail.com>
44870
44871 [BZ #12511]
44872 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44873 don't set DF_1_NODELETE here.
44874 (do_lookup_x): When entering new entry test for copy relocation
44875 and if necessary set DF_1_NODELETE flag.
44876 * elf/tst-unique4.cc: New file.
44877 * elf/tst-unique4.h: New file.
44878 * elf/tst-unique4lib.cc: New file.
44879 * elf/Makefile: Add rules to build and run tst-unique4.
44880 Patch by Piotr Bury <pbury@goahead.com>.
44881
22836f52
UD
448822011-05-11 Ulrich Drepper <drepper@gmail.com>
44883
f574184a
UD
44884 [BZ #12052]
44885 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44886
e1fb097f
UD
44887 [BZ #12625]
44888 * misc/mntent_r.c (addmntent): Flush the stream after the output
44889
22836f52
UD
44890 [BZ #12393]
44891 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44892 (is_trusted_path_normalize): Skip initial colon. Append slash
44893 to empty buffer. Duplicate is_trusted_path code but allow
44894 constructed patch to be prefix.
44895 (is_dst): Allow $ORIGIN followed by /.
44896 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44897 Correct testing of result of is_trusted_path_normalize
44898 (decompose_rpath): Fix warning.
44899
7b3b0b2a
UD
449002011-05-10 Ulrich Drepper <drepper@gmail.com>
44901
44902 [BZ #11257]
44903 * grp/initgroups.c (internal_getgrouplist): When we found the service
44904 list through the initgroups entry in nsswitch.conf do not always
44905 continue on a successful lookup. Don't always use the
eac80ce2 44906 __nss_group_database value if it is set.
7b3b0b2a
UD
44907 * nss/nsswitch.conf (initgroups): Change action for successful db
44908 lookup to continue for compatibility.
44909
2a81eaa5
UD
449102011-05-09 Ulrich Drepper <drepper@gmail.com>
44911
be97a69e
UD
44912 [BZ #11532]
44913 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44914 and CP774 modules.
44915 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44916 and CP774 modules.
44917 * iconvdata/tst-tables.sh: Likewise.
44918 * iconvdata/cp770.c: New file.
44919 * iconvdata/cp771.c: New file.
44920 * iconvdata/cp772.c: New file.
44921 * iconvdata/cp773.c: New file.
44922 * iconvdata/cp774.c: New file.
44923 * iconvdata/testdata/CP770: New file.
44924 * iconvdata/testdata/CP770..UTF8: New file.
44925 * iconvdata/testdata/CP771: New file.
44926 * iconvdata/testdata/CP771..UTF8: New file.
44927 * iconvdata/testdata/CP772: New file.
44928 * iconvdata/testdata/CP772..UTF8: New file.
44929 * iconvdata/testdata/CP773: New file.
44930 * iconvdata/testdata/CP773..UTF8: New file.
44931 * iconvdata/testdata/CP774: New file.
44932 * iconvdata/testdata/CP774..UTF8: New file.
44933
44934 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44935 END CHARMAP line.
44936 * iconvdata/gen-8bit-gap.sh: Likewise.
44937 * iconvdata/gen-8bit.sh: Likewise.
44938
c1e9e399
UD
44939 * locale/iso-639.def: Add ary entry.
44940
24c55fb3 44941 [BZ #11258]
96b4b1b0
UD
44942 * locale/C-translit.h.in: Add U20A1 transliteration.
44943
bdc2f971
KB
44944 [BZ #12178]
44945 * locale/iso-639.def: Add wae entry.
44946 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44947
2952b117
UD
44948 [BZ #12545]
44949 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44950 for n.
44951
2a81eaa5
UD
44952 [BZ #12711]
44953 * locale/C-translit.h.in: Add entry for U20B9.
44954 Patch by pravin.d.s@gmail.com.
44955
28377d1b
UD
449562011-05-08 Ulrich Drepper <drepper@gmail.com>
44957
7fb90fb8
UD
44958 [BZ #12713]
44959 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44960 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
44961 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44962 in rtld. Use *stat64.
7fb90fb8 44963 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 44964 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 44965 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
44966 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44967 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44968 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44969 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44970 __fstatat64 macros.
7fb90fb8
UD
44971 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44972 * dirent/rewinddir.c: Add libc_hidden_def.
44973 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 44974 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 44975
28377d1b
UD
44976 * include/dirent.h (__alloc_dir): Add flags parameter.
44977 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44978 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44979 __alloc_dir.
44980 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44981 from fdopendir if O_CLOEXEC is already set.
44982
66bdbaa4
AM
449832011-03-15 Alan Modra <amodra@gmail.com>
44984
44985 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44986 l_tls_firstbyte_offset non-zero. Save padding offset in
44987 l_tls_firstbyte_offset for later use.
44988 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44989 freeing static tls block.
44990
95721191
JN
449912011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44992
44993 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44994 where #ifdef was intended. The intent is to prevent ARG_MAX from
44995 being defined by the kernel headers.
44996
f87dfb1f
UD
449972011-05-07 Ulrich Drepper <drepper@gmail.com>
44998
44999 [BZ #12734]
45000 * resolv/resolv.h: Define RES_NOTLDQUERY.
45001 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45002 no-tld-query and set RES_NOTLDQUERY.
45003 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45004 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45005 modern BIND to search name as TLD unless forbidden.
45006
47c3cd7a
UD
450072011-05-07 Petr Baudis <pasky@suse.cz>
45008 Ulrich Drepper <drepper@gmail.com>
45009
45010 [BZ #12393]
45011 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45012 (is_trusted_path): ...to here.
c1e9ea35 45013 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 45014 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 45015 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 45016
8a35c912
PP
450172011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45018
45019 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45020 __BEGIN/__END_DECLS.
45021
acd41f47
UD
450222011-05-06 Ulrich Drepper <drepper@gmail.com>
45023
45024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45025 NSS_STATUS_NOTFOUND if no record was found.
45026
597df647
AS
450272011-05-05 Andreas Schwab <schwab@redhat.com>
45028
45029 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45030 (headers-not-in-tirpc): Remove rpc/netdb.h
45031 * resolv/netdb.h: Revert last change.
45032
b9af1301
PP
450332011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45034
45035 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45036 circular dependency between libgcc.a and libc.a.
45037
4e34d5f5
AS
450382011-05-05 Andreas Schwab <schwab@redhat.com>
45039
45040 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45041 * nis/Makefile: Don't install rpcsvc/*.
45042 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45043 instead of <rpc/types.h>.
45044 (MAXHOSTNAMELEN): Define.
45045
00ee369c
AS
450462011-05-03 Andreas Schwab <schwab@redhat.com>
45047
45048 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45049
0b592a30
MB
450502011-04-28 Maciej Babinski <mbabinski@google.com>
45051
45052 [BZ #12714]
45053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45054 gethostbyname4_r when IPv6 results are possible.
45055
6e04cbbe
UD
450562011-05-02 Ulrich Drepper <drepper@gmail.com>
45057
45058 [BZ #12723]
45059 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45060 _PC_PIPE_BUF handling.
45061
e4ecafe0
BH
450622011-04-30 Bruno Haible <bruno@clisp.org>
45063
45064 [BZ #12717]
45065 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45066 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45067 to 'int'.
45068 * inet/getnameinfo.c (getnameinfo): Likewise.
45069
125ee683
UD
450702011-04-29 Ulrich Drepper <drepper@gmail.com>
45071
45072 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45073 to groups setting in database lookup.
45074 * nss/nsswitch.conf: Add initgroups entry.
45075
b722481a
EB
450762011-04-22 Ulrich Drepper <drepper@gmail.com>
45077
45078 [BZ #12685]
45079 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45080 mode string.
45081 Patch by Eric Blake <eblake@redhat.com>.
45082
4df46dbd
L
450832011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45084
45085 * sunrpc/Makefile (need-export-routines): Add svc_run.
45086 (routines): Remove svc_run.
45087 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45088 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45089 * sunrpc/svc_run.c (svc_run): Likewise.
45090 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45091
e84142d2
UD
450922011-04-21 Ulrich Drepper <drepper@gmail.com>
45093
45094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45095 problem in reallocation in last patch.
45096
877175d8
UD
450972011-04-20 Ulrich Drepper <drepper@gmail.com>
45098
45099 * sunrpc/Makefile: Move inclusion of Rules.
45100
ab8eed78
UD
451012011-04-19 Ulrich Drepper <drepper@gmail.com>
45102
45103 * nss/nss_files/files-initgroups.c: New file.
45104 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45105 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45106 _nss_files_initgroups_dyn.
45107
e3d8f584
RS
451082011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45109
45110 * elf/elf.h (R_ARM_IRELATIVE): Define.
45111
af190f45
UD
451122011-04-19 Ulrich Drepper <drepper@gmail.com>
45113
45114 * po/ru.po: Update from translation team.
45115
53cf59ef
UD
451162011-04-17 Ulrich Drepper <drepper@gmail.com>
45117
45118 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45119 dependencies.
45120
4c559bcd
MF
451212011-02-06 Mike Frysinger <vapier@gentoo.org>
45122
45123 [BZ #12653]
45124 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45125 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45126 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45128 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45129
4420675c
AS
451302011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45131
45132 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45133 differing bytes.
45134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45136 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45137
75ea32ab
UD
451382011-04-17 Ulrich Drepper <drepper@gmail.com>
45139
45140 [BZ #12420]
45141 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45142 storing it.
45143 * stdlib/bug-getcontext.c: New file.
45144 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45145
27390476
AK
451462011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45147
45148 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45149 instructions into .machine "z9-109".
45150 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45151 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45152
10442705
AK
451532011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45154
45155 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45156 between environment variables and auxiliary vector.
45157
7b57bfe5
UD
451582011-04-16 Ulrich Drepper <drepper@gmail.com>
45159
45160 * Makefile: Add rules to build linkobj/libc.so.
45161 * include/libc-symbols.h: Define libc_hidden_nolink.
45162 * include/rpc/auth.h: Mark functions which are to be hidden.
45163 * include/rpc/auth_des.h: Likewise.
45164 * include/rpc/auth_unix.h: Likewise.
45165 * include/rpc/clnt.h: Likewise.
45166 * include/rpc/des_crypt.h: Likewise.
45167 * include/rpc/key_prot.h: Likewise.
45168 * include/rpc/pmap_clnt.h: Likewise.
45169 * include/rpc/pmap_prot.h: Likewise.
45170 * include/rpc/pmap_rmt.h: Likewise.
45171 * include/rpc/rpc_msg.h: Likewise.
45172 * include/rpc/svc.h: Likewise.
45173 * include/rpc/svc_auth.h: Likewise.
45174 * include/rpc/xdr.h: Likewise.
45175 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45176 * nss/Makefile: Likewise.
45177 * sunrpc/Makefile: Don't install headers. Build library with normal
45178 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45179 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45180 for the compat linking library. Remove use of INTDEF/INTUSE.
45181 * sunrpc/auth_none.c: Likewise.
45182 * sunrpc/auth_unix.c: Likewise.
45183 * sunrpc/authdes_prot.c: Likewise.
45184 * sunrpc/authuxprot.c: Likewise.
45185 * sunrpc/clnt_gen.c: Likewise.
45186 * sunrpc/clnt_perr.c: Likewise.
45187 * sunrpc/clnt_raw.c: Likewise.
45188 * sunrpc/clnt_simp.c: Likewise.
45189 * sunrpc/clnt_tcp.c: Likewise.
45190 * sunrpc/clnt_udp.c: Likewise.
45191 * sunrpc/clnt_unix.c: Likewise.
45192 * sunrpc/des_crypt.c: Likewise.
45193 * sunrpc/des_soft.c: Likewise.
45194 * sunrpc/get_myaddr.c: Likewise.
45195 * sunrpc/key_call.c: Likewise.
45196 * sunrpc/key_prot.c: Likewise.
45197 * sunrpc/netname.c: Likewise.
45198 * sunrpc/pm_getmaps.c: Likewise.
45199 * sunrpc/pm_getport.c: Likewise.
45200 * sunrpc/pmap_clnt.c: Likewise.
45201 * sunrpc/pmap_prot.c: Likewise.
45202 * sunrpc/pmap_prot2.c: Likewise.
45203 * sunrpc/pmap_rmt.c: Likewise.
45204 * sunrpc/publickey.c: Likewise.
45205 * sunrpc/rpc_cmsg.c: Likewise.
45206 * sunrpc/rpc_common.c: Likewise.
45207 * sunrpc/rpc_dtable.c: Likewise.
45208 * sunrpc/rpc_prot.c: Likewise.
45209 * sunrpc/rpc_thread.c: Likewise.
45210 * sunrpc/rtime.c: Likewise.
45211 * sunrpc/svc.c: Likewise.
45212 * sunrpc/svc_auth.c: Likewise.
45213 * sunrpc/svc_authux.c: Likewise.
45214 * sunrpc/svc_raw.c: Likewise.
45215 * sunrpc/svc_run.c: Likewise.
45216 * sunrpc/svc_simple.c: Likewise.
45217 * sunrpc/svc_tcp.c: Likewise.
45218 * sunrpc/svc_udp.c: Likewise.
45219 * sunrpc/svc_unix.c: Likewise.
45220 * sunrpc/svcauth_des.c: Likewise.
45221 * sunrpc/xcrypt.c: Likewise.
45222 * sunrpc/xdr.c: Likewise.
45223 * sunrpc/xdr_array.c: Likewise.
45224 * sunrpc/xdr_float.c: Likewise.
45225 * sunrpc/xdr_intXX_t.c: Likewise.
45226 * sunrpc/xdr_mem.c: Likewise.
45227 * sunrpc/xdr_rec.c: Likewise.
45228 * sunrpc/xdr_ref.c: Likewise.
45229 * sunrpc/xdr_sizeof.c: Likewise.
45230 * sunrpc/xdr_stdio.c: Likewise.
45231
e6c61494
UD
452322011-04-10 Ulrich Drepper <drepper@gmail.com>
45233
45234 [BZ #12650]
45235 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45236 * sysdeps/ia64/dl-tls.h: Likewise.
45237 * sysdeps/powerpc/dl-tls.h: Likewise.
45238 * sysdeps/s390/dl-tls.h: Likewise.
45239 * sysdeps/sh/dl-tls.h: Likewise.
45240 * sysdeps/sparc/dl-tls.h: Likewise.
45241 * sysdeps/x86_64/dl-tls.h: Likewise.
45242 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45243
34fe483e
AS
452442011-03-14 Andreas Schwab <schwab@redhat.com>
45245
45246 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45247 rpath element also skip the following colon.
45248 (expand_dynamic_string_token): Add is_path parameter and pass
45249 down to DL_DST_REQUIRED and _dl_dst_substitute.
45250 (decompose_rpath): Call expand_dynamic_string_token with
45251 non-zero is_path. Ignore empty rpaths.
45252 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45253 with zero is_path.
45254
f12a32e6
AS
452552011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45256
45257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45258 Make cancelable.
45259
38a7d692
UD
452602011-04-09 Ulrich Drepper <drepper@gmail.com>
45261
45262 [BZ #12655]
45263 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45264 Patch by Filipe David Manana <fdmanana@apache.org>.
45265
e451d22b
AS
452662011-04-07 Andreas Schwab <schwab@redhat.com>
45267
45268 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45269 Maintain aligned stack.
45270 (CHECK_RSP): Remove unused macro.
45271
dedc7c7b
UD
452722011-04-03 Ulrich Drepper <drepper@gmail.com>
45273
45274 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45275 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45276
94521213
UD
452772011-04-02 Ulrich Drepper <drepper@gmail.com>
45278
45279 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45280
8cb700c0 45281 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 45282
0354e355
L
452832011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45284
45285 [BZ #12518]
45286 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45287 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45288 * sysdeps/x86_64/memmove.c: New file.
45289 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45290 (memcpy): Renamed to ...
45291 (__new_memcpy): This.
45292 (memcpy): Provide GLIBC_2_14 memcpy.
45293 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45294 (memcpy): Provide GLIBC_2_2_5 memcpy.
45295
8593482f
UD
452962011-04-01 Ulrich Drepper <drepper@gmail.com>
45297
45298 [BZ #12631]
45299 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45300
81a5726b
AS
453012011-03-30 Andreas Schwab <schwab@redhat.com>
45302
45303 * misc/syncfs.c: New file.
45304 * misc/Makefile (routines): Add syncfs.
45305 * posix/unistd.h: Declare syncfs.
45306 * sysdeps/unix/syscalls.list: Add syncfs.
45307
00e5419f
AS
453082011-04-01 Andreas Schwab <schwab@redhat.com>
45309
45310 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45311 open_by_handle_at.
45312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45313 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45317 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45319
748876bf
UD
453202011-04-01 Ulrich Drepper <drepper@gmail.com>
45321
658e451d
UD
45322 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45323 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45324 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45328 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45329
748876bf
UD
45330 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45331 sync_file_range.c with -fexceptions.
45332 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45333 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45334 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45335 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45336 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45337 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
45339 sync_file_range as cancellation point
45340 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45341 now a wrapper around __call_sync_file_range with cancellation handling.
45342 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45343 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45344 function name to __call_sync_file_range.
45345 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45346 Add call_sync_file_range.
748876bf 45347
6e63d5e1
AS
453482011-04-01 Andreas Schwab <schwab@redhat.com>
45349
45350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 45351 bits/timex.h.
6e63d5e1 45352
46998f74
UD
453532011-04-01 Ulrich Drepper <drepper@gmail.com>
45354
4c1423ed
UD
45355 * iconv/iconv.h: Fix typo in comment.
45356 * io/fcntl.h: Likewise.
45357 * libio/stdio.h: Likewise.
45358 * posix/spawn.h: Likewise.
45359 * posix/unistd.h: Likewise.
45360 * stdlib/stdlib.h: Likewise.
45361 * time/time.h: Likewise.
45362 * wcsmbs/wchar.h: Likewise.
45363
158648c0
UD
45364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45365 open_by_handle): Add.
45366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45367 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45368 Augment a few comments.
45369 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45371 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45374 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45375 open_by_handle.
45376
46998f74
UD
45377 * io/fcntl.h (AT_EMPTY_PATH): Define.
45378
83fe108b
UD
453792011-03-30 Ulrich Drepper <drepper@gmail.com>
45380
45381 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45382 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45383 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45384 to...
45385 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
45386 * Versions.def: Add GLIBC_2.14.
45387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45388 Export.
83fe108b 45389
bb242059
UD
453902011-03-22 Ulrich Drepper <drepper@gmail.com>
45391
45392 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45393 round counter.
45394 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45395
c97a1282
L
453962011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45397
45398 [BZ #12597]
45399 * string/test-strncmp.c (do_page_test): New function.
45400 (check2): Likewise.
45401 (test_main): Call check2.
45402 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45403
2a115601
UD
454042011-03-20 Ulrich Drepper <drepper@gmail.com>
45405
45406 [BZ #12587]
45407 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45408 Handle cache information in CPU leaf 4.
45409 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45410
8126d904
UD
454112011-03-18 Ulrich Drepper <drepper@gmail.com>
45412
042c49c6 45413 [BZ #12583]
8126d904
UD
45414 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45415 character representation.
45416 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45417
ccfe366e
RA
454182011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45419
45420 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45421 END(__isnan) to END(__isnanf) to match function entry point/label
45422 EALIGN(__isnanf,...).
45423
c6e13027
JJ
454242011-03-10 Jakub Jelinek <jakub@redhat.com>
45425
45426 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45427
33f85a3f
UD
454282011-03-10 Ulrich Drepper <drepper@gmail.com>
45429
028478fa
UD
45430 [BZ #12510]
45431 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45432 copy from the symbol referenced in the relocation to initialize the
45433 used variable.
45434 Patch by Piotr Bury <pbury@goahead.com>.
45435 * elf/Makefile: Add rules to build and tst-unique3.
45436 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45437 * elf/tst-unique3.cc: New file.
45438 * elf/tst-unique3.h: New file.
45439 * elf/tst-unique3lib.cc: New file.
45440 * elf/tst-unique3lib2.cc: New file.
45441
33f85a3f
UD
45442 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45443
03592fc7
MF
454442011-03-10 Mike Frysinger <vapier@gentoo.org>
45445
45446 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45447 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45448 to _start.
03592fc7 45449
6a5ee102
UD
454502011-03-06 Ulrich Drepper <drepper@gmail.com>
45451
45452 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45453 to-be-loaded object along a path to loader is ld.so.
45454
7e4ba49c
HJ
454552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45456 Ulrich Drepper <drepper@gmail.com>
45457
45458 * sysdeps/x86_64/memset.S: After aligning destination, code
45459 branches to different locations depending on the value of
45460 misalignment, when multiarch is enabled. Fix this.
45461
454622011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45463
45464 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45465 Set _x86_64_preferred_memory_instruction for AMD processsors.
45466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45467 Set bit_Prefer_SSE_for_memop for AMD processors.
45468
13a804de
UD
454692011-03-04 Ulrich Drepper <drepper@gmail.com>
45470
45471 * libio/fmemopen.c (fmemopen): Optimize a bit.
45472
9d25c392
AS
454732011-03-03 Andreas Schwab <schwab@redhat.com>
45474
45475 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45476
a5543c6a
RM
454772011-03-03 Roland McGrath <roland@redhat.com>
45478
45479 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45480
012d35f7
DM
454812011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45482
7e4ba49c 45483 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
45484 __bzero_ultra1 instead of __memset_ultra1.
45485
4bff6e01
AS
454862011-02-23 Andreas Schwab <schwab@redhat.com>
45487 Ulrich Drepper <drepper@gmail.com>
45488
45489 [BZ #12509]
45490 * include/link.h (struct link_map): Add l_orig_initfini.
45491 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45492 returning unsuccessfully.
45493 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45494 close of a file loaded at startup, restore the original l_initfini
45495 list.
45496 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45497 list, store the pointer.
45498 * elf/Makefile ($(objpfx)noload-mem): New rule.
45499 (noload-ENV): Define.
45500 (tests): Add $(objpfx)noload-mem.
45501 * elf/noload.c: Include <memcheck.h>.
45502 (main): Call mtrace. Close all opened handles.
45503
f2092faf
AS
455042011-02-17 Andreas Schwab <schwab@redhat.com>
45505
45506 [BZ #12454]
45507 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45508 dependencies are missing.
45509
6c8a2e88
ST
455102011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45511
f2092faf 45512 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
45513 Hurd needs munmap.
45514 * sysdeps/mach/hurd/ifreq.h: New file.
45515
84a42118
PB
455162011-01-27 Petr Baudis <pasky@suse.cz>
45517 Ulrich Drepper <drepper@gmail.com>
45518
071f805e 45519 [BZ 12445]#
84a42118
PB
45520 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45521 to extend_alloca().
45522 * stdio-common/bug23.c: New file.
45523 * stdio-common/Makefile (tests): Add bug23.
45524
e23fe25b
AS
455252010-09-28 Andreas Schwab <schwab@redhat.com>
45526 Ulrich Drepper <drepper@gmail.com>
45527
45528 [BZ #12489]
45529 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45530 before performing relro protection. At old place add assertion
45531 to make sure nothing changed.
45532
d3f02e10
NS
455332011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45534 Glauber de Oliveira Costa <glommer@gmail.com>
45535
45536 * elf/elf.h: Add new ARM TLS relocs.
45537
d55fd7a5
RA
455382011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45539
45540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45541 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45542 cast from r3.
45543 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45544 'tests' variable.
45545 * sysdeps/wordsize-64/tst-writev.c: New file.
45546
2206397e
RA
455472011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45548
45549 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45550 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45551 insns in _dl_start to prevent a TOC reference before relocs are
45552 resolved.
45553
e9433893
UD
455542011-02-15 Ulrich Drepper <drepper@gmail.com>
45555
45556 [BZ #12469]
45557 * Makeconfig: Remove RANLIB definition.
45558 * Makerules: Don't use RANLIB.
45559 * aclocal.m4: Remove ranlib test.
45560 * configure.in: No need to check for ranlib.
45561 * elf/rtld-Rules: Don't use RANLIB.
45562
f75286c6
ST
455632011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45564
8e31c82d
ST
45565 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45566 protection macro.
45567 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45568 inclusion protection macro.
45569
f75286c6
ST
45570 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45571 SIGRTMIN and SIGRTMAX and print information in that case only when
45572 SIGRTMIN is defined.
45573
c1d0e639
JJ
455742011-02-11 Jakub Jelinek <jakub@redhat.com>
45575
45576 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45577 arginfo fn returning -1.
45578
45579 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45580 and thousands string is zero terminated.
45581
edf9294e
AS
455822011-02-03 Andreas Schwab <schwab@redhat.com>
45583
45584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45585 sysdeps/unix/sysv/linux/bits/socket.h.
45586
2b7e92df
ST
455872011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45588
edf9294e
AS
45589 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45590 (__CPU_COUNT): Remove old macros.
45591 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45592 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45593 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
45594 (__sched_cpualloc, __sched_cpufree): Add declarations.
45595
a4c7ea7b
UD
455962011-02-05 Ulrich Drepper <drepper@gmail.com>
45597
45598 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45599 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45600 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45601 (readdhstai): Return value of addhstaiX call.
45602 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45603 (addgrbyX): Return value returned by cache_addgr.
45604 (readdgrbyname): Return value returned by addgrbyX.
45605 (readdgrbygid): Likewise.
45606 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45607 (addpwbyX): Return value returned by cache_addpw.
45608 (readdpwbyname): Return value returned by addhstbyX.
45609 (readdpwbyuid): Likewise.
45610 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45611 (addservbyX): Return value returned by cache_addserv.
45612 (readdservbyname): Return value returned by addservbyX:
45613 (readdservbyport): Likewise.
45614 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45615 (addhstbyX): Return value returned by cache_addhst.
45616 (readdhstbyname): Return value returned by addhstbyX.
45617 (readdhstbyaddr): Likewise.
45618 (readdhstbynamev6): Likewise.
45619 (readdhstbyaddrv6): Likewise.
45620 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45621 (readdinitgroups): Return value returned by addinitgroupsX.
45622 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45623 (prune_cache): Keep track of timeout value of re-added entries.
45624 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45625 * nscd/nscd.h: Adjust prototypes of readd* functions.
45626
a0bf67cc
RM
456272011-02-04 Roland McGrath <roland@redhat.com>
45628
45629 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45630 (nis_stats): Likewise.
45631 * nis/nis_modify.c (nis_modify): Likewise.
45632 * nis/nis_remove.c (nis_remove): Likewise.
45633 * nis/nis_add.c (nis_add): Likewise.
45634
45635 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45636
45637 * posix/fnmatch_loop.c: Add some consts.
45638
45639 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45640
435b95eb
L
456412011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45642
45643 [BZ #12460]
45644 * config.make.in (config-cflags-novzeroupper): Define.
45645 * configure.in: Substitute libc_cv_cc_novzeroupper.
45646 * elf/Makefile (AVX-CFLAGS): Define.
45647 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45648 (CFLAGS-tst-auditmod4a.c): Likewise.
45649 (CFLAGS-tst-auditmod4b.c): Likewise.
45650 (CFLAGS-tst-auditmod6b.c): Likewise.
45651 (CFLAGS-tst-auditmod6c.c): Likewise.
45652 (CFLAGS-tst-auditmod7b.c): Likewise.
45653 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45654
8517b15e
UD
456552011-02-02 Ulrich Drepper <drepper@gmail.com>
45656
45657 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45658 function to the callback.
45659 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45660
10a656fe
AS
456612011-02-02 Andreas Schwab <schwab@redhat.com>
45662
45663 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45664 of errno.
45665
968dad0a
UD
456662011-01-19 Ulrich Drepper <drepper@gmail.com>
45667
9f94d2ea 45668 [BZ #11724]
968dad0a
UD
45669 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45670 of constructors.
45671 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45672 of destructors.
45673 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45674
45675 [BZ #11724]
45676 * elf/Makefile: Add rules to build and run new test.
45677 * elf/tst-initorder.c: New file.
45678 * elf/tst-initorder.exp: New file.
45679 * elf/tst-initordera1.c: New file.
45680 * elf/tst-initordera2.c: New file.
45681 * elf/tst-initordera3.c: New file.
45682 * elf/tst-initordera4.c: New file.
45683 * elf/tst-initorderb1.c: New file.
45684 * elf/tst-initorderb2.c: New file.
45685 * elf/tst-order-a1.c: New file.
45686 * elf/tst-order-a2.c: New file.
45687 * elf/tst-order-a3.c: New file.
45688 * elf/tst-order-a4.c: New file.
45689 * elf/tst-order-b1.c: New file.
45690 * elf/tst-order-b2.c: New file.
45691 * elf/tst-order-main.c: New file.
45692 New test case by George Gensure <werkt0@gmail.com>.
45693
86e92359
UD
456942010-10-01 Andreas Schwab <schwab@redhat.com>
45695
45696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45697 decoding ACE if AI_CANONIDN.
45698
5d5732b0
UD
456992011-01-18 Ulrich Drepper <drepper@gmail.com>
45700
45701 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45702
a77e8cbc
UD
457032011-01-17 Ulrich Drepper <drepper@gmail.com>
45704
6392473f
UD
45705 * version.h (RELEASE): Bump for 2.13 release.
45706 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45707
620a0529
UD
45708 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45709
18ba70a5
UD
45710 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45711 MADV_NOHUGEPAGE.
32465c3e
UD
45712 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45714 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45717 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45718
c0dafcf1
UD
45719 * posix/getconf.c: Update copyright year.
45720 * catgets/gencat.c: Likewise.
45721 * csu/version.c: Likewise.
45722 * debug/catchsegv.sh: Likewise.
45723 * debug/xtrace.sh: Likewise.
45724 * elf/ldconfig.c: Likewise.
45725 * elf/ldd.bash.in: Likewise.
45726 * elf/sprof.c (print_version): Likewise.
45727 * iconv/iconv_prog.c: Likewise.
45728 * iconv/iconvconfig.c: Likewise.
45729 * locale/programs/locale.c: Likewise.
45730 * locale/programs/localedef.c: Likewise.
45731 * malloc/memusage.sh: Likewise.
45732 * malloc/mtrace.pl: Likewise.
45733 * nscd/nscd.c (print_version): Likewise.
45734 * nss/getent.c: Likewise.
45735
a77e8cbc
UD
45736 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45737 PF_CAIF, and PF_ALG.
45738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45739
77e8bddf
AS
457402011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45741
1f20b93a
AS
45742 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45743 (modules-names): Use them.
45744 (ifunc-test-modules, ifunc-pie-tests): Define.
45745 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45746 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45747 (test-extras): Likewise.
45748 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45749 $(compile-command.c).
45750 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45751 (all-built-dso): Define.
45752 (check-textrel.out, check-execstack.out): Depend on it.
45753
77e8bddf
AS
45754 * configure.in: Don't override --enable-multi-arch.
45755
bc425b33
UD
457562011-01-15 Ulrich Drepper <drepper@gmail.com>
45757
45758 [BZ #6812]
45759 * nscd/hstcache.c (tryagain): Define.
45760 (cache_addhst): Return tryagain not notfound for temporary errors.
45761 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45762 failed.
45763
794c3ad3
UD
457642011-01-14 Ulrich Drepper <drepper@gmail.com>
45765
70181fdd
UD
45766 [BZ #10563]
45767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45768 to make the syscall.
45769 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45770
794c3ad3
UD
45771 [BZ #12378]
45772 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45773 and fall back to matching as normal character if the string ends before
45774 the matching ']' is found. This is what POSIX requires.
45775 * posix/testfnm.c: Adjust test result.
45776 * posix/globtest.sh: Adjust test result. Add new test.
45777 * posix/tst-fnmatch.input: Likewise.
45778 * posix/tst-fnmatch2.c: Add new test.
45779
68dc9497
AS
457802010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45781
45782 * elf/Makefile (check-execstack): Revert last change. Depend on
45783 check-execstack.h.
45784 (check-execstack.h): New target.
45785 (generated): Add check-execstack.h.
45786 * elf/check-execstack.c: Include "check-execstack.h".
45787 (main): Revert last change.
45788 (handle_file): Return zero if GNU_STACK is absent and
45789 DEFAULT_STACK_PERMS doesn't include PF_X.
45790
451f001b
UD
457912011-01-13 Ulrich Drepper <drepper@gmail.com>
45792
cfa28e56
UD
45793 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45794 in child fails because the descriptor is already closed.
8cf8ce17
UD
45795 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45796 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45797 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 45798
1086d70d
UD
45799 [BZ #12397]
45800 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45801 syscall.
45802
451f001b
UD
45803 [BZ #10484]
45804 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45805 temporary buffer used to handle multi lookups locally.
a85b5cb4 45806 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 45807
08769175
UD
458082011-01-12 Ulrich Drepper <drepper@gmail.com>
45809
45810 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45811 loader is ld.so.
45812
5e49c52e
UD
458132011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45814
45815 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45816 alignment for SSE2.
45817
60522a5f
UD
458182011-01-12 Ulrich Drepper <drepper@gmail.com>
45819
45820 [BZ #12394]
45821 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45822 characters. When rounding increased number of integer digits recompute
45823 number of groups.
45824 * stdio-common/tst-grouping.c: New file.
45825 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45826
f257bbd7
UD
458272011-01-09 Ulrich Drepper <drepper@gmail.com>
45828
45829 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45830 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45831
45832 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45833 void.
45834 * bits/select.h: Likewise.
45835
fa9c15cb
UD
458362011-01-08 Ulrich Drepper <drepper@gmail.com>
45837
45838 * po/ja.po: Update from translation team.
45839
16c2895f
DM
458402011-01-04 David S. Miller <davem@sunset.davemloft.net>
45841
45842 [BZ #11155]
45843 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45844 implementation just like for lxstat, fxstatat, et al.
45845
2543fef2
JM
458462010-12-27 Jim Meyering <meyering@redhat.com>
45847
45848 [BZ #12348]
45849 * posix/regexec.c (build_trtable): Return failure indication upon
45850 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45851
98727dbe
UD
458522010-12-25 Ulrich Drepper <drepper@gmail.com>
45853
5bd6dc5c
UD
45854 [BZ #12201]
45855 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45856 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45857 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45859
97983464
UD
45860 [BZ #12207]
45861 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45862
98727dbe
UD
45863 [BZ #12204]
45864 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45865 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45866
4a531bb0
L
458672010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45868
45869 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45870 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45871 script has SORT_BY_INIT_PRIORITY.
45872 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45873 NO_CTORS_DTORS_SECTIONS is defined.
45874 * elf/soinit.c: Likewise.
45875 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45876 NO_CTORS_DTORS_SECTIONS is defined.
45877 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45878 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45879 * sysdeps/sh/init-first.c: Likewise.
45880 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45881
07eb4b71
UD
458822010-12-24 Ulrich Drepper <drepper@gmail.com>
45883
45884 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45885 always use the slow path.
45886
30950a5f
RA
458872010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45888
45889 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45890 similar rule which adds the sysdep directories to the header search in
45891 order to pick up the correct platform stackinfo.h.
45892 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45893 perform test if it is, otherwise return successfully without testing.
45894 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45895 DEFAULT_STACK_PERMS define in stackinfo.h.
45896 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45897 defined in stackinfo.h.
45898 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45899 DEFAULT_STACK_PERMS defined in stackinfo.h.
45900 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45901 * sysdeps/ia64/stackinfo.h: Likewise.
45902 * sysdeps/s390/stackinfo.h: Likewise.
45903 * sysdeps/sh/stackinfo.h: Likewise.
45904 * sysdeps/sparc/stackinfo.h: Likewise.
45905 * sysdeps/x86_64/stackinfo.h: Likewise.
45906 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45907 PF_X for powerpc64. Retain PF_X for powerpc32.
45908
db753e2c
UD
459092010-12-19 Ulrich Drepper <drepper@gmail.com>
45910
14b697f7
UD
45911 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45912 accurately.
db753e2c
UD
45913 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45914 GETDENTS_64BIT_ALIGNED.
45915
28300719
UD
459162010-12-14 Ulrich Drepper <dreper@gmail.com>
45917
14b697f7 45918 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 45919
4f197237
AS
459202010-12-10 Andreas Schwab <schwab@redhat.com>
45921
dbb0472f
AS
45922 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45923 _GNU_SOURCE.
45924
4f197237
AS
45925 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45926 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45927 Remove __restrict.
45928 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45929 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45930
fb88ac72
UD
459312010-12-09 Ulrich Drepper <drepper@gmail.com>
45932
45933 [BZ #11655]
45934 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45935 are initialized.
45936
42acbb92
JJ
459372010-12-09 Jakub Jelinek <jakub@redhat.com>
45938
45939 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45940
c038d98d
UD
459412010-12-03 Ulrich Drepper <drepper@gmail.com>
45942
45943 * po/it.po: Update from translation team.
45944
3a4a2499
L
459452010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45946
45947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45948 unused codes.
45949
1e24cf6e
UD
459502010-11-30 Ulrich Drepper <drepper@gmail.com>
45951
45952 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45953
a7690819
AS
459542010-11-24 Andreas Schwab <schwab@redhat.com>
45955
45956 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45957 specially.
45958 (gaih_getanswer_slice): Likewise.
45959
3bf8d1b1
JJ
459602010-10-20 Jakub Jelinek <jakub@redhat.com>
45961
45962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45963
6db52fbb
PB
459642010-05-31 Petr Baudis <pasky@suse.cz>
45965
45966 [BZ #11149]
45967 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45968 silently even in the chroot mode.
45969
eaca7569
UD
459702010-11-22 Ulrich Drepper <drepper@gmail.com>
45971
45972 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45973 last patch a bit. Pretty printing
45974
3056dcdb
UD
459752010-05-31 Petr Baudis <pasky@suse.cz>
45976
45977 [BZ #10085]
45978 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45979 initialization of skip_initgroups_dyn.
45980
cf7c9078
UD
459812010-11-19 Ulrich Drepper <drepper@gmail.com>
45982
45983 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45984 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45985
a1fb5e3e
UD
459862010-11-16 Ulrich Drepper <drepper@gmail.com>
45987
45988 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45989
3540d66b
AS
459902010-11-11 Andreas Schwab <schwab@redhat.com>
45991
45992 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45993 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45994 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45995 ($(objpfx)tst-fnmatch-mem): New rule.
45996 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45997 * posix/tst-fnmatch.c (main): Call mtrace.
45998
13b69574
L
459992010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46000
46001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46002 Support Intel processor model 6 and model 0x2c.
46003
da93d214
LM
460042010-11-10 Luis Machado <luisgpm@br.ibm.com>
46005
46006 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46007 signed comparison.
46008
8ca52c6e
L
460092010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46010
46011 [BZ #12205]
46012 * string/test-strncasecmp.c (check_result): New function.
46013 (do_one_test): Use it.
46014 (check1): New function.
46015 (test_main): Use it.
46016 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46017 Support strcasecmp and strncasecmp.
46018
69da074d
UD
460192010-11-08 Ulrich Drepper <drepper@gmail.com>
46020
46021 [BZ #12194]
46022 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46023 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46024
ff02d528
L
460252010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46026
46027 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46028 IFUNC support.
46029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46030 memset-x86-64.
46031 * sysdeps/x86_64/multiarch/bzero.S: New file.
46032 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46033 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46034 * sysdeps/x86_64/multiarch/memset.S: New file.
46035 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46037 Set bit_Prefer_SSE_for_memop for Intel processors.
46038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46039 Define.
46040 (index_Prefer_SSE_for_memop): Define.
46041 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46042
344d0b54
LM
460432010-11-04 Luis Machado <luisgpm@br.ibm.com>
46044
46045 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46046 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46047
c0dde15b
UD
460482010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46049
46050 [BZ #12191]
46051 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46052 (__x86_64_raw_data_cache_size_half): Likewise.
46053 (__x86_64_raw_shared_cache_size): Likewise.
46054 (__x86_64_raw_shared_cache_size_half): Likewise.
46055
46056 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46057 (__x86_64_raw_data_cache_size_half): Likewise.
46058 (__x86_64_raw_shared_cache_size): Likewise.
46059 (__x86_64_raw_shared_cache_size_half): Likewise.
46060 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46061 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46062 and __x86_64_raw_shared_cache_size_half. Round
46063 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46064 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46065 to multiple of 256 bytes.
46066
0e516e0e
MS
460672010-11-03 Ulrich Drepper <drepper@gmail.com>
46068
46069 [BZ #12167]
46070 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46071 of inacessible symlinks. Verify result of symlink before returning it.
46072 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46073 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46074
0e012e87
ER
460752010-10-28 Erich Ritz <erichritz@gmail.com>
46076
46077 * math/math.h (isinf): Fix typo in comment.
46078
de0ff7bc
UD
460792010-11-01 Ulrich Drepper <drepper@gmail.com>
46080
46081 * po/da.po: Update from translation team.
46082
fa41c84d
UD
460832010-10-26 Ulrich Drepper <drepper@gmail.com>
46084
46085 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46086 is added to the list.
46087
f0967738
AK
460882010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46089 Ulrich Drepper <drepper@gmail.com>
46090
46091 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46092 the global list here. Move code to...
46093 (_dl_add_to_namespace_list): ...here. New function.
46094 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46095 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46096 * elf/dl-load.c (lose): Don't remove the element from the list.
46097 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46098 (_dl_map_object): Likewise.
46099
461002010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
46101
46102 [BZ #12159]
46103 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46104 into all bytes of SSE register.
46105 Patch by Richard Li <richardpku@gmail.com>.
46106
f0967738 461072010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
46108
46109 [BZ #12140]
46110 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46111 perturbing.
46112
d0b9e94f
MB
461132010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46114
46115 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46116 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46117 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46120 submachine.
46121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46122
8e9f92e9
AS
461232010-10-22 Andreas Schwab <schwab@redhat.com>
46124
46125 * include/dlfcn.h (__RTLD_SECURE): Define.
46126 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46127 mode & __RTLD_SECURE instead.
46128 (open_path): Rename preloaded parameter to secure.
46129 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46130 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46131 * elf/dl-deps.c (openaux): Likewise.
46132 * elf/rtld.c (struct map_args): Remove is_preloaded.
46133 (map_doit): Don't use it.
46134 (dl_main): Likewise.
46135 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46136 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46137
bc96fbda
AS
461382010-09-09 Andreas Schwab <schwab@redhat.com>
46139
46140 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46141 (sysd-rules-targets): Remove duplicates.
46142 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46143 rtld-%.$o dependency.
46144
22cd1c9b
AS
461452010-10-18 Andreas Schwab <schwab@redhat.com>
46146
46147 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46148 _dl_map_object do it.
46149
18edac48
UD
461502010-10-19 Ulrich Drepper <drepper@gmail.com>
46151
46152 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46153 fast fma builtins, define the macros in the C99 standard.
46154 (FP_FAST_FMAF): Likewise.
46155 (FP_FAST_FMAL): Likewise.
46156 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46157
46158 * bits/mathdef.h: Update copyright year.
46159 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46160
d2050124
MM
461612010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46162
46163 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46164 builtins, define the macros in the C99 standard.
46165 (FP_FAST_FMAF): Likewise.
46166 (FP_FAST_FMAL): Likewise.
46167 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46168 multiply/add.
46169 (FP_FAST_FMAF): Likewise.
46170
475facd1
JJ
461712010-10-15 Jakub Jelinek <jakub@redhat.com>
46172
46173 [BZ #3268]
46174 * math/libm-test.inc (fma_test): Some new testcases.
46175 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46176 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46177 y and infinite z. Do multiplication by C already in long double.
46178 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46180 y and infinite z. Do bitwise or of inexact bit into u.d.
46181 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46182 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46183 * sysdeps/i386/fpu/s_fma.S: Removed.
46184 * sysdeps/i386/fpu/s_fmal.S: Removed.
46185
7c08a05c
JJ
461862010-10-16 Jakub Jelinek <jakub@redhat.com>
46187
46188 [BZ #3268]
46189 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46191 computation is not scheduled after fetestexcept. Fix value
46192 of minimum denormal long double.
46193
f3f7372d
JJ
461942010-10-14 Jakub Jelinek <jakub@redhat.com>
46195
46196 [BZ #3268]
46197 * math/libm-test.inc (fma_test): Add some more tests.
46198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46199 correctly.
46200
14d43591
AS
462012010-10-15 Andreas Schwab <schwab@redhat.com>
46202
46203 * scripts/data/localplt-s390-linux-gnu.data: New file.
46204 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46205
5e908464
JJ
462062010-10-13 Jakub Jelinek <jakub@redhat.com>
46207
46208 [BZ #3268]
46209 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46210 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46211 instead of dbl-64.
46212 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46213 inlines.
46214 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46216 if one of x and y is very large and the other is subnormal.
46217 * sysdeps/s390/fpu/s_fmaf.c: New file.
46218 * sysdeps/s390/fpu/s_fma.c: New file.
46219 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46220 * sysdeps/powerpc/fpu/s_fma.S: New file.
46221 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46222 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46223 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46224
462252010-10-12 Jakub Jelinek <jakub@redhat.com>
46226
46227 [BZ #3268]
46228 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46229 fma tests.
46230 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46231 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46232 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46233 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46234 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46235 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46236 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46237
b833d51f
UD
462382010-10-12 Ulrich Drepper <drepper@redhat.com>
46239
46240 [BZ #12078]
46241 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46242 * posix/bug-regex31.input: Add test case.
46243
1751705d
UD
462442010-10-11 Ulrich Drepper <drepper@gmail.com>
46245
e9b9cbf5
UD
46246 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46247 * posix/bug-regex31.input: New file.
46248
46249 [BZ #12078]
46250 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46251 (parse_sub_exp): Fix last change, use postorder.
46252
ef06edbe
UD
46253 * posix/bug-regex31.c: New file.
46254 * posix/Makefile: Add rules to build and run bug-regex31.
46255
a129c80d
UD
46256 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46257
46258 [BZ #12078]
46259 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46260
b76b818e
UD
46261 [BZ #12108]
46262 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46263 to have entries in sys_siglist.
46264
1751705d
UD
46265 [BZ #12093]
46266 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46267 be NULL.
46268
9ff8d36f
JJ
462692010-10-07 Jakub Jelinek <jakub@redhat.com>
46270
46271 [BZ #3268]
46272 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46273 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46274 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46275 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46276 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46277 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46278 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46279 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46280 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46281 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46282 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46283 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46284 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46285 * math/ftestexcept.c (fetestexcept): Likewise.
46286 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46287 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46288 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46289 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46290 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46291 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46292 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46293
af325969
UD
462942010-10-11 Ulrich Drepper <drepper@gmail.com>
46295
c579b202 46296 [BZ #12107]
af325969
UD
46297 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46298 newline.
46299
67a67b95
UD
463002010-10-06 Ulrich Drepper <drepper@gmail.com>
46301
46302 * string/bug-strstr1.c: New file.
46303 * string/Makefile: Add rules to build and run bug-strstr1.
46304
5fb308bc
EB
463052010-10-05 Eric Blake <eblake@redhat.com>
46306
46307 [BZ #12092]
46308 * string/str-two-way.h (two_way_long_needle): Always clear memory
46309 when skipping input due to the shift table.
46310
45db99c7
UD
463112010-10-03 Ulrich Drepper <drepper@gmail.com>
46312
3b111893
UD
46313 [BZ #12005]
46314 * malloc/mcheck.c: Handle large requests.
46315
45db99c7
UD
46316 [BZ #12077]
46317 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46318 for strncmp and strncasecmp.
46319 * string/stratcliff.c: Add tests for strcmp and strncmp.
46320 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46321
cf7a1eb8
NI
463222010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46323
46324 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46325 __set_fpscr.
46326
6484ba5e
AJ
463272010-09-30 Andreas Jaeger <aj@suse.de>
46328
46329 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46330 (CGROUP_SUPER_MAGIC): Define.
46331 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46332 Handle btrfs and cgroup file systems.
46333 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46334 Likewise.
46335
91c42559
LM
463362010-09-27 Luis Machado <luisgpm@br.ibm.com>
46337
46338 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46339 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46340
87a97932
AK
463412010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46342
46343 [BZ #12067]
46344 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46345 trying to locate the ELF header.
46346
c21cc9bc
AS
463472010-09-27 Andreas Schwab <schwab@redhat.com>
46348
46349 [BZ #11611]
46350 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46351 Mask out sign-bit copies when constructing f_fsid.
46352
315970f6
PB
463532010-09-24 Petr Baudis <pasky@suse.cz>
46354
46355 * debug/stack_chk_fail_local.c: Add missing licence exception.
46356 * debug/warning-nop.c: Likewise.
46357
1ac7a2c7
JM
463582010-09-15 Joseph Myers <joseph@codesourcery.com>
46359
46360 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46361 implementing getdents64 using getdents syscall, set d_type if
46362 __ASSUME_GETDENTS32_D_TYPE.
46363
56801c50
AS
463642010-09-16 Andreas Schwab <schwab@redhat.com>
46365
46366 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46367 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46368
dda51327
UD
463692010-09-21 Ulrich Drepper <drepper@redhat.com>
46370
46371 [BZ #12037]
46372 * posix/unistd.h: Undo change of feature selection for ftruncate from
46373 2010-01-11.
46374
8ffcee4a
UD
463752010-09-20 Ulrich Drepper <drepper@redhat.com>
46376
a545ecd9 46377 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
46378 detection.
46379
e24f0a8b
AS
463802010-09-20 Andreas Schwab <schwab@redhat.com>
46381
46382 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46383 fanotify_mark.
46384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46385
7291c56f
AS
463862010-09-14 Andreas Schwab <schwab@redhat.com>
46387
46388 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46389 variables after CHECK_SP call.
46390 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46391
bc5fb037
AS
463922010-09-13 Andreas Schwab <schwab@redhat.com>
46393 Ulrich Drepper <drepper@redhat.com>
46394
46395 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46396 re-relocationg ld.so.
46397 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46398 _dl_init_paths call.
46399 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46400 here anymore.
46401
e66e7419
UD
464022010-09-14 Ulrich Drepper <drepper@redhat.com>
46403
46404 * resolv/res_init.c (__res_vinit): Count the default server we added.
46405
c044aa75
CLT
464062010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46407 Ulrich Drepper <drepper@redhat.com>
46408
46409 [BZ #11968]
46410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46411 (____longjmp_chk): Use %ebx for saving value across system call.
46412 Add unwind info.
46413
32cf4069
AS
464142010-09-06 Andreas Schwab <schwab@redhat.com>
46415
46416 * manual/Makefile: Don't mix pattern rules with normal rules.
46417
817328ee
AS
464182010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46419
46420 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46421 operation.
46422 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46423 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46424 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46425 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46427 Likewise.
46428
29fddf61
UD
464292010-09-04 Ulrich Drepper <drepper@redhat.com>
46430
46431 [BZ #11979]
46432 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46433 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46434
0959ffc9
UD
464352010-09-02 Ulrich Drepper <drepper@redhat.com>
46436
46437 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46438 * sysdeps/x86_64/addmul_1.S: Likewise.
46439 * sysdeps/x86_64/lshift.S: Likewise.
46440 * sysdeps/x86_64/mul_1.S: Likewise.
46441 * sysdeps/x86_64/rshift.S: Likewise.
46442 * sysdeps/x86_64/sub_n.S: Likewise.
46443 * sysdeps/x86_64/submul_1.S: Likewise.
46444
ece29840
ST
464452010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46446
0959ffc9
UD
46447 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46448 Define __sched_param instead of SCHED_* and sched_param when
ece29840 46449 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 46450 * bits/sched.h [__need_schedparam]
ece29840 46451 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
46452 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46453 (__defined_schedparam): Define to 1.
ece29840
ST
46454 (__sched_param): New structure, identical to sched_param.
46455 (__need_schedparam): Undefine.
46456
e53a31fe
MF
464572010-08-31 Mike Frysinger <vapier@gentoo.org>
46458
fdc0c10d
MF
46459 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46460 (epoll_create1): Declare.
46461
e53a31fe
MF
46462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46463
a726d796
AS
464642010-08-31 Andreas Schwab <schwab@redhat.com>
46465
46466 [BZ #7066]
46467 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46468 shifting retval into place.
46469
2f3e3dc7
UD
464702010-09-01 Ulrich Drepper <drepper@redhat.com>
46471
f2933da9
UD
46472 * nis/rpcsvc/nis.h: Update copyright notice.
46473 * nis/rpcsvc/nis.x: Likewise.
46474 * nis/rpcsvc/nis_callback.h: Likewise.
46475 * nis/rpcsvc/nis_callback.x: Likewise.
46476 * nis/rpcsvc/nis_object.x: Likewise.
46477 * nis/rpcsvc/nis_tags.h: Likewise.
46478 * nis/rpcsvc/yp.h: Likewise.
46479 * nis/rpcsvc/yp.x: Likewise.
46480 * nis/rpcsvc/ypupd.h: Likewise.
46481 * nis/yp_xdr.c: Likewise.
46482 * nis/ypupdate_xdr.c: Likewise.
46483
2f3e3dc7
UD
46484 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46485 mainly the body of pmap_getport. Add parameters to specify timeouts.
46486 (pmap_getport): Use __libc_rpc_getport.
46487 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46488 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46489 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46490
f3dcc2f9
AS
464912010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46492
46493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46494 fanotify_mark.
46495
6d34eb5b
RM
464962010-08-27 Roland McGrath <roland@redhat.com>
46497
46498 * sysdeps/i386/i686/multiarch/Makefile
46499 (CFLAGS-varshift.c): New variable.
46500
9ea3de11
UD
465012010-08-27 Ulrich Drepper <drepper@redhat.com>
46502
c96d23fc
UD
46503 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46504 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46505
9ea3de11
UD
46506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46507
46508 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46509
623aac7f
L
465102010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46511
46512 * sysdeps/x86_64/strlen.S: Unroll the loop.
46513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46514 strlen-sse2 strlen-sse2-bsf.
46515 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46516 __strlen_no_bsf if bit_Slow_BSF is set.
46517 (__strlen_sse42): Removed.
46518 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46519 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46520
8b2b7715
RM
465212010-08-25 Roland McGrath <roland@redhat.com>
46522
46523 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46524 * sysdeps/x86_64/multiarch/varshift.c: New file.
46525 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46526 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46527 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46528 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46529
e73015f2
L
465302010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46531
46532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46533 strlen-sse2 strlen-sse2-bsf.
46534 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46535 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46536 (__strlen_sse2): Removed.
46537 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46540 bit_Slow_BSF for Atom.
46541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46542 (index_Slow_BSF): Define.
46543 (HAS_SLOW_BSF): Define.
46544
df24a73e
UD
465452010-08-25 Ulrich Drepper <drepper@redhat.com>
46546
46547 [BZ #10851]
46548 * resolv/res_init.c (__res_vinit): When no server address at all
46549 is given default to loopback.
46550
f2ac4868
RM
465512010-08-24 Roland McGrath <roland@redhat.com>
46552
09055553
RM
46553 * configure.in: Remove config-name.h generation.
46554 * configure: Regenerated.
46555 * config-name.in: File removed.
46556 * scripts/config-uname.sh: New file.
46557 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46558 ($(objdir)config-name.h): New target.
46559
f2ac4868
RM
46560 * sunrpc/rpc_parse.h: Avoid nested comment.
46561
73f27d5e
RH
465622010-08-24 Richard Henderson <rth@redhat.com>
46563 Ulrich Drepper <drepper@redhat.com>
46564 H.J. Lu <hongjiu.lu@intel.com>
46565
46566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46568 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46569 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46570 _mm_alignr_epi8 with _mm_loadu_si128.
46571 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46572 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46573 (__m128i_shift_right): Removed.
46574 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46575 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46576 * sysdeps/x86_64/multiarch/varshift.h: New file.
46577 * sysdeps/x86_64/multiarch/varshift.S: New file.
46578
84b9230c
MF
465792010-08-21 Mike Frysinger <vapier@gentoo.org>
46580
46581 * configure.in: Move assembler checks to before sysdep dir checking.
46582
9bbd0ddc
PB
465832010-08-20 Petr Baudis <pasky@suse.cz>
46584
46585 * LICENSES: Sync the sunrpc license.
46586
9da4bb31
UD
465872010-08-19 Ulrich Drepper <drepper@redhat.com>
46588
a7ab6ec8
UD
46589 * sunrpc/auth_des.c: Update copyright notice once again.
46590 * sunrpc/auth_none.c: Likewise.
46591 * sunrpc/auth_unix.c: Likewise.
46592 * sunrpc/authdes_prot.c: Likewise.
46593 * sunrpc/authuxprot.c: Likewise.
46594 * sunrpc/bindrsvprt.c: Likewise.
46595 * sunrpc/clnt_gen.c: Likewise.
46596 * sunrpc/clnt_perr.c: Likewise.
46597 * sunrpc/clnt_raw.c: Likewise.
46598 * sunrpc/clnt_simp.c: Likewise.
46599 * sunrpc/clnt_tcp.c: Likewise.
46600 * sunrpc/clnt_udp.c: Likewise.
46601 * sunrpc/clnt_unix.c: Likewise.
46602 * sunrpc/des_crypt.c: Likewise.
46603 * sunrpc/des_soft.c: Likewise.
46604 * sunrpc/get_myaddr.c: Likewise.
46605 * sunrpc/getrpcport.c: Likewise.
46606 * sunrpc/key_call.c: Likewise.
46607 * sunrpc/key_prot.c: Likewise.
46608 * sunrpc/openchild.c: Likewise.
46609 * sunrpc/pm_getmaps.c: Likewise.
46610 * sunrpc/pm_getport.c: Likewise.
46611 * sunrpc/pmap_clnt.c: Likewise.
46612 * sunrpc/pmap_prot.c: Likewise.
46613 * sunrpc/pmap_prot2.c: Likewise.
46614 * sunrpc/pmap_rmt.c: Likewise.
46615 * sunrpc/rpc/auth.h: Likewise.
46616 * sunrpc/rpc/auth_unix.h: Likewise.
46617 * sunrpc/rpc/clnt.h: Likewise.
46618 * sunrpc/rpc/des_crypt.h: Likewise.
46619 * sunrpc/rpc/key_prot.h: Likewise.
46620 * sunrpc/rpc/netdb.h: Likewise.
46621 * sunrpc/rpc/pmap_clnt.h: Likewise.
46622 * sunrpc/rpc/pmap_prot.h: Likewise.
46623 * sunrpc/rpc/pmap_rmt.h: Likewise.
46624 * sunrpc/rpc/rpc.h: Likewise.
46625 * sunrpc/rpc/rpc_des.h: Likewise.
46626 * sunrpc/rpc/rpc_msg.h: Likewise.
46627 * sunrpc/rpc/svc.h: Likewise.
46628 * sunrpc/rpc/svc_auth.h: Likewise.
46629 * sunrpc/rpc/types.h: Likewise.
46630 * sunrpc/rpc/xdr.h: Likewise.
46631 * sunrpc/rpc_clntout.c: Likewise.
46632 * sunrpc/rpc_cmsg.c: Likewise.
46633 * sunrpc/rpc_common.c: Likewise.
46634 * sunrpc/rpc_cout.c: Likewise.
46635 * sunrpc/rpc_dtable.c: Likewise.
46636 * sunrpc/rpc_hout.c: Likewise.
46637 * sunrpc/rpc_main.c: Likewise.
46638 * sunrpc/rpc_parse.c: Likewise.
46639 * sunrpc/rpc_parse.h: Likewise.
46640 * sunrpc/rpc_prot.c: Likewise.
46641 * sunrpc/rpc_sample.c: Likewise.
46642 * sunrpc/rpc_scan.c: Likewise.
46643 * sunrpc/rpc_scan.h: Likewise.
46644 * sunrpc/rpc_svcout.c: Likewise.
46645 * sunrpc/rpc_tblout.c: Likewise.
46646 * sunrpc/rpc_util.c: Likewise.
46647 * sunrpc/rpc_util.h: Likewise.
46648 * sunrpc/rpcinfo.c: Likewise.
46649 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46650 * sunrpc/rpcsvc/key_prot.x: Likewise.
46651 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46652 * sunrpc/rpcsvc/mount.x: Likewise.
46653 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46654 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46655 * sunrpc/rpcsvc/rex.x: Likewise.
46656 * sunrpc/rpcsvc/rstat.x: Likewise.
46657 * sunrpc/rpcsvc/rusers.x: Likewise.
46658 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46659 * sunrpc/rpcsvc/spray.x: Likewise.
46660 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46661 * sunrpc/rtime.c: Likewise.
46662 * sunrpc/svc.c: Likewise.
46663 * sunrpc/svc_auth.c: Likewise.
46664 * sunrpc/svc_authux.c: Likewise.
46665 * sunrpc/svc_raw.c: Likewise.
46666 * sunrpc/svc_run.c: Likewise.
46667 * sunrpc/svc_simple.c: Likewise.
46668 * sunrpc/svc_tcp.c: Likewise.
46669 * sunrpc/svc_udp.c: Likewise.
46670 * sunrpc/svc_unix.c: Likewise.
46671 * sunrpc/svcauth_des.c: Likewise.
46672 * sunrpc/xcrypt.c: Likewise.
46673 * sunrpc/xdr.c: Likewise.
46674 * sunrpc/xdr_array.c: Likewise.
46675 * sunrpc/xdr_float.c: Likewise.
46676 * sunrpc/xdr_mem.c: Likewise.
46677 * sunrpc/xdr_rec.c: Likewise.
46678 * sunrpc/xdr_ref.c: Likewise.
46679 * sunrpc/xdr_sizeof.c: Likewise.
46680 * sunrpc/xdr_stdio.c: Likewise.
46681
9da4bb31
UD
46682 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46683 handling.
46684
bdaa77bc
AS
466852010-08-19 Andreas Schwab <schwab@redhat.com>
46686
46687 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46688
fe2f79db
LM
466892010-08-19 Luis Machado <luisgpm@br.ibm.com>
46690
46691 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46692 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46693 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46694 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46695 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46696 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46697 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46698 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46699 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46700 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46701 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46702 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46703 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46704 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46705
b9b42ee0
AB
467062010-07-26 Anton Blanchard <anton@samba.org>
46707
46708 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46709 * malloc/arena.c (heap_trim): Likewise.
46710
1c06ba31
UD
467112010-08-16 Ulrich Drepper <drepper@redhat.com>
46712
46713 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46714 here. Not...
46715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46716 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46717
f8392f40
L
467182010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46719
46720 * sysdeps/i386/elf/Makefile: New file.
46721
3162f12e
AS
467222010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46723
46724 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46725 from fanotify_init.
46726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46728
28c90b2c
UD
467292010-08-15 Ulrich Drepper <drepper@redhat.com>
46730
46731 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46732 of strncasecmp_l.
1feccb6c 46733 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 46734
ca6bb004
UD
467352010-08-14 Ulrich Drepper <drepper@redhat.com>
46736
e9f82e0d
UD
46737 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46738 strncase_l-nonascii.
46739 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46740 Add strncase_l-ssse3.
46741 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46742 * sysdeps/x86_64/strcmp.S: Likewise.
46743 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46744 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46745 * sysdeps/x86_64/strncase.S: New file.
46746 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46747 * sysdeps/x86_64/strncase_l.S: New file.
46748 * string/Makefile (strop-tests): Add strncasecmp.
46749 * string/test-strncasecmp.c: New file.
46750
46751 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46752 warning.
46753
ca6bb004
UD
46754 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46755 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46756
052fa7b3
AS
467572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46758
46759 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46760
962dba78
UD
467612010-08-12 Ulrich Drepper <drepper@redhat.com>
46762
46763 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46764 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46765 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46766
bebff237
AM
467672010-05-01 Alan Modra <amodra@gmail.com>
46768
46769 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46770 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46771 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46772 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46773 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46774 tidying. Don't tail-call __sigjmp_save for static lib.
46775 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46776 save location.
46777 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46778 (CALL_MCOUNT): Add eh info, and nop after bl.
46779 (TAIL_CALL_SYSCALL_ERROR): New macro.
46780 (PSEUDO_RET): Use it.
46781 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46782 Correct save location of integer regs and cr.
46783 (_dl_profile_resolve): Correct cr save location. Delete nops
46784 after bl when SHARED. Reduce cfi size a little by better
46785 placement of cfi directives.
46786 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46787 make a stack frame. Instead use parm save area as a temp.
46788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46789 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46791 Don't make a stack frame for parent, use parm save area.
46792 Increase child stack frame to 112 bytes. Don't save unused reg,
46793 and adjust reg usage. Set up cfi on error recovery and
46794 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46796 (__makecontext): Add dummy nop after jump to exit.
46797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46798 Use correct parm save area and cr save, reduce stack frame.
46799 Correct cfi for possible PSEUDO_RET frame setup.
46800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46801 Branch to local label emitted by PSEUDO_RET rather than
46802 __syscall_error.
46803
02637374
AS
468042010-08-12 Andreas Schwab <schwab@redhat.com>
46805
46806 [BZ #11904]
46807 * locale/programs/locale.c (print_assignment): New function.
46808 (show_locale_vars): Use it.
46809
c3e2f19b
UD
468102010-08-11 Ulrich Drepper <drepper@redhat.com>
46811
3cdaa6ad
UD
46812 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46813 field.
46814 (struct statfs64): Likewise.
46815 (_STATFS_F_FLAGS): Define.
46816 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46818 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46819 (ST_VALID): Define locally.
46820 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46821 __statvfs_getflags, use the provided value.
46822 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46823 __ASSUME_STATFS_F_FLAGS.
46824
754f7da3
UD
46825 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46826
10b3bedc
UD
46827 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46828 Add sys/fanotify.h.
46829 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46830 fanotify_mask for GLIBC_2.13.
46831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46832 fanotify_init and fanotify_mark.
46833 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46834 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46835
c08fb0d7
UD
46836 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46837 Add prlimit.
46838 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46839 prlimit64 for GLIBC_2.13.
46840 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46841 prlimit64.
46842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46843 syscall.
46844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46845 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46846 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46847 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46849 add prlimit alias.
46850 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46851
15bac72b
UD
46852 [BZ #11903]
46853 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46854 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46855
c3e2f19b
UD
46856 * nss/Makefile: Add rules to build and run tst-nss-test1.
46857 * shlib-versions: Add entry for libnss_test1.
46858 * nss/nss_test1.c: New file.
46859 * nss/tst-nss-test1.c: New file.
46860
46861 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46862 (__nss_configure_lookup): Set appropriate entry in
46863 __nss_configure_lookup to true.
46864 * nss/nsswitch.h: Define enum with indeces of databases in
46865 databases and __nss_database_custom arrays. Declare
46866 __nss_database_custom.
46867 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46868 to avoid using nscd when custom rules are installed.
46869 * nss/getXXbyYY_r.c: Likewise.
46870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46871
46872 * nss/nss_files/files-parse.c: Whitespace fixes.
46873
f15ce4d8
UD
468742010-08-09 Ulrich Drepper <drepper@redhat.com>
46875
46876 [BZ #11883]
46877 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46878 * posix/fnmatch_loop.c: Likewise.
46879
d22e4cc9
AK
468802010-07-17 Andi Kleen <ak@linux.intel.com>
46881
46882 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46883 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46884 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46885 * Versions.def [GLIBC_2.13]: Add.
46886
805bc17d
UD
468872010-08-06 Ulrich Drepper <drepper@redhat.com>
46888
46889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46890 Also fail if tpwd after pwuid call is NULL.
46891
5a42321d
ST
468922010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46893
46894 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46895 when converting to ms.
46896
fd3ebeda
ST
468972010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46898
46899 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46900 EOPNOTSUPP errors with ENOTTY.
46901 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46902 EOPNOTSUPP errors with ENOTTY.
46903
73507d3a
UD
469042010-07-31 Ulrich Drepper <drepper@redhat.com>
46905
46906 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46907 Add strcasecmp_l-ssse3.
46908 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46909 strcasecmp.
46910 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46911 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46912 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46913
fe36dd02
UD
469142010-07-30 Ulrich Drepper <drepper@redhat.com>
46915
66f6765a
UD
46916 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46917
42e08a54
UD
46918 * string/Makefile (strop-tests): Add strcasecmp.
46919 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46920 strcasecmp_l-nonascii.
46921 (gen-as-const-headers): Add locale-defines.sym.
46922 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46923 * sysdeps/x86_64/strcasecmp.S: New file.
46924 * sysdeps/x86_64/strcasecmp_l.S: New file.
46925 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46926 * sysdeps/x86_64/locale-defines.sym: New file.
46927 * string/test-strcasecmp.c: New file.
46928
fe36dd02
UD
46929 * string/test-strcasestr.c: Test both ends of the range of characters.
46930 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46931
48cbc0d6
RM
469322010-07-29 Roland McGrath <roland@redhat.com>
46933
76e6d6bc 46934 [BZ #11856]
48cbc0d6
RM
46935 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46936
880113d9
UD
469372010-07-27 Ulrich Drepper <drepper@redhat.com>
46938
46939 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46940 for ld.so.
46941
deb9cabb
AS
469422010-07-27 Andreas Schwab <schwab@redhat.com>
46943
46944 * manual/memory.texi (Malloc Tunable Parameters): Document
46945 M_PERTURB.
46946
1c7570ff
RM
469472010-07-26 Roland McGrath <roland@redhat.com>
46948
46949 [BZ #11840]
46950 * configure.in (-fgnu89-inline check): Set and substitute
46951 gnu89_inline, not libc_cv_gnu89_inline.
46952 * configure: Regenerated.
46953 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46954
24fb0f88
UD
469552010-07-26 Ulrich Drepper <drepper@redhat.com>
46956
46957 * string/test-strnlen.c: New file.
46958 * string/Makefile (strop-tests): Add strnlen.
46959 * string/tester.c (test_strnlen): Add a few more test cases.
46960 * string/tst-strlen.c: Better error reporting.
46961
46962 * sysdeps/x86_64/strnlen.S: New file.
46963
8e96b93a
UD
469642010-07-24 Ulrich Drepper <drepper@redhat.com>
46965
46966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46967 lower-latency instructions.
46968
dbc676d4
UD
469692010-07-23 Ulrich Drepper <drepper@redhat.com>
46970
46971 * string/test-strcasestr.c: New file.
46972 * string/test-strstr.c: New file.
46973 * string/Makefile (strop-tests): Add strstr and strcasestr.
46974 * string/str-two-way.h: Don't undefine MAX.
46975 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46976
f6a31e0e
AS
469772010-07-21 Andreas Schwab <schwab@redhat.com>
46978
46979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46980 strcasestr-nonascii.
46981 (CFLAGS-strcasestr-nonascii.c): Define.
46982 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46983 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46984 Remove unused attribute.
46985
5dbc3b6c
RM
469862010-07-20 Roland McGrath <roland@redhat.com>
46987
46988 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46989 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46990 ld.so.cache was broken. With it, there is no way to disable dsocaps
46991 like LD_HWCAP_MASK can disable hwcaps.
46992
23d101d8
EPM
469932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46994
46995 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46996
cc9f2e47
UD
469972010-07-16 Ulrich Drepper <drepper@redhat.com>
46998
46999 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47000 call in strcasestr.
47001 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47002 __strcasestr_sse42_nonascii.
47003 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47004 strcasestr-nonascii.c.
47005 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47006
77c1b069
LM
470072010-06-15 Luis Machado <luisgpm@br.ibm.com>
47008
47009 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47011 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47013
440566c3
UD
470142010-07-09 Ulrich Drepper <drepper@redhat.com>
47015
47016 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47017 fcntl.
47018
5be9d05d
AS
470192010-07-06 Andreas Schwab <schwab@redhat.com>
47020
c30b7ee2 47021 [BZ #11577]
5be9d05d
AS
47022 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47023 dl_signal_cerror.
47024
8a492a67
UD
470252010-07-06 Ulrich Drepper <drepper@redhat.com>
47026
47027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47028 _PC_PIPE_BUF using F_GETPIPE_SZ.
47029
713df3d5
RM
470302010-07-05 Roland McGrath <roland@redhat.com>
47031
47032 * manual/arith.texi (Rounding Functions): Fix rint description
47033 implicit in round description.
47034
702e8f14
UD
470352010-07-02 Ulrich Drepper <drepper@redhat.com>
47036
47037 * elf/Makefile: Fix linking for a few tests to make recent linker
47038 happy.
47039
52ed8be9
AS
470402010-06-30 Andreas Schwab <schwab@redhat.com>
47041
47042 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47043 $(common-objpfx)libc_nonshared.a.
47044
f47c9a11
LM
470452010-06-21 Luis Machado <luisgpm@br.ibm.com>
47046
47047 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47048 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47049 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47050 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47051 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47052 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47053 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47054 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47069 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47070 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47071 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47072 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47073 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47074 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47075 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47076 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47077 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47078 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47079 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47080 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47095
6fb8cbcb
L
470962010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47097
47098 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47099 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47100 * string/memmove.c (memmove): Renamed to ...
47101 (MEMMOVE): ...this. Default to memmove.
47102 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47103 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47104 (END_CHK): Define.
47105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47106 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47107 mempcpy-ssse3-back memmove-ssse3-back.
47108 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47109 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47110 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47111 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47112 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47113 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47114 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47115 * sysdeps/x86_64/multiarch/memmove.c: New file.
47116 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47117 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47118 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47119 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47120 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47122 Define.
47123 (index_Fast_Copy_Backward): Define.
47124 (HAS_ARCH_FEATURE): Define.
47125 (HAS_FAST_REP_STRING): Define.
47126 (HAS_FAST_COPY_BACKWARD): Define.
47127
4e733bac 471282010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
47129
47130 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47131 Restore proper fallback handling.
47132
63c4ed22
UD
471332010-06-19 Ulrich Drepper <drepper@redhat.com>
47134
ac2b484c
UD
47135 [BZ #11701]
47136 * posix/group_member.c (__group_member): Correct checking loop.
47137
63c4ed22
UD
47138 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47139 OOM in getpwuid_r correctly. Return error number when the caller
47140 should return, otherwise -1.
47141 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47142 call returning > 0 value.
47143 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47144
765ade4b
AS
471452010-06-07 Andreas Schwab <schwab@redhat.com>
47146
47147 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47148 libc_nonshared.a from targets in modules-names.
47149
80da2e09
KS
471502010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47151
47152 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47153 requires it.
47154
158db122
LM
471552010-06-10 Luis Machado <luisgpm@br.ibm.com>
47156
47157 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47158 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47161
caa78cf8
AS
471622010-06-02 Andreas Schwab <schwab@redhat.com>
47163
47164 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47165
b2ef2c01
UD
471662010-06-14 Ulrich Drepper <drepper@redhat.com>
47167
47168 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47169 and F_GETPIPE_SZ.
47170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47176
fbd643b6
RM
471772010-06-14 Roland McGrath <roland@redhat.com>
47178
47179 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47180
f32f2869
JJ
471812010-06-07 Jakub Jelinek <jakub@redhat.com>
47182
47183 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47184 __REDIRECT followed by __THROW.
47185 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47186 * posix/getopt.h (getopt): Likewise.
47187
2a50c078
EPM
471882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47189
47190 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47191 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47192 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47193 in AT_FLAGS.
47194 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47195 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47196
eb5ad2eb
LM
471972010-05-28 Luis Machado <luisgpm@br.ibm.com>
47198
47199 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47200
3c88fe1e
L
472012010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47202
47203 [BZ #11640]
47204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47205 Properly check family and model.
47206
d2f73151
TY
472072010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47208
47209 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47210
ebd2e13d
LM
472112010-05-24 Luis Machado <luisgpm@br.ibm.com>
47212
47213 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47214
b32b8b45
UD
472152010-05-21 Ulrich Drepper <drepper@redhat.com>
47216
47217 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47218 symbol reference.
47219
9acbe24d
AS
472202010-05-19 Andreas Schwab <schwab@redhat.com>
47221
47222 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47223 symbol reference.
47224
f0ccf6ea
AS
472252010-05-21 Andreas Schwab <schwab@redhat.com>
47226
3d04ff3a
AS
47227 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47228 and internal_recvmmsg.
47229 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47230 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47231 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47232 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47233
f0ccf6ea
AS
47234 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47235 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47236 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47237
5b08ac57
AS
472382010-05-20 Andreas Schwab <schwab@redhat.com>
47239
47240 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47241
4828935d
LM
472422010-05-17 Luis Machado <luisgpm@br.ibm.com>
47243
47244 POWER7 optimizations.
47245 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47246 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47247
373d545e
UD
472482010-05-19 Ulrich Drepper <drepper@redhat.com>
47249
47250 * version.h: Update for 2.13 development version.
47251
21a2b1ae
AS
472522010-05-12 Andrew Stubbs <ams@codesourcery.com>
47253
47254 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47255 exceptions. Return 0.
47256
3f7dcb2b
RM
472572010-05-07 Roland McGrath <roland@redhat.com>
47258
47259 * elf/ldconfig.c (main): Add a const.
47260
5f24d53a 472612010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 47262
a160f8d8
UD
47263 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47264 (args_options): Add no-idn option.
47265 (ahosts_keys_int): Add idn_flags to ai_flags.
47266 (parse_option): Handle 'i' option to clear idn_flags.
47267
5f24d53a
UD
47268 * malloc/malloc.c (_int_free): Possible race in the most recently
47269 added check. Only act on the data if no current modification
47270 happened.
265bb1ce
UD
47271
47272See ChangeLog.17 for earlier changes.